@keystrokehq/shipengine 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (535) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-tag-to-shipment.cjs +1 -1
  4. package/dist/actions/add-tag-to-shipment.cjs.map +1 -1
  5. package/dist/actions/add-tag-to-shipment.d.cts +11 -3
  6. package/dist/actions/add-tag-to-shipment.d.cts.map +1 -1
  7. package/dist/actions/add-tag-to-shipment.d.mts +11 -3
  8. package/dist/actions/add-tag-to-shipment.d.mts.map +1 -1
  9. package/dist/actions/add-tag-to-shipment.mjs +1 -1
  10. package/dist/actions/add-tag-to-shipment.mjs.map +1 -1
  11. package/dist/actions/add-to-batch.cjs +1 -1
  12. package/dist/actions/add-to-batch.cjs.map +1 -1
  13. package/dist/actions/add-to-batch.d.cts +13 -3
  14. package/dist/actions/add-to-batch.d.cts.map +1 -1
  15. package/dist/actions/add-to-batch.d.mts +13 -3
  16. package/dist/actions/add-to-batch.d.mts.map +1 -1
  17. package/dist/actions/add-to-batch.mjs +1 -1
  18. package/dist/actions/add-to-batch.mjs.map +1 -1
  19. package/dist/actions/cancel-shipment.cjs +1 -1
  20. package/dist/actions/cancel-shipment.cjs.map +1 -1
  21. package/dist/actions/cancel-shipment.d.cts +9 -3
  22. package/dist/actions/cancel-shipment.d.cts.map +1 -1
  23. package/dist/actions/cancel-shipment.d.mts +9 -3
  24. package/dist/actions/cancel-shipment.d.mts.map +1 -1
  25. package/dist/actions/cancel-shipment.mjs +1 -1
  26. package/dist/actions/cancel-shipment.mjs.map +1 -1
  27. package/dist/actions/connect-ltl-carrier.cjs +2 -2
  28. package/dist/actions/connect-ltl-carrier.cjs.map +1 -1
  29. package/dist/actions/connect-ltl-carrier.d.cts +11 -3
  30. package/dist/actions/connect-ltl-carrier.d.cts.map +1 -1
  31. package/dist/actions/connect-ltl-carrier.d.mts +11 -3
  32. package/dist/actions/connect-ltl-carrier.d.mts.map +1 -1
  33. package/dist/actions/connect-ltl-carrier.mjs +2 -2
  34. package/dist/actions/connect-ltl-carrier.mjs.map +1 -1
  35. package/dist/actions/connect-shipsurance.cjs +1 -1
  36. package/dist/actions/connect-shipsurance.cjs.map +1 -1
  37. package/dist/actions/connect-shipsurance.d.cts +9 -3
  38. package/dist/actions/connect-shipsurance.d.cts.map +1 -1
  39. package/dist/actions/connect-shipsurance.d.mts +9 -3
  40. package/dist/actions/connect-shipsurance.d.mts.map +1 -1
  41. package/dist/actions/connect-shipsurance.mjs +1 -1
  42. package/dist/actions/connect-shipsurance.mjs.map +1 -1
  43. package/dist/actions/create-account-image.cjs +1 -1
  44. package/dist/actions/create-account-image.cjs.map +1 -1
  45. package/dist/actions/create-account-image.d.cts +22 -3
  46. package/dist/actions/create-account-image.d.cts.map +1 -1
  47. package/dist/actions/create-account-image.d.mts +22 -3
  48. package/dist/actions/create-account-image.d.mts.map +1 -1
  49. package/dist/actions/create-account-image.mjs +1 -1
  50. package/dist/actions/create-account-image.mjs.map +1 -1
  51. package/dist/actions/create-package-type.cjs +8 -8
  52. package/dist/actions/create-package-type.cjs.map +1 -1
  53. package/dist/actions/create-package-type.d.cts +40 -3
  54. package/dist/actions/create-package-type.d.cts.map +1 -1
  55. package/dist/actions/create-package-type.d.mts +40 -3
  56. package/dist/actions/create-package-type.d.mts.map +1 -1
  57. package/dist/actions/create-package-type.mjs +8 -8
  58. package/dist/actions/create-package-type.mjs.map +1 -1
  59. package/dist/actions/create-tag.cjs +1 -1
  60. package/dist/actions/create-tag.cjs.map +1 -1
  61. package/dist/actions/create-tag.d.cts +11 -3
  62. package/dist/actions/create-tag.d.cts.map +1 -1
  63. package/dist/actions/create-tag.d.mts +11 -3
  64. package/dist/actions/create-tag.d.mts.map +1 -1
  65. package/dist/actions/create-tag.mjs +1 -1
  66. package/dist/actions/create-tag.mjs.map +1 -1
  67. package/dist/actions/create-tag2.cjs +2 -2
  68. package/dist/actions/create-tag2.cjs.map +1 -1
  69. package/dist/actions/create-tag2.d.cts +11 -3
  70. package/dist/actions/create-tag2.d.cts.map +1 -1
  71. package/dist/actions/create-tag2.d.mts +11 -3
  72. package/dist/actions/create-tag2.d.mts.map +1 -1
  73. package/dist/actions/create-tag2.mjs +2 -2
  74. package/dist/actions/create-tag2.mjs.map +1 -1
  75. package/dist/actions/create-warehouse.cjs +11 -11
  76. package/dist/actions/create-warehouse.cjs.map +1 -1
  77. package/dist/actions/create-warehouse.d.cts +108 -3
  78. package/dist/actions/create-warehouse.d.cts.map +1 -1
  79. package/dist/actions/create-warehouse.d.mts +108 -3
  80. package/dist/actions/create-warehouse.d.mts.map +1 -1
  81. package/dist/actions/create-warehouse.mjs +11 -11
  82. package/dist/actions/create-warehouse.mjs.map +1 -1
  83. package/dist/actions/create-webhook.cjs +6 -6
  84. package/dist/actions/create-webhook.cjs.map +1 -1
  85. package/dist/actions/create-webhook.d.cts +17 -3
  86. package/dist/actions/create-webhook.d.cts.map +1 -1
  87. package/dist/actions/create-webhook.d.mts +17 -3
  88. package/dist/actions/create-webhook.d.mts.map +1 -1
  89. package/dist/actions/create-webhook.mjs +6 -6
  90. package/dist/actions/create-webhook.mjs.map +1 -1
  91. package/dist/actions/delete-account-image-by-id.cjs +3 -3
  92. package/dist/actions/delete-account-image-by-id.cjs.map +1 -1
  93. package/dist/actions/delete-account-image-by-id.d.cts +10 -3
  94. package/dist/actions/delete-account-image-by-id.d.cts.map +1 -1
  95. package/dist/actions/delete-account-image-by-id.d.mts +10 -3
  96. package/dist/actions/delete-account-image-by-id.d.mts.map +1 -1
  97. package/dist/actions/delete-account-image-by-id.mjs +3 -3
  98. package/dist/actions/delete-account-image-by-id.mjs.map +1 -1
  99. package/dist/actions/delete-batch.cjs +1 -1
  100. package/dist/actions/delete-batch.cjs.map +1 -1
  101. package/dist/actions/delete-batch.d.cts +9 -3
  102. package/dist/actions/delete-batch.d.cts.map +1 -1
  103. package/dist/actions/delete-batch.d.mts +9 -3
  104. package/dist/actions/delete-batch.d.mts.map +1 -1
  105. package/dist/actions/delete-batch.mjs +1 -1
  106. package/dist/actions/delete-batch.mjs.map +1 -1
  107. package/dist/actions/delete-package.cjs +1 -1
  108. package/dist/actions/delete-package.cjs.map +1 -1
  109. package/dist/actions/delete-package.d.cts +10 -3
  110. package/dist/actions/delete-package.d.cts.map +1 -1
  111. package/dist/actions/delete-package.d.mts +10 -3
  112. package/dist/actions/delete-package.d.mts.map +1 -1
  113. package/dist/actions/delete-package.mjs +1 -1
  114. package/dist/actions/delete-package.mjs.map +1 -1
  115. package/dist/actions/delete-warehouse.cjs +1 -1
  116. package/dist/actions/delete-warehouse.cjs.map +1 -1
  117. package/dist/actions/delete-warehouse.d.cts +10 -3
  118. package/dist/actions/delete-warehouse.d.cts.map +1 -1
  119. package/dist/actions/delete-warehouse.d.mts +10 -3
  120. package/dist/actions/delete-warehouse.d.mts.map +1 -1
  121. package/dist/actions/delete-warehouse.mjs +1 -1
  122. package/dist/actions/delete-warehouse.mjs.map +1 -1
  123. package/dist/actions/delete-webhook.cjs +3 -3
  124. package/dist/actions/delete-webhook.cjs.map +1 -1
  125. package/dist/actions/delete-webhook.d.cts +10 -3
  126. package/dist/actions/delete-webhook.d.cts.map +1 -1
  127. package/dist/actions/delete-webhook.d.mts +10 -3
  128. package/dist/actions/delete-webhook.d.mts.map +1 -1
  129. package/dist/actions/delete-webhook.mjs +3 -3
  130. package/dist/actions/delete-webhook.mjs.map +1 -1
  131. package/dist/actions/disconnect-carrier.cjs +1 -1
  132. package/dist/actions/disconnect-carrier.cjs.map +1 -1
  133. package/dist/actions/disconnect-carrier.d.cts +40 -3
  134. package/dist/actions/disconnect-carrier.d.cts.map +1 -1
  135. package/dist/actions/disconnect-carrier.d.mts +40 -3
  136. package/dist/actions/disconnect-carrier.d.mts.map +1 -1
  137. package/dist/actions/disconnect-carrier.mjs +1 -1
  138. package/dist/actions/disconnect-carrier.mjs.map +1 -1
  139. package/dist/actions/disconnect-shipsurance.cjs +1 -1
  140. package/dist/actions/disconnect-shipsurance.cjs.map +1 -1
  141. package/dist/actions/disconnect-shipsurance.d.cts +3 -3
  142. package/dist/actions/disconnect-shipsurance.d.cts.map +1 -1
  143. package/dist/actions/disconnect-shipsurance.d.mts +3 -3
  144. package/dist/actions/disconnect-shipsurance.d.mts.map +1 -1
  145. package/dist/actions/disconnect-shipsurance.mjs +1 -1
  146. package/dist/actions/disconnect-shipsurance.mjs.map +1 -1
  147. package/dist/actions/download-file.cjs +5 -5
  148. package/dist/actions/download-file.cjs.map +1 -1
  149. package/dist/actions/download-file.d.cts +21 -3
  150. package/dist/actions/download-file.d.cts.map +1 -1
  151. package/dist/actions/download-file.d.mts +21 -3
  152. package/dist/actions/download-file.d.mts.map +1 -1
  153. package/dist/actions/download-file.mjs +5 -5
  154. package/dist/actions/download-file.mjs.map +1 -1
  155. package/dist/actions/get-account-image-by-id.cjs +4 -4
  156. package/dist/actions/get-account-image-by-id.cjs.map +1 -1
  157. package/dist/actions/get-account-image-by-id.d.cts +15 -3
  158. package/dist/actions/get-account-image-by-id.d.cts.map +1 -1
  159. package/dist/actions/get-account-image-by-id.d.mts +15 -3
  160. package/dist/actions/get-account-image-by-id.d.mts.map +1 -1
  161. package/dist/actions/get-account-image-by-id.mjs +4 -4
  162. package/dist/actions/get-account-image-by-id.mjs.map +1 -1
  163. package/dist/actions/get-batch-by-external-id.cjs +19 -19
  164. package/dist/actions/get-batch-by-external-id.cjs.map +1 -1
  165. package/dist/actions/get-batch-by-external-id.d.cts +29 -3
  166. package/dist/actions/get-batch-by-external-id.d.cts.map +1 -1
  167. package/dist/actions/get-batch-by-external-id.d.mts +29 -3
  168. package/dist/actions/get-batch-by-external-id.d.mts.map +1 -1
  169. package/dist/actions/get-batch-by-external-id.mjs +19 -19
  170. package/dist/actions/get-batch-by-external-id.mjs.map +1 -1
  171. package/dist/actions/get-batch-by-id.cjs +7 -7
  172. package/dist/actions/get-batch-by-id.cjs.map +1 -1
  173. package/dist/actions/get-batch-by-id.d.cts +42 -3
  174. package/dist/actions/get-batch-by-id.d.cts.map +1 -1
  175. package/dist/actions/get-batch-by-id.d.mts +42 -3
  176. package/dist/actions/get-batch-by-id.d.mts.map +1 -1
  177. package/dist/actions/get-batch-by-id.mjs +7 -7
  178. package/dist/actions/get-batch-by-id.mjs.map +1 -1
  179. package/dist/actions/get-batch-errors.cjs +4 -4
  180. package/dist/actions/get-batch-errors.cjs.map +1 -1
  181. package/dist/actions/get-batch-errors.d.cts +31 -3
  182. package/dist/actions/get-batch-errors.d.cts.map +1 -1
  183. package/dist/actions/get-batch-errors.d.mts +31 -3
  184. package/dist/actions/get-batch-errors.d.mts.map +1 -1
  185. package/dist/actions/get-batch-errors.mjs +4 -4
  186. package/dist/actions/get-batch-errors.mjs.map +1 -1
  187. package/dist/actions/get-bulk-rates.cjs +11 -11
  188. package/dist/actions/get-bulk-rates.cjs.map +1 -1
  189. package/dist/actions/get-bulk-rates.d.cts +172 -3
  190. package/dist/actions/get-bulk-rates.d.cts.map +1 -1
  191. package/dist/actions/get-bulk-rates.d.mts +172 -3
  192. package/dist/actions/get-bulk-rates.d.mts.map +1 -1
  193. package/dist/actions/get-bulk-rates.mjs +11 -11
  194. package/dist/actions/get-bulk-rates.mjs.map +1 -1
  195. package/dist/actions/get-insurance-balance.cjs +4 -4
  196. package/dist/actions/get-insurance-balance.cjs.map +1 -1
  197. package/dist/actions/get-insurance-balance.d.cts +9 -3
  198. package/dist/actions/get-insurance-balance.d.cts.map +1 -1
  199. package/dist/actions/get-insurance-balance.d.mts +9 -3
  200. package/dist/actions/get-insurance-balance.d.mts.map +1 -1
  201. package/dist/actions/get-insurance-balance.mjs +4 -4
  202. package/dist/actions/get-insurance-balance.mjs.map +1 -1
  203. package/dist/actions/get-ltl-carrier-credential-requirements.cjs +2 -2
  204. package/dist/actions/get-ltl-carrier-credential-requirements.cjs.map +1 -1
  205. package/dist/actions/get-ltl-carrier-credential-requirements.d.cts +13 -3
  206. package/dist/actions/get-ltl-carrier-credential-requirements.d.cts.map +1 -1
  207. package/dist/actions/get-ltl-carrier-credential-requirements.d.mts +13 -3
  208. package/dist/actions/get-ltl-carrier-credential-requirements.d.mts.map +1 -1
  209. package/dist/actions/get-ltl-carrier-credential-requirements.mjs +2 -2
  210. package/dist/actions/get-ltl-carrier-credential-requirements.mjs.map +1 -1
  211. package/dist/actions/get-ltl-carrier-features.cjs +1 -1
  212. package/dist/actions/get-ltl-carrier-features.cjs.map +1 -1
  213. package/dist/actions/get-ltl-carrier-features.d.cts +17 -3
  214. package/dist/actions/get-ltl-carrier-features.d.cts.map +1 -1
  215. package/dist/actions/get-ltl-carrier-features.d.mts +17 -3
  216. package/dist/actions/get-ltl-carrier-features.d.mts.map +1 -1
  217. package/dist/actions/get-ltl-carrier-features.mjs +1 -1
  218. package/dist/actions/get-ltl-carrier-features.mjs.map +1 -1
  219. package/dist/actions/get-ltl-carrier-options.cjs +3 -3
  220. package/dist/actions/get-ltl-carrier-options.cjs.map +1 -1
  221. package/dist/actions/get-ltl-carrier-options.d.cts +17 -3
  222. package/dist/actions/get-ltl-carrier-options.d.cts.map +1 -1
  223. package/dist/actions/get-ltl-carrier-options.d.mts +17 -3
  224. package/dist/actions/get-ltl-carrier-options.d.mts.map +1 -1
  225. package/dist/actions/get-ltl-carrier-options.mjs +3 -3
  226. package/dist/actions/get-ltl-carrier-options.mjs.map +1 -1
  227. package/dist/actions/get-ltl-carrier-packages.cjs +4 -4
  228. package/dist/actions/get-ltl-carrier-packages.cjs.map +1 -1
  229. package/dist/actions/get-ltl-carrier-packages.d.cts +13 -3
  230. package/dist/actions/get-ltl-carrier-packages.d.cts.map +1 -1
  231. package/dist/actions/get-ltl-carrier-packages.d.mts +13 -3
  232. package/dist/actions/get-ltl-carrier-packages.d.mts.map +1 -1
  233. package/dist/actions/get-ltl-carrier-packages.mjs +4 -4
  234. package/dist/actions/get-ltl-carrier-packages.mjs.map +1 -1
  235. package/dist/actions/get-ltl-carrier-services.cjs +2 -2
  236. package/dist/actions/get-ltl-carrier-services.cjs.map +1 -1
  237. package/dist/actions/get-ltl-carrier-services.d.cts +13 -3
  238. package/dist/actions/get-ltl-carrier-services.d.cts.map +1 -1
  239. package/dist/actions/get-ltl-carrier-services.d.mts +13 -3
  240. package/dist/actions/get-ltl-carrier-services.d.mts.map +1 -1
  241. package/dist/actions/get-ltl-carrier-services.mjs +2 -2
  242. package/dist/actions/get-ltl-carrier-services.mjs.map +1 -1
  243. package/dist/actions/get-package-by-id.cjs +5 -5
  244. package/dist/actions/get-package-by-id.cjs.map +1 -1
  245. package/dist/actions/get-package-by-id.d.cts +18 -3
  246. package/dist/actions/get-package-by-id.d.cts.map +1 -1
  247. package/dist/actions/get-package-by-id.d.mts +18 -3
  248. package/dist/actions/get-package-by-id.d.mts.map +1 -1
  249. package/dist/actions/get-package-by-id.mjs +5 -5
  250. package/dist/actions/get-package-by-id.mjs.map +1 -1
  251. package/dist/actions/get-shipment-by-external-id.cjs +20 -20
  252. package/dist/actions/get-shipment-by-external-id.cjs.map +1 -1
  253. package/dist/actions/get-shipment-by-external-id.d.cts +137 -3
  254. package/dist/actions/get-shipment-by-external-id.d.cts.map +1 -1
  255. package/dist/actions/get-shipment-by-external-id.d.mts +137 -3
  256. package/dist/actions/get-shipment-by-external-id.d.mts.map +1 -1
  257. package/dist/actions/get-shipment-by-external-id.mjs +20 -20
  258. package/dist/actions/get-shipment-by-external-id.mjs.map +1 -1
  259. package/dist/actions/get-shipment-by-id.cjs +27 -27
  260. package/dist/actions/get-shipment-by-id.cjs.map +1 -1
  261. package/dist/actions/get-shipment-by-id.d.cts +128 -3
  262. package/dist/actions/get-shipment-by-id.d.cts.map +1 -1
  263. package/dist/actions/get-shipment-by-id.d.mts +128 -3
  264. package/dist/actions/get-shipment-by-id.d.mts.map +1 -1
  265. package/dist/actions/get-shipment-by-id.mjs +27 -27
  266. package/dist/actions/get-shipment-by-id.mjs.map +1 -1
  267. package/dist/actions/get-shipment-rates.cjs +7 -7
  268. package/dist/actions/get-shipment-rates.cjs.map +1 -1
  269. package/dist/actions/get-shipment-rates.d.cts +104 -3
  270. package/dist/actions/get-shipment-rates.d.cts.map +1 -1
  271. package/dist/actions/get-shipment-rates.d.mts +104 -3
  272. package/dist/actions/get-shipment-rates.d.mts.map +1 -1
  273. package/dist/actions/get-shipment-rates.mjs +7 -7
  274. package/dist/actions/get-shipment-rates.mjs.map +1 -1
  275. package/dist/actions/get-tracking-info.cjs +7 -7
  276. package/dist/actions/get-tracking-info.cjs.map +1 -1
  277. package/dist/actions/get-tracking-info.d.cts +44 -3
  278. package/dist/actions/get-tracking-info.d.cts.map +1 -1
  279. package/dist/actions/get-tracking-info.d.mts +44 -3
  280. package/dist/actions/get-tracking-info.d.mts.map +1 -1
  281. package/dist/actions/get-tracking-info.mjs +7 -7
  282. package/dist/actions/get-tracking-info.mjs.map +1 -1
  283. package/dist/actions/get-warehouse-by-id.cjs +10 -10
  284. package/dist/actions/get-warehouse-by-id.cjs.map +1 -1
  285. package/dist/actions/get-warehouse-by-id.d.cts +46 -3
  286. package/dist/actions/get-warehouse-by-id.d.cts.map +1 -1
  287. package/dist/actions/get-warehouse-by-id.d.mts +46 -3
  288. package/dist/actions/get-warehouse-by-id.d.mts.map +1 -1
  289. package/dist/actions/get-warehouse-by-id.mjs +10 -10
  290. package/dist/actions/get-warehouse-by-id.mjs.map +1 -1
  291. package/dist/actions/get-webhook-by-id.cjs +7 -7
  292. package/dist/actions/get-webhook-by-id.cjs.map +1 -1
  293. package/dist/actions/get-webhook-by-id.d.cts +17 -3
  294. package/dist/actions/get-webhook-by-id.d.cts.map +1 -1
  295. package/dist/actions/get-webhook-by-id.d.mts +17 -3
  296. package/dist/actions/get-webhook-by-id.d.mts.map +1 -1
  297. package/dist/actions/get-webhook-by-id.mjs +7 -7
  298. package/dist/actions/get-webhook-by-id.mjs.map +1 -1
  299. package/dist/actions/list-account-images.cjs +2 -2
  300. package/dist/actions/list-account-images.cjs.map +1 -1
  301. package/dist/actions/list-account-images.d.cts +13 -3
  302. package/dist/actions/list-account-images.d.cts.map +1 -1
  303. package/dist/actions/list-account-images.d.mts +13 -3
  304. package/dist/actions/list-account-images.d.mts.map +1 -1
  305. package/dist/actions/list-account-images.mjs +2 -2
  306. package/dist/actions/list-account-images.mjs.map +1 -1
  307. package/dist/actions/list-account-settings.cjs.map +1 -1
  308. package/dist/actions/list-account-settings.d.cts +3 -3
  309. package/dist/actions/list-account-settings.d.cts.map +1 -1
  310. package/dist/actions/list-account-settings.d.mts +3 -3
  311. package/dist/actions/list-account-settings.d.mts.map +1 -1
  312. package/dist/actions/list-account-settings.mjs.map +1 -1
  313. package/dist/actions/list-batches2.cjs +15 -15
  314. package/dist/actions/list-batches2.cjs.map +1 -1
  315. package/dist/actions/list-batches2.d.cts +71 -3
  316. package/dist/actions/list-batches2.d.cts.map +1 -1
  317. package/dist/actions/list-batches2.d.mts +71 -3
  318. package/dist/actions/list-batches2.d.mts.map +1 -1
  319. package/dist/actions/list-batches2.mjs +15 -15
  320. package/dist/actions/list-batches2.mjs.map +1 -1
  321. package/dist/actions/list-carrier-package-types.cjs +5 -5
  322. package/dist/actions/list-carrier-package-types.cjs.map +1 -1
  323. package/dist/actions/list-carrier-package-types.d.cts +20 -3
  324. package/dist/actions/list-carrier-package-types.d.cts.map +1 -1
  325. package/dist/actions/list-carrier-package-types.d.mts +20 -3
  326. package/dist/actions/list-carrier-package-types.d.mts.map +1 -1
  327. package/dist/actions/list-carrier-package-types.mjs +5 -5
  328. package/dist/actions/list-carrier-package-types.mjs.map +1 -1
  329. package/dist/actions/list-labels2.cjs +12 -12
  330. package/dist/actions/list-labels2.cjs.map +1 -1
  331. package/dist/actions/list-labels2.d.cts +215 -3
  332. package/dist/actions/list-labels2.d.cts.map +1 -1
  333. package/dist/actions/list-labels2.d.mts +215 -3
  334. package/dist/actions/list-labels2.d.mts.map +1 -1
  335. package/dist/actions/list-labels2.mjs +12 -12
  336. package/dist/actions/list-labels2.mjs.map +1 -1
  337. package/dist/actions/list-ltl-carriers.cjs +10 -10
  338. package/dist/actions/list-ltl-carriers.cjs.map +1 -1
  339. package/dist/actions/list-ltl-carriers.d.cts +38 -3
  340. package/dist/actions/list-ltl-carriers.d.cts.map +1 -1
  341. package/dist/actions/list-ltl-carriers.d.mts +38 -3
  342. package/dist/actions/list-ltl-carriers.d.mts.map +1 -1
  343. package/dist/actions/list-ltl-carriers.mjs +10 -10
  344. package/dist/actions/list-ltl-carriers.mjs.map +1 -1
  345. package/dist/actions/list-manifests2.cjs +8 -8
  346. package/dist/actions/list-manifests2.cjs.map +1 -1
  347. package/dist/actions/list-manifests2.d.cts +58 -3
  348. package/dist/actions/list-manifests2.d.cts.map +1 -1
  349. package/dist/actions/list-manifests2.d.mts +58 -3
  350. package/dist/actions/list-manifests2.d.mts.map +1 -1
  351. package/dist/actions/list-manifests2.mjs +8 -8
  352. package/dist/actions/list-manifests2.mjs.map +1 -1
  353. package/dist/actions/list-packages.cjs +7 -7
  354. package/dist/actions/list-packages.cjs.map +1 -1
  355. package/dist/actions/list-packages.d.cts +30 -3
  356. package/dist/actions/list-packages.d.cts.map +1 -1
  357. package/dist/actions/list-packages.d.mts +30 -3
  358. package/dist/actions/list-packages.d.mts.map +1 -1
  359. package/dist/actions/list-packages.mjs +7 -7
  360. package/dist/actions/list-packages.mjs.map +1 -1
  361. package/dist/actions/list-pickups.cjs +10 -10
  362. package/dist/actions/list-pickups.cjs.map +1 -1
  363. package/dist/actions/list-pickups.d.cts +67 -3
  364. package/dist/actions/list-pickups.d.cts.map +1 -1
  365. package/dist/actions/list-pickups.d.mts +67 -3
  366. package/dist/actions/list-pickups.d.mts.map +1 -1
  367. package/dist/actions/list-pickups.mjs +10 -10
  368. package/dist/actions/list-pickups.mjs.map +1 -1
  369. package/dist/actions/list-shipments2.cjs +16 -16
  370. package/dist/actions/list-shipments2.cjs.map +1 -1
  371. package/dist/actions/list-shipments2.d.cts +152 -3
  372. package/dist/actions/list-shipments2.d.cts.map +1 -1
  373. package/dist/actions/list-shipments2.d.mts +152 -3
  374. package/dist/actions/list-shipments2.d.mts.map +1 -1
  375. package/dist/actions/list-shipments2.mjs +16 -16
  376. package/dist/actions/list-shipments2.mjs.map +1 -1
  377. package/dist/actions/list-tags2.cjs +3 -3
  378. package/dist/actions/list-tags2.cjs.map +1 -1
  379. package/dist/actions/list-tags2.d.cts +9 -3
  380. package/dist/actions/list-tags2.d.cts.map +1 -1
  381. package/dist/actions/list-tags2.d.mts +9 -3
  382. package/dist/actions/list-tags2.d.mts.map +1 -1
  383. package/dist/actions/list-tags2.mjs +3 -3
  384. package/dist/actions/list-tags2.mjs.map +1 -1
  385. package/dist/actions/list-warehouses.cjs +11 -11
  386. package/dist/actions/list-warehouses.cjs.map +1 -1
  387. package/dist/actions/list-warehouses.d.cts +32 -3
  388. package/dist/actions/list-warehouses.d.cts.map +1 -1
  389. package/dist/actions/list-warehouses.d.mts +32 -3
  390. package/dist/actions/list-warehouses.d.mts.map +1 -1
  391. package/dist/actions/list-warehouses.mjs +11 -11
  392. package/dist/actions/list-warehouses.mjs.map +1 -1
  393. package/dist/actions/list-webhook-events.cjs +4 -4
  394. package/dist/actions/list-webhook-events.cjs.map +1 -1
  395. package/dist/actions/list-webhook-events.d.cts +8 -3
  396. package/dist/actions/list-webhook-events.d.cts.map +1 -1
  397. package/dist/actions/list-webhook-events.d.mts +8 -3
  398. package/dist/actions/list-webhook-events.d.mts.map +1 -1
  399. package/dist/actions/list-webhook-events.mjs +4 -4
  400. package/dist/actions/list-webhook-events.mjs.map +1 -1
  401. package/dist/actions/list-webhooks.cjs +8 -8
  402. package/dist/actions/list-webhooks.cjs.map +1 -1
  403. package/dist/actions/list-webhooks.d.cts +15 -3
  404. package/dist/actions/list-webhooks.d.cts.map +1 -1
  405. package/dist/actions/list-webhooks.d.mts +15 -3
  406. package/dist/actions/list-webhooks.d.mts.map +1 -1
  407. package/dist/actions/list-webhooks.mjs +8 -8
  408. package/dist/actions/list-webhooks.mjs.map +1 -1
  409. package/dist/actions/parse-address.cjs +9 -9
  410. package/dist/actions/parse-address.cjs.map +1 -1
  411. package/dist/actions/parse-address.d.cts +59 -3
  412. package/dist/actions/parse-address.d.cts.map +1 -1
  413. package/dist/actions/parse-address.d.mts +59 -3
  414. package/dist/actions/parse-address.d.mts.map +1 -1
  415. package/dist/actions/parse-address.mjs +9 -9
  416. package/dist/actions/parse-address.mjs.map +1 -1
  417. package/dist/actions/process-batch-labels.cjs +1 -1
  418. package/dist/actions/process-batch-labels.cjs.map +1 -1
  419. package/dist/actions/process-batch-labels.d.cts +28 -3
  420. package/dist/actions/process-batch-labels.d.cts.map +1 -1
  421. package/dist/actions/process-batch-labels.d.mts +28 -3
  422. package/dist/actions/process-batch-labels.d.mts.map +1 -1
  423. package/dist/actions/process-batch-labels.mjs +1 -1
  424. package/dist/actions/process-batch-labels.mjs.map +1 -1
  425. package/dist/actions/remove-from-batch.cjs +1 -1
  426. package/dist/actions/remove-from-batch.cjs.map +1 -1
  427. package/dist/actions/remove-from-batch.d.cts +13 -3
  428. package/dist/actions/remove-from-batch.d.cts.map +1 -1
  429. package/dist/actions/remove-from-batch.d.mts +13 -3
  430. package/dist/actions/remove-from-batch.d.mts.map +1 -1
  431. package/dist/actions/remove-from-batch.mjs +1 -1
  432. package/dist/actions/remove-from-batch.mjs.map +1 -1
  433. package/dist/actions/remove-tag-from-shipment.cjs +1 -1
  434. package/dist/actions/remove-tag-from-shipment.cjs.map +1 -1
  435. package/dist/actions/remove-tag-from-shipment.d.cts +11 -3
  436. package/dist/actions/remove-tag-from-shipment.d.cts.map +1 -1
  437. package/dist/actions/remove-tag-from-shipment.d.mts +11 -3
  438. package/dist/actions/remove-tag-from-shipment.d.mts.map +1 -1
  439. package/dist/actions/remove-tag-from-shipment.mjs +1 -1
  440. package/dist/actions/remove-tag-from-shipment.mjs.map +1 -1
  441. package/dist/actions/start-tracking.cjs +3 -3
  442. package/dist/actions/start-tracking.cjs.map +1 -1
  443. package/dist/actions/start-tracking.d.cts +14 -3
  444. package/dist/actions/start-tracking.d.cts.map +1 -1
  445. package/dist/actions/start-tracking.d.mts +14 -3
  446. package/dist/actions/start-tracking.d.mts.map +1 -1
  447. package/dist/actions/start-tracking.mjs +3 -3
  448. package/dist/actions/start-tracking.mjs.map +1 -1
  449. package/dist/actions/stop-tracking.cjs +1 -1
  450. package/dist/actions/stop-tracking.cjs.map +1 -1
  451. package/dist/actions/stop-tracking.d.cts +12 -3
  452. package/dist/actions/stop-tracking.d.cts.map +1 -1
  453. package/dist/actions/stop-tracking.d.mts +12 -3
  454. package/dist/actions/stop-tracking.d.mts.map +1 -1
  455. package/dist/actions/stop-tracking.mjs +1 -1
  456. package/dist/actions/stop-tracking.mjs.map +1 -1
  457. package/dist/actions/track-ltl-shipment.cjs +2 -2
  458. package/dist/actions/track-ltl-shipment.cjs.map +1 -1
  459. package/dist/actions/track-ltl-shipment.d.cts +37 -3
  460. package/dist/actions/track-ltl-shipment.d.cts.map +1 -1
  461. package/dist/actions/track-ltl-shipment.d.mts +37 -3
  462. package/dist/actions/track-ltl-shipment.d.mts.map +1 -1
  463. package/dist/actions/track-ltl-shipment.mjs +2 -2
  464. package/dist/actions/track-ltl-shipment.mjs.map +1 -1
  465. package/dist/actions/update-account-image-by-id.cjs +1 -1
  466. package/dist/actions/update-account-image-by-id.cjs.map +1 -1
  467. package/dist/actions/update-account-image-by-id.d.cts +15 -3
  468. package/dist/actions/update-account-image-by-id.d.cts.map +1 -1
  469. package/dist/actions/update-account-image-by-id.d.mts +15 -3
  470. package/dist/actions/update-account-image-by-id.d.mts.map +1 -1
  471. package/dist/actions/update-account-image-by-id.mjs +1 -1
  472. package/dist/actions/update-account-image-by-id.mjs.map +1 -1
  473. package/dist/actions/update-ltl-connection.cjs +2 -2
  474. package/dist/actions/update-ltl-connection.cjs.map +1 -1
  475. package/dist/actions/update-ltl-connection.d.cts +13 -3
  476. package/dist/actions/update-ltl-connection.d.cts.map +1 -1
  477. package/dist/actions/update-ltl-connection.d.mts +13 -3
  478. package/dist/actions/update-ltl-connection.d.mts.map +1 -1
  479. package/dist/actions/update-ltl-connection.mjs +2 -2
  480. package/dist/actions/update-ltl-connection.mjs.map +1 -1
  481. package/dist/actions/update-package.cjs +3 -3
  482. package/dist/actions/update-package.cjs.map +1 -1
  483. package/dist/actions/update-package.d.cts +31 -3
  484. package/dist/actions/update-package.d.cts.map +1 -1
  485. package/dist/actions/update-package.d.mts +31 -3
  486. package/dist/actions/update-package.d.mts.map +1 -1
  487. package/dist/actions/update-package.mjs +3 -3
  488. package/dist/actions/update-package.mjs.map +1 -1
  489. package/dist/actions/update-shipment.cjs +40 -40
  490. package/dist/actions/update-shipment.cjs.map +1 -1
  491. package/dist/actions/update-shipment.d.cts +431 -3
  492. package/dist/actions/update-shipment.d.cts.map +1 -1
  493. package/dist/actions/update-shipment.d.mts +431 -3
  494. package/dist/actions/update-shipment.d.mts.map +1 -1
  495. package/dist/actions/update-shipment.mjs +40 -40
  496. package/dist/actions/update-shipment.mjs.map +1 -1
  497. package/dist/actions/update-shipments-tags.cjs +2 -2
  498. package/dist/actions/update-shipments-tags.cjs.map +1 -1
  499. package/dist/actions/update-shipments-tags.d.cts +17 -3
  500. package/dist/actions/update-shipments-tags.d.cts.map +1 -1
  501. package/dist/actions/update-shipments-tags.d.mts +17 -3
  502. package/dist/actions/update-shipments-tags.d.mts.map +1 -1
  503. package/dist/actions/update-shipments-tags.mjs +2 -2
  504. package/dist/actions/update-shipments-tags.mjs.map +1 -1
  505. package/dist/actions/update-warehouse.cjs +3 -3
  506. package/dist/actions/update-warehouse.cjs.map +1 -1
  507. package/dist/actions/update-warehouse.d.cts +74 -3
  508. package/dist/actions/update-warehouse.d.cts.map +1 -1
  509. package/dist/actions/update-warehouse.d.mts +74 -3
  510. package/dist/actions/update-warehouse.d.mts.map +1 -1
  511. package/dist/actions/update-warehouse.mjs +3 -3
  512. package/dist/actions/update-warehouse.mjs.map +1 -1
  513. package/dist/actions/update-webhook.cjs +2 -2
  514. package/dist/actions/update-webhook.cjs.map +1 -1
  515. package/dist/actions/update-webhook.d.cts +24 -3
  516. package/dist/actions/update-webhook.d.cts.map +1 -1
  517. package/dist/actions/update-webhook.d.mts +24 -3
  518. package/dist/actions/update-webhook.d.mts.map +1 -1
  519. package/dist/actions/update-webhook.mjs +2 -2
  520. package/dist/actions/update-webhook.mjs.map +1 -1
  521. package/dist/actions/validate-address.cjs +9 -9
  522. package/dist/actions/validate-address.cjs.map +1 -1
  523. package/dist/actions/validate-address.d.cts +87 -3
  524. package/dist/actions/validate-address.d.cts.map +1 -1
  525. package/dist/actions/validate-address.d.mts +87 -3
  526. package/dist/actions/validate-address.d.mts.map +1 -1
  527. package/dist/actions/validate-address.mjs +9 -9
  528. package/dist/actions/validate-address.mjs.map +1 -1
  529. package/dist/catalog.cjs +7 -1
  530. package/dist/catalog.cjs.map +1 -1
  531. package/dist/catalog.d.cts +8 -0
  532. package/dist/catalog.d.mts +8 -0
  533. package/dist/catalog.mjs +7 -1
  534. package/dist/catalog.mjs.map +1 -1
  535. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"update-account-image-by-id.cjs","names":["z","action"],"sources":["../../src/actions/update-account-image-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdateAccountImageByIdInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name or description for the image\").optional(),\n image_data: z.string().describe(\"Base64-encoded image data to update the image content\").optional(),\n is_default: z.boolean().describe(\"Whether this image should be set as the default account image\"),\n label_image_id: z.string().describe(\"Unique identifier of the label image to update, must begin with 'img_'\"),\n}).describe(\"Request schema for updating an account image in ShipEngine.\");\nexport const ShipengineUpdateAccountImageByIdOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update operation was successful\").nullable().optional(),\n}).describe(\"Response schema after updating an account image in ShipEngine.\\nThe API returns 204 No Content on success, so this model may be empty.\");\n\nexport const shipengineUpdateAccountImageById = action(\"SHIPENGINE_UPDATE_ACCOUNT_IMAGE_BY_ID\", {\n slug: \"shipengine-update-account-image-by-id\",\n name: \"Update Account Image By ID\",\n description: \"Tool to update an account image by ID in ShipEngine. Use when modifying image properties like name or default status.\",\n input: ShipengineUpdateAccountImageByIdInput,\n output: ShipengineUpdateAccountImageByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AAC9G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,SAAS,wIAAwI;AAEpJ,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-account-image-by-id.cjs","names":["z","action"],"sources":["../../src/actions/update-account-image-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdateAccountImageByIdInput = z.object({\n name: z.string().describe(\"Name or description for the image\").optional(),\n image_data: z.string().describe(\"Base64-encoded image data to update the image content\").optional(),\n is_default: z.boolean().describe(\"Whether this image should be set as the default account image\"),\n label_image_id: z.string().describe(\"Unique identifier of the label image to update, must begin with 'img_'\"),\n}).describe(\"Request schema for updating an account image in ShipEngine.\");\nexport const ShipengineUpdateAccountImageByIdOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update operation was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema after updating an account image in ShipEngine.\\nThe API returns 204 No Content on success, so this model may be empty.\");\n\nexport const shipengineUpdateAccountImageById = action(\"SHIPENGINE_UPDATE_ACCOUNT_IMAGE_BY_ID\", {\n slug: \"shipengine-update-account-image-by-id\",\n name: \"Update Account Image By ID\",\n description: \"Tool to update an account image by ID in ShipEngine. Use when modifying image properties like name or default status.\",\n input: ShipengineUpdateAccountImageByIdInput,\n output: ShipengineUpdateAccountImageByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AAC9G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wIAAwI;AAElK,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-account-image-by-id.d.ts
4
- declare const ShipengineUpdateAccountImageByIdInput: z.ZodTypeAny;
5
- declare const ShipengineUpdateAccountImageByIdOutput: z.ZodTypeAny;
6
- declare const shipengineUpdateAccountImageById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipengineUpdateAccountImageByIdInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ image_data: z.ZodOptional<z.ZodString>;
7
+ is_default: z.ZodBoolean;
8
+ label_image_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ShipengineUpdateAccountImageByIdOutput: z.ZodObject<{
11
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
+ }, z.core.$loose>;
13
+ declare const shipengineUpdateAccountImageById: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ is_default: boolean;
15
+ label_image_id: string;
16
+ name?: string | undefined;
17
+ image_data?: string | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { shipengineUpdateAccountImageById };
9
21
  //# sourceMappingURL=update-account-image-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-account-image-by-id.d.cts","names":[],"sources":["../../src/actions/update-account-image-by-id.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAKoB;AAAA,cAC7D,sCAAA,EAAwC,CAAA,CAAE,UAE8F;AAAA,cAExI,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-account-image-by-id.d.cts","names":[],"sources":["../../src/actions/update-account-image-by-id.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAMrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-account-image-by-id.d.ts
4
- declare const ShipengineUpdateAccountImageByIdInput: z.ZodTypeAny;
5
- declare const ShipengineUpdateAccountImageByIdOutput: z.ZodTypeAny;
6
- declare const shipengineUpdateAccountImageById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipengineUpdateAccountImageByIdInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ image_data: z.ZodOptional<z.ZodString>;
7
+ is_default: z.ZodBoolean;
8
+ label_image_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ShipengineUpdateAccountImageByIdOutput: z.ZodObject<{
11
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
+ }, z.core.$loose>;
13
+ declare const shipengineUpdateAccountImageById: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ is_default: boolean;
15
+ label_image_id: string;
16
+ name?: string | undefined;
17
+ image_data?: string | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { shipengineUpdateAccountImageById };
9
21
  //# sourceMappingURL=update-account-image-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-account-image-by-id.d.mts","names":[],"sources":["../../src/actions/update-account-image-by-id.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAKoB;AAAA,cAC7D,sCAAA,EAAwC,CAAA,CAAE,UAE8F;AAAA,cAExI,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-account-image-by-id.d.mts","names":[],"sources":["../../src/actions/update-account-image-by-id.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAMrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,gCAAgC,wBAAA"}
@@ -10,7 +10,7 @@ const shipengineUpdateAccountImageById = action("SHIPENGINE_UPDATE_ACCOUNT_IMAGE
10
10
  is_default: z.boolean().describe("Whether this image should be set as the default account image"),
11
11
  label_image_id: z.string().describe("Unique identifier of the label image to update, must begin with 'img_'")
12
12
  }).describe("Request schema for updating an account image in ShipEngine."),
13
- output: z.object({ success: z.boolean().default(true).describe("Indicates whether the update operation was successful").nullable().optional() }).describe("Response schema after updating an account image in ShipEngine.\nThe API returns 204 No Content on success, so this model may be empty.")
13
+ output: z.object({ success: z.boolean().default(true).describe("Indicates whether the update operation was successful").nullable().optional() }).passthrough().describe("Response schema after updating an account image in ShipEngine.\nThe API returns 204 No Content on success, so this model may be empty.")
14
14
  });
15
15
  //#endregion
16
16
  export { shipengineUpdateAccountImageById };
@@ -1 +1 @@
1
- {"version":3,"file":"update-account-image-by-id.mjs","names":[],"sources":["../../src/actions/update-account-image-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdateAccountImageByIdInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name or description for the image\").optional(),\n image_data: z.string().describe(\"Base64-encoded image data to update the image content\").optional(),\n is_default: z.boolean().describe(\"Whether this image should be set as the default account image\"),\n label_image_id: z.string().describe(\"Unique identifier of the label image to update, must begin with 'img_'\"),\n}).describe(\"Request schema for updating an account image in ShipEngine.\");\nexport const ShipengineUpdateAccountImageByIdOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update operation was successful\").nullable().optional(),\n}).describe(\"Response schema after updating an account image in ShipEngine.\\nThe API returns 204 No Content on success, so this model may be empty.\");\n\nexport const shipengineUpdateAccountImageById = action(\"SHIPENGINE_UPDATE_ACCOUNT_IMAGE_BY_ID\", {\n slug: \"shipengine-update-account-image-by-id\",\n name: \"Update Account Image By ID\",\n description: \"Tool to update an account image by ID in ShipEngine. Use when modifying image properties like name or default status.\",\n input: ShipengineUpdateAccountImageByIdInput,\n output: ShipengineUpdateAccountImageByIdOutput,\n});\n"],"mappings":";;AAcA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiE,EAAE,OAAO;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC9G,CAAC,CAAC,CAAC,SAAS,6DASH;CACP,QATkE,EAAE,OAAO,EAC3E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,SAAS,wIAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-account-image-by-id.mjs","names":[],"sources":["../../src/actions/update-account-image-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdateAccountImageByIdInput = z.object({\n name: z.string().describe(\"Name or description for the image\").optional(),\n image_data: z.string().describe(\"Base64-encoded image data to update the image content\").optional(),\n is_default: z.boolean().describe(\"Whether this image should be set as the default account image\"),\n label_image_id: z.string().describe(\"Unique identifier of the label image to update, must begin with 'img_'\"),\n}).describe(\"Request schema for updating an account image in ShipEngine.\");\nexport const ShipengineUpdateAccountImageByIdOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update operation was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema after updating an account image in ShipEngine.\\nThe API returns 204 No Content on success, so this model may be empty.\");\n\nexport const shipengineUpdateAccountImageById = action(\"SHIPENGINE_UPDATE_ACCOUNT_IMAGE_BY_ID\", {\n slug: \"shipengine-update-account-image-by-id\",\n name: \"Update Account Image By ID\",\n description: \"Tool to update an account image by ID in ShipEngine. Use when modifying image properties like name or default status.\",\n input: ShipengineUpdateAccountImageByIdInput,\n output: ShipengineUpdateAccountImageByIdOutput,\n});\n"],"mappings":";;AAcA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC9G,CAAC,CAAC,CAAC,SAAS,6DASH;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wIAOhB;AACV,CAAC"}
@@ -2,11 +2,11 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/update-ltl-connection.ts
4
4
  const ShipengineUpdateLtlConnectionInput = zod.z.object({
5
- credentials: zod.z.object({}).describe("Credentials object with fields specific to each carrier (e.g., username, password, account_number, key, secret, securitycode). You MUST provide all credential properties for the carrier, not just the one you wish to update. Each LTL carrier has different authentication requirements - use Get Credential Requirements endpoint to discover required fields."),
5
+ credentials: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Credentials object with fields specific to each carrier (e.g., username, password, account_number, key, secret, securitycode). You MUST provide all credential properties for the carrier, not just the one you wish to update. Each LTL carrier has different authentication requirements - use Get Credential Requirements endpoint to discover required fields."),
6
6
  carrier_code: zod.z.string().describe("The SCAC (Standard Carrier Alpha Code) for the LTL carrier (e.g., 'FXFR' for FedEx Freight, 'FWDN' for Forward Air, 'PYLE' for A. Duie Pyle, 'TEST' for testing)."),
7
7
  connection_id: zod.z.string().describe("The unique carrier_id representing the connection with a specific carrier. This UUID is returned when connecting a carrier and can be retrieved from the List Connected Carriers endpoint.")
8
8
  }).describe("Request parameters for updating an LTL carrier connection.");
9
- const ShipengineUpdateLtlConnectionOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates the LTL carrier connection was successfully updated.").nullable().optional() }).describe("Response returned after successfully updating an LTL carrier connection.\nSince the API returns 204 No Content on success, this model indicates success.");
9
+ const ShipengineUpdateLtlConnectionOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates the LTL carrier connection was successfully updated.").nullable().optional() }).passthrough().describe("Response returned after successfully updating an LTL carrier connection.\nSince the API returns 204 No Content on success, this model indicates success.");
10
10
  const shipengineUpdateLtlConnection = require_action.action("SHIPENGINE_UPDATE_LTL_CONNECTION", {
11
11
  slug: "shipengine-update-ltl-connection",
12
12
  name: "Update LTL Connection",
@@ -1 +1 @@
1
- {"version":3,"file":"update-ltl-connection.cjs","names":["z","action"],"sources":["../../src/actions/update-ltl-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdateLtlConnectionInput: z.ZodTypeAny = z.object({\n credentials: z.object({}).describe(\"Credentials object with fields specific to each carrier (e.g., username, password, account_number, key, secret, securitycode). You MUST provide all credential properties for the carrier, not just the one you wish to update. Each LTL carrier has different authentication requirements - use Get Credential Requirements endpoint to discover required fields.\"),\n carrier_code: z.string().describe(\"The SCAC (Standard Carrier Alpha Code) for the LTL carrier (e.g., 'FXFR' for FedEx Freight, 'FWDN' for Forward Air, 'PYLE' for A. Duie Pyle, 'TEST' for testing).\"),\n connection_id: z.string().describe(\"The unique carrier_id representing the connection with a specific carrier. This UUID is returned when connecting a carrier and can be retrieved from the List Connected Carriers endpoint.\"),\n}).describe(\"Request parameters for updating an LTL carrier connection.\");\nexport const ShipengineUpdateLtlConnectionOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates the LTL carrier connection was successfully updated.\").nullable().optional(),\n}).describe(\"Response returned after successfully updating an LTL carrier connection.\\nSince the API returns 204 No Content on success, this model indicates success.\");\n\nexport const shipengineUpdateLtlConnection = action(\"SHIPENGINE_UPDATE_LTL_CONNECTION\", {\n slug: \"shipengine-update-ltl-connection\",\n name: \"Update LTL Connection\",\n description: \"Tool to update LTL carrier connection credentials in ShipEngine. Use when you need to modify authentication credentials for an existing LTL carrier connection without disconnecting and reconnecting. You must provide all credential properties for the carrier, not just the property you wish to update.\",\n input: ShipengineUpdateLtlConnectionInput,\n output: ShipengineUpdateLtlConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oWAAoW;CACvY,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;CACrM,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L;AACjO,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,0JAA0J;AAEtK,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-ltl-connection.cjs","names":["z","action"],"sources":["../../src/actions/update-ltl-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdateLtlConnectionInput = z.object({\n credentials: z.record(z.string(), z.unknown()).describe(\"Credentials object with fields specific to each carrier (e.g., username, password, account_number, key, secret, securitycode). You MUST provide all credential properties for the carrier, not just the one you wish to update. Each LTL carrier has different authentication requirements - use Get Credential Requirements endpoint to discover required fields.\"),\n carrier_code: z.string().describe(\"The SCAC (Standard Carrier Alpha Code) for the LTL carrier (e.g., 'FXFR' for FedEx Freight, 'FWDN' for Forward Air, 'PYLE' for A. Duie Pyle, 'TEST' for testing).\"),\n connection_id: z.string().describe(\"The unique carrier_id representing the connection with a specific carrier. This UUID is returned when connecting a carrier and can be retrieved from the List Connected Carriers endpoint.\"),\n}).describe(\"Request parameters for updating an LTL carrier connection.\");\nexport const ShipengineUpdateLtlConnectionOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the LTL carrier connection was successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response returned after successfully updating an LTL carrier connection.\\nSince the API returns 204 No Content on success, this model indicates success.\");\n\nexport const shipengineUpdateLtlConnection = action(\"SHIPENGINE_UPDATE_LTL_CONNECTION\", {\n slug: \"shipengine-update-ltl-connection\",\n name: \"Update LTL Connection\",\n description: \"Tool to update LTL carrier connection credentials in ShipEngine. Use when you need to modify authentication credentials for an existing LTL carrier connection without disconnecting and reconnecting. You must provide all credential properties for the carrier, not just the property you wish to update.\",\n input: ShipengineUpdateLtlConnectionInput,\n output: ShipengineUpdateLtlConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oWAAoW;CAC5Z,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;CACrM,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L;AACjO,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAA0J;AAEpL,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-ltl-connection.d.ts
4
- declare const ShipengineUpdateLtlConnectionInput: z.ZodTypeAny;
5
- declare const ShipengineUpdateLtlConnectionOutput: z.ZodTypeAny;
6
- declare const shipengineUpdateLtlConnection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipengineUpdateLtlConnectionInput: z.ZodObject<{
5
+ credentials: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ carrier_code: z.ZodString;
7
+ connection_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const ShipengineUpdateLtlConnectionOutput: z.ZodObject<{
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$loose>;
12
+ declare const shipengineUpdateLtlConnection: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ credentials: Record<string, unknown>;
14
+ carrier_code: string;
15
+ connection_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { shipengineUpdateLtlConnection };
9
19
  //# sourceMappingURL=update-ltl-connection.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-ltl-connection.d.cts","names":[],"sources":["../../src/actions/update-ltl-connection.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIsB;AAAA,cAC5D,mCAAA,EAAqC,CAAA,CAAE,UAEmH;AAAA,cAE1J,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-ltl-connection.d.cts","names":[],"sources":["../../src/actions/update-ltl-connection.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA;eAMxC,MAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-ltl-connection.d.ts
4
- declare const ShipengineUpdateLtlConnectionInput: z.ZodTypeAny;
5
- declare const ShipengineUpdateLtlConnectionOutput: z.ZodTypeAny;
6
- declare const shipengineUpdateLtlConnection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipengineUpdateLtlConnectionInput: z.ZodObject<{
5
+ credentials: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ carrier_code: z.ZodString;
7
+ connection_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const ShipengineUpdateLtlConnectionOutput: z.ZodObject<{
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$loose>;
12
+ declare const shipengineUpdateLtlConnection: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ credentials: Record<string, unknown>;
14
+ carrier_code: string;
15
+ connection_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { shipengineUpdateLtlConnection };
9
19
  //# sourceMappingURL=update-ltl-connection.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-ltl-connection.d.mts","names":[],"sources":["../../src/actions/update-ltl-connection.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIsB;AAAA,cAC5D,mCAAA,EAAqC,CAAA,CAAE,UAEmH;AAAA,cAE1J,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-ltl-connection.d.mts","names":[],"sources":["../../src/actions/update-ltl-connection.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA;eAMxC,MAAA"}
@@ -5,11 +5,11 @@ const shipengineUpdateLtlConnection = action("SHIPENGINE_UPDATE_LTL_CONNECTION",
5
5
  name: "Update LTL Connection",
6
6
  description: "Tool to update LTL carrier connection credentials in ShipEngine. Use when you need to modify authentication credentials for an existing LTL carrier connection without disconnecting and reconnecting. You must provide all credential properties for the carrier, not just the property you wish to update.",
7
7
  input: z.object({
8
- credentials: z.object({}).describe("Credentials object with fields specific to each carrier (e.g., username, password, account_number, key, secret, securitycode). You MUST provide all credential properties for the carrier, not just the one you wish to update. Each LTL carrier has different authentication requirements - use Get Credential Requirements endpoint to discover required fields."),
8
+ credentials: z.record(z.string(), z.unknown()).describe("Credentials object with fields specific to each carrier (e.g., username, password, account_number, key, secret, securitycode). You MUST provide all credential properties for the carrier, not just the one you wish to update. Each LTL carrier has different authentication requirements - use Get Credential Requirements endpoint to discover required fields."),
9
9
  carrier_code: z.string().describe("The SCAC (Standard Carrier Alpha Code) for the LTL carrier (e.g., 'FXFR' for FedEx Freight, 'FWDN' for Forward Air, 'PYLE' for A. Duie Pyle, 'TEST' for testing)."),
10
10
  connection_id: z.string().describe("The unique carrier_id representing the connection with a specific carrier. This UUID is returned when connecting a carrier and can be retrieved from the List Connected Carriers endpoint.")
11
11
  }).describe("Request parameters for updating an LTL carrier connection."),
12
- output: z.object({ success: z.boolean().default(true).describe("Indicates the LTL carrier connection was successfully updated.").nullable().optional() }).describe("Response returned after successfully updating an LTL carrier connection.\nSince the API returns 204 No Content on success, this model indicates success.")
12
+ output: z.object({ success: z.boolean().default(true).describe("Indicates the LTL carrier connection was successfully updated.").nullable().optional() }).passthrough().describe("Response returned after successfully updating an LTL carrier connection.\nSince the API returns 204 No Content on success, this model indicates success.")
13
13
  });
14
14
  //#endregion
15
15
  export { shipengineUpdateLtlConnection };
@@ -1 +1 @@
1
- {"version":3,"file":"update-ltl-connection.mjs","names":[],"sources":["../../src/actions/update-ltl-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdateLtlConnectionInput: z.ZodTypeAny = z.object({\n credentials: z.object({}).describe(\"Credentials object with fields specific to each carrier (e.g., username, password, account_number, key, secret, securitycode). You MUST provide all credential properties for the carrier, not just the one you wish to update. Each LTL carrier has different authentication requirements - use Get Credential Requirements endpoint to discover required fields.\"),\n carrier_code: z.string().describe(\"The SCAC (Standard Carrier Alpha Code) for the LTL carrier (e.g., 'FXFR' for FedEx Freight, 'FWDN' for Forward Air, 'PYLE' for A. Duie Pyle, 'TEST' for testing).\"),\n connection_id: z.string().describe(\"The unique carrier_id representing the connection with a specific carrier. This UUID is returned when connecting a carrier and can be retrieved from the List Connected Carriers endpoint.\"),\n}).describe(\"Request parameters for updating an LTL carrier connection.\");\nexport const ShipengineUpdateLtlConnectionOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates the LTL carrier connection was successfully updated.\").nullable().optional(),\n}).describe(\"Response returned after successfully updating an LTL carrier connection.\\nSince the API returns 204 No Content on success, this model indicates success.\");\n\nexport const shipengineUpdateLtlConnection = action(\"SHIPENGINE_UPDATE_LTL_CONNECTION\", {\n slug: \"shipengine-update-ltl-connection\",\n name: \"Update LTL Connection\",\n description: \"Tool to update LTL carrier connection credentials in ShipEngine. Use when you need to modify authentication credentials for an existing LTL carrier connection without disconnecting and reconnecting. You must provide all credential properties for the carrier, not just the property you wish to update.\",\n input: ShipengineUpdateLtlConnectionInput,\n output: ShipengineUpdateLtlConnectionOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8D,EAAE,OAAO;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oWAAoW;EACvY,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;EACrM,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L;CACjO,CAAC,CAAC,CAAC,SAAS,4DASH;CACP,QAT+D,EAAE,OAAO,EACxE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,0JAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-ltl-connection.mjs","names":[],"sources":["../../src/actions/update-ltl-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdateLtlConnectionInput = z.object({\n credentials: z.record(z.string(), z.unknown()).describe(\"Credentials object with fields specific to each carrier (e.g., username, password, account_number, key, secret, securitycode). You MUST provide all credential properties for the carrier, not just the one you wish to update. Each LTL carrier has different authentication requirements - use Get Credential Requirements endpoint to discover required fields.\"),\n carrier_code: z.string().describe(\"The SCAC (Standard Carrier Alpha Code) for the LTL carrier (e.g., 'FXFR' for FedEx Freight, 'FWDN' for Forward Air, 'PYLE' for A. Duie Pyle, 'TEST' for testing).\"),\n connection_id: z.string().describe(\"The unique carrier_id representing the connection with a specific carrier. This UUID is returned when connecting a carrier and can be retrieved from the List Connected Carriers endpoint.\"),\n}).describe(\"Request parameters for updating an LTL carrier connection.\");\nexport const ShipengineUpdateLtlConnectionOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the LTL carrier connection was successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response returned after successfully updating an LTL carrier connection.\\nSince the API returns 204 No Content on success, this model indicates success.\");\n\nexport const shipengineUpdateLtlConnection = action(\"SHIPENGINE_UPDATE_LTL_CONNECTION\", {\n slug: \"shipengine-update-ltl-connection\",\n name: \"Update LTL Connection\",\n description: \"Tool to update LTL carrier connection credentials in ShipEngine. Use when you need to modify authentication credentials for an existing LTL carrier connection without disconnecting and reconnecting. You must provide all credential properties for the carrier, not just the property you wish to update.\",\n input: ShipengineUpdateLtlConnectionInput,\n output: ShipengineUpdateLtlConnectionOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oWAAoW;EAC5Z,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;EACrM,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L;CACjO,CAAC,CAAC,CAAC,SAAS,4DASH;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAOhB;AACV,CAAC"}
@@ -14,9 +14,9 @@ const ShipengineUpdatePackageInput = zod.z.object({
14
14
  package_code: zod.z.string().describe("Updated unique code for this package type. MUST have a 'custom_' prefix (e.g., 'custom_bigbox', 'custom_small_box').")
15
15
  }).describe("Request model for updating a custom package type in ShipEngine.");
16
16
  const ShipengineUpdatePackageOutput = zod.z.object({
17
- message: zod.z.string().describe("Status message confirming the update."),
18
- success: zod.z.boolean().describe("Indicates whether the package was successfully updated. API returns 204 No Content on success.")
19
- }).describe("Response model for an updated custom package type in ShipEngine.");
17
+ message: zod.z.string().describe("Status message confirming the update.").nullable(),
18
+ success: zod.z.boolean().describe("Indicates whether the package was successfully updated. API returns 204 No Content on success.").nullable()
19
+ }).passthrough().describe("Response model for an updated custom package type in ShipEngine.");
20
20
  const shipengineUpdatePackage = require_action.action("SHIPENGINE_UPDATE_PACKAGE", {
21
21
  slug: "shipengine-update-package",
22
22
  name: "Update Package Type",
@@ -1 +1 @@
1
- {"version":3,"file":"update-package.cjs","names":["z","action"],"sources":["../../src/actions/update-package.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdatePackageInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Updated friendly name for this package type.\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of the package.\").optional(),\n package_id: z.string().describe(\"The unique identifier of the package to update (e.g., 'se-28529731').\"),\n description: z.string().describe(\"Optional description of the package type.\").optional(),\n package_code: z.string().describe(\"Updated unique code for this package type. MUST have a 'custom_' prefix (e.g., 'custom_bigbox', 'custom_small_box').\"),\n}).describe(\"Request model for updating a custom package type in ShipEngine.\");\nexport const ShipengineUpdatePackageOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message confirming the update.\"),\n success: z.boolean().describe(\"Indicates whether the package was successfully updated. API returns 204 No Content on success.\"),\n}).describe(\"Response model for an updated custom package type in ShipEngine.\");\n\nexport const shipengineUpdatePackage = action(\"SHIPENGINE_UPDATE_PACKAGE\", {\n slug: \"shipengine-update-package\",\n name: \"Update Package Type\",\n description: \"Tool to update an existing custom package type definition. Use when modifying package details such as name, code, description, or dimensions.\",\n input: ShipengineUpdatePackageInput,\n output: ShipengineUpdatePackageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,YAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC;EACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AAC1J,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG;AAChI,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-package.cjs","names":["z","action"],"sources":["../../src/actions/update-package.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdatePackageInput = z.object({\n name: z.string().describe(\"Updated friendly name for this package type.\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of the package.\").optional(),\n package_id: z.string().describe(\"The unique identifier of the package to update (e.g., 'se-28529731').\"),\n description: z.string().describe(\"Optional description of the package type.\").optional(),\n package_code: z.string().describe(\"Updated unique code for this package type. MUST have a 'custom_' prefix (e.g., 'custom_bigbox', 'custom_small_box').\"),\n}).describe(\"Request model for updating a custom package type in ShipEngine.\");\nexport const ShipengineUpdatePackageOutput = z.object({\n message: z.string().describe(\"Status message confirming the update.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the package was successfully updated. API returns 204 No Content on success.\").nullable(),\n}).passthrough().describe(\"Response model for an updated custom package type in ShipEngine.\");\n\nexport const shipengineUpdatePackage = action(\"SHIPENGINE_UPDATE_PACKAGE\", {\n slug: \"shipengine-update-package\",\n name: \"Update Package Type\",\n description: \"Tool to update an existing custom package type definition. Use when modifying package details such as name, code, description, or dimensions.\",\n input: ShipengineUpdatePackageInput,\n output: ShipengineUpdatePackageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,YAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC;EACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AAC1J,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-package.d.ts
4
- declare const ShipengineUpdatePackageInput: z.ZodTypeAny;
5
- declare const ShipengineUpdatePackageOutput: z.ZodTypeAny;
6
- declare const shipengineUpdatePackage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipengineUpdatePackageInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ dimensions: z.ZodOptional<z.ZodObject<{
7
+ unit: z.ZodEnum<{
8
+ inch: "inch";
9
+ centimeter: "centimeter";
10
+ }>;
11
+ width: z.ZodNumber;
12
+ height: z.ZodNumber;
13
+ length: z.ZodNumber;
14
+ }, z.core.$strip>>;
15
+ package_id: z.ZodString;
16
+ description: z.ZodOptional<z.ZodString>;
17
+ package_code: z.ZodString;
18
+ }, z.core.$strip>;
19
+ declare const ShipengineUpdatePackageOutput: z.ZodObject<{
20
+ message: z.ZodNullable<z.ZodString>;
21
+ success: z.ZodNullable<z.ZodBoolean>;
22
+ }, z.core.$loose>;
23
+ declare const shipengineUpdatePackage: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ name: string;
25
+ package_id: string;
26
+ package_code: string;
27
+ dimensions?: {
28
+ unit: "inch" | "centimeter";
29
+ width: number;
30
+ height: number;
31
+ length: number;
32
+ } | undefined;
33
+ description?: string | undefined;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { shipengineUpdatePackage };
9
37
  //# sourceMappingURL=update-package.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-package.d.cts","names":[],"sources":["../../src/actions/update-package.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAWiC;AAAA,cACjE,6BAAA,EAA+B,CAAA,CAAE,UAGiC;AAAA,cAElE,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-package.d.cts","names":[],"sources":["../../src/actions/update-package.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-package.d.ts
4
- declare const ShipengineUpdatePackageInput: z.ZodTypeAny;
5
- declare const ShipengineUpdatePackageOutput: z.ZodTypeAny;
6
- declare const shipengineUpdatePackage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipengineUpdatePackageInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ dimensions: z.ZodOptional<z.ZodObject<{
7
+ unit: z.ZodEnum<{
8
+ inch: "inch";
9
+ centimeter: "centimeter";
10
+ }>;
11
+ width: z.ZodNumber;
12
+ height: z.ZodNumber;
13
+ length: z.ZodNumber;
14
+ }, z.core.$strip>>;
15
+ package_id: z.ZodString;
16
+ description: z.ZodOptional<z.ZodString>;
17
+ package_code: z.ZodString;
18
+ }, z.core.$strip>;
19
+ declare const ShipengineUpdatePackageOutput: z.ZodObject<{
20
+ message: z.ZodNullable<z.ZodString>;
21
+ success: z.ZodNullable<z.ZodBoolean>;
22
+ }, z.core.$loose>;
23
+ declare const shipengineUpdatePackage: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ name: string;
25
+ package_id: string;
26
+ package_code: string;
27
+ dimensions?: {
28
+ unit: "inch" | "centimeter";
29
+ width: number;
30
+ height: number;
31
+ length: number;
32
+ } | undefined;
33
+ description?: string | undefined;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { shipengineUpdatePackage };
9
37
  //# sourceMappingURL=update-package.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-package.d.mts","names":[],"sources":["../../src/actions/update-package.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAWiC;AAAA,cACjE,6BAAA,EAA+B,CAAA,CAAE,UAGiC;AAAA,cAElE,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-package.d.mts","names":[],"sources":["../../src/actions/update-package.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -17,9 +17,9 @@ const shipengineUpdatePackage = action("SHIPENGINE_UPDATE_PACKAGE", {
17
17
  package_code: z.string().describe("Updated unique code for this package type. MUST have a 'custom_' prefix (e.g., 'custom_bigbox', 'custom_small_box').")
18
18
  }).describe("Request model for updating a custom package type in ShipEngine."),
19
19
  output: z.object({
20
- message: z.string().describe("Status message confirming the update."),
21
- success: z.boolean().describe("Indicates whether the package was successfully updated. API returns 204 No Content on success.")
22
- }).describe("Response model for an updated custom package type in ShipEngine.")
20
+ message: z.string().describe("Status message confirming the update.").nullable(),
21
+ success: z.boolean().describe("Indicates whether the package was successfully updated. API returns 204 No Content on success.").nullable()
22
+ }).passthrough().describe("Response model for an updated custom package type in ShipEngine.")
23
23
  });
24
24
  //#endregion
25
25
  export { shipengineUpdatePackage };
@@ -1 +1 @@
1
- {"version":3,"file":"update-package.mjs","names":[],"sources":["../../src/actions/update-package.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdatePackageInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Updated friendly name for this package type.\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of the package.\").optional(),\n package_id: z.string().describe(\"The unique identifier of the package to update (e.g., 'se-28529731').\"),\n description: z.string().describe(\"Optional description of the package type.\").optional(),\n package_code: z.string().describe(\"Updated unique code for this package type. MUST have a 'custom_' prefix (e.g., 'custom_bigbox', 'custom_small_box').\"),\n}).describe(\"Request model for updating a custom package type in ShipEngine.\");\nexport const ShipengineUpdatePackageOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message confirming the update.\"),\n success: z.boolean().describe(\"Indicates whether the package was successfully updated. API returns 204 No Content on success.\"),\n}).describe(\"Response model for an updated custom package type in ShipEngine.\");\n\nexport const shipengineUpdatePackage = action(\"SHIPENGINE_UPDATE_PACKAGE\", {\n slug: \"shipengine-update-package\",\n name: \"Update Package Type\",\n description: \"Tool to update an existing custom package type definition. Use when modifying package details such as name, code, description, or dimensions.\",\n input: ShipengineUpdatePackageInput,\n output: ShipengineUpdatePackageOutput,\n});\n"],"mappings":";;AAqBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,YAAY,EAAE,OAAO;GACrB,MAAM,EAAE,KAAK,CAAC,QAAQ,YAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC;GACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;GAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;GAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC9E,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;CAC1J,CAAC,CAAC,CAAC,SAAS,iEAUH;CACP,QAVyD,EAAE,OAAO;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACpE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG;CAChI,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-package.mjs","names":[],"sources":["../../src/actions/update-package.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdatePackageInput = z.object({\n name: z.string().describe(\"Updated friendly name for this package type.\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of the package.\").optional(),\n package_id: z.string().describe(\"The unique identifier of the package to update (e.g., 'se-28529731').\"),\n description: z.string().describe(\"Optional description of the package type.\").optional(),\n package_code: z.string().describe(\"Updated unique code for this package type. MUST have a 'custom_' prefix (e.g., 'custom_bigbox', 'custom_small_box').\"),\n}).describe(\"Request model for updating a custom package type in ShipEngine.\");\nexport const ShipengineUpdatePackageOutput = z.object({\n message: z.string().describe(\"Status message confirming the update.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the package was successfully updated. API returns 204 No Content on success.\").nullable(),\n}).passthrough().describe(\"Response model for an updated custom package type in ShipEngine.\");\n\nexport const shipengineUpdatePackage = action(\"SHIPENGINE_UPDATE_PACKAGE\", {\n slug: \"shipengine-update-package\",\n name: \"Update Package Type\",\n description: \"Tool to update an existing custom package type definition. Use when modifying package details such as name, code, description, or dimensions.\",\n input: ShipengineUpdatePackageInput,\n output: ShipengineUpdatePackageOutput,\n});\n"],"mappings":";;AAqBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,YAAY,EAAE,OAAO;GACrB,MAAM,EAAE,KAAK,CAAC,QAAQ,YAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC;GACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;GAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;GAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC9E,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;CAC1J,CAAC,CAAC,CAAC,SAAS,iEAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const ShipengineUpdateShipmentInput = zod.z.object({
13
13
  description: zod.z.string().describe("Description of the item for customs"),
14
14
  country_of_origin: zod.z.string().describe("Two-letter ISO country code of origin").optional(),
15
15
  harmonized_tariff_code: zod.z.string().describe("Harmonized Tariff Schedule code for the item").optional()
16
- }).describe("Item information for customs declarations (international shipments).")).describe("List of items included in the shipment for customs declaration")
16
+ }).passthrough().describe("Item information for customs declarations (international shipments).")).describe("List of items included in the shipment for customs declaration")
17
17
  }).describe("Customs information for international shipments.").optional(),
18
18
  ship_to: zod.z.object({
19
19
  name: zod.z.string().describe("Recipient or sender name"),
@@ -58,7 +58,7 @@ const ShipengineUpdateShipmentInput = zod.z.object({
58
58
  reference2: zod.z.string().describe("Custom reference line 2 (printed on label)").optional(),
59
59
  reference3: zod.z.string().describe("Custom reference line 3 (printed on label)").optional()
60
60
  }).describe("Custom messages to print on shipping label.").optional()
61
- }).describe("Package information for shipment.")).describe("List of packages in the shipment with weight, dimensions, and insurance details").optional(),
61
+ }).passthrough().describe("Package information for shipment.")).describe("List of packages in the shipment with weight, dimensions, and insurance details").optional(),
62
62
  is_return: zod.z.boolean().describe("Indicates whether this is a return shipment").optional(),
63
63
  return_to: zod.z.object({
64
64
  name: zod.z.string().describe("Recipient or sender name"),
@@ -105,7 +105,7 @@ const ShipengineUpdateShipmentInput = zod.z.object({
105
105
  identifier_type: zod.z.string().describe("Type of tax identifier (e.g., 'vat', 'eori', 'ssn', 'ein', 'ioss')"),
106
106
  issuing_authority: zod.z.string().describe("Country code of the authority that issued the tax ID"),
107
107
  taxable_entity_type: zod.z.string().describe("Type of entity (e.g., 'shipper', 'recipient')")
108
- }).describe("Tax identification information for international shipments.")).describe("Tax identification numbers for international shipments").optional(),
108
+ }).passthrough().describe("Tax identification information for international shipments.")).describe("Tax identification numbers for international shipments").optional(),
109
109
  advanced_options: zod.z.object({
110
110
  dry_ice: zod.z.boolean().describe("Indicates if the shipment contains dry ice").optional(),
111
111
  bill_to_party: zod.z.string().describe("Party to bill ('recipient', 'third_party')").optional(),
@@ -133,41 +133,41 @@ const ShipengineUpdateShipmentInput = zod.z.object({
133
133
  external_shipment_id: zod.z.string().describe("Your external shipment reference ID").optional()
134
134
  }).describe("Request model for updating an existing shipment.\nOnly ship_to and ship_from are required; all other fields are optional updates.");
135
135
  const ShipengineUpdateShipment_ErrorDetailSchema = zod.z.object({
136
- message: zod.z.string().describe("Error message"),
137
- error_code: zod.z.string().describe("Error code"),
138
- error_type: zod.z.string().describe("Type of error"),
139
- error_source: zod.z.string().describe("Source of the error")
140
- }).describe("Error detail information.");
136
+ message: zod.z.string().describe("Error message").nullable(),
137
+ error_code: zod.z.string().describe("Error code").nullable(),
138
+ error_type: zod.z.string().describe("Type of error").nullable(),
139
+ error_source: zod.z.string().describe("Source of the error").nullable()
140
+ }).passthrough().describe("Error detail information.");
141
141
  const ShipengineUpdateShipment_CustomsItemSchema = zod.z.object({
142
- value: zod.z.number().describe("Value of the item (non-negative)"),
143
- quantity: zod.z.number().int().describe("Quantity of this item (must be at least 1)"),
144
- description: zod.z.string().describe("Description of the item for customs"),
142
+ value: zod.z.number().describe("Value of the item (non-negative)").nullable(),
143
+ quantity: zod.z.number().int().describe("Quantity of this item (must be at least 1)").nullable(),
144
+ description: zod.z.string().describe("Description of the item for customs").nullable(),
145
145
  country_of_origin: zod.z.string().describe("Two-letter ISO country code of origin").nullable().optional(),
146
146
  harmonized_tariff_code: zod.z.string().describe("Harmonized Tariff Schedule code for the item").nullable().optional()
147
- }).describe("Item information for customs declarations (international shipments).");
147
+ }).passthrough().describe("Item information for customs declarations (international shipments).");
148
148
  const ShipengineUpdateShipment_CustomsSchema = zod.z.object({
149
- contents: zod.z.string().describe("Type of contents (e.g., 'merchandise', 'documents', 'gift', 'returned_goods', 'sample')"),
149
+ contents: zod.z.string().describe("Type of contents (e.g., 'merchandise', 'documents', 'gift', 'returned_goods', 'sample')").nullable(),
150
150
  non_delivery: zod.z.string().describe("Action if delivery fails (e.g., 'return_to_sender', 'treat_as_abandoned')").nullable().optional(),
151
151
  customs_items: zod.z.array(ShipengineUpdateShipment_CustomsItemSchema).describe("List of items included in the shipment for customs declaration")
152
- }).describe("Customs information for international shipments.");
152
+ }).passthrough().describe("Customs information for international shipments.");
153
153
  const ShipengineUpdateShipment_AddressResidentialIndicatorSchema = zod.z.enum([
154
154
  "yes",
155
155
  "no",
156
156
  "unknown"
157
157
  ]).describe("Address type indicator.");
158
158
  const ShipengineUpdateShipment_AddressSchema = zod.z.object({
159
- name: zod.z.string().describe("Recipient or sender name"),
159
+ name: zod.z.string().describe("Recipient or sender name").nullable(),
160
160
  phone: zod.z.string().describe("Phone number").nullable().optional(),
161
- postal_code: zod.z.string().describe("ZIP or postal code"),
161
+ postal_code: zod.z.string().describe("ZIP or postal code").nullable(),
162
162
  company_name: zod.z.string().describe("Company name, if applicable").nullable().optional(),
163
- country_code: zod.z.string().describe("Two-letter ISO country code (e.g., 'US', 'CA')"),
164
- address_line1: zod.z.string().describe("Primary street address"),
163
+ country_code: zod.z.string().describe("Two-letter ISO country code (e.g., 'US', 'CA')").nullable(),
164
+ address_line1: zod.z.string().describe("Primary street address").nullable(),
165
165
  address_line2: zod.z.string().describe("Secondary address line (apt, suite, etc.)").nullable().optional(),
166
166
  address_line3: zod.z.string().describe("Additional address line").nullable().optional(),
167
- city_locality: zod.z.string().describe("City or locality"),
168
- state_province: zod.z.string().describe("State or province code"),
167
+ city_locality: zod.z.string().describe("City or locality").nullable(),
168
+ state_province: zod.z.string().describe("State or province code").nullable(),
169
169
  address_residential_indicator: ShipengineUpdateShipment_AddressResidentialIndicatorSchema.nullable().optional()
170
- }).describe("Address model for ship_to, ship_from, and return_to.");
170
+ }).passthrough().describe("Address model for ship_to, ship_from, and return_to.");
171
171
  const ShipengineUpdateShipment_WeightUnitSchema = zod.z.enum([
172
172
  "pound",
173
173
  "ounce",
@@ -176,24 +176,24 @@ const ShipengineUpdateShipment_WeightUnitSchema = zod.z.enum([
176
176
  ]).describe("Weight unit options.");
177
177
  const ShipengineUpdateShipment_WeightSchema = zod.z.object({
178
178
  unit: ShipengineUpdateShipment_WeightUnitSchema.nullable(),
179
- value: zod.z.number().describe("Weight value (non-negative)")
180
- }).describe("Weight information for packages.");
179
+ value: zod.z.number().describe("Weight value (non-negative)").nullable()
180
+ }).passthrough().describe("Weight information for packages.");
181
181
  const ShipengineUpdateShipment_DimensionUnitSchema = zod.z.enum(["inch", "centimeter"]).describe("Dimension unit options.");
182
182
  const ShipengineUpdateShipment_DimensionsSchema = zod.z.object({
183
183
  unit: ShipengineUpdateShipment_DimensionUnitSchema.nullable(),
184
- width: zod.z.number().describe("Width of package (non-negative)"),
185
- height: zod.z.number().describe("Height of package (non-negative)"),
186
- length: zod.z.number().describe("Length of package (non-negative)")
187
- }).describe("Package dimensions.");
184
+ width: zod.z.number().describe("Width of package (non-negative)").nullable(),
185
+ height: zod.z.number().describe("Height of package (non-negative)").nullable(),
186
+ length: zod.z.number().describe("Length of package (non-negative)").nullable()
187
+ }).passthrough().describe("Package dimensions.");
188
188
  const ShipengineUpdateShipment_InsuredValueSchema = zod.z.object({
189
- amount: zod.z.number().describe("Insurance amount (non-negative)"),
190
- currency: zod.z.string().describe("3-letter ISO 4217 currency code (e.g., 'USD')")
191
- }).describe("Insurance value for a package.");
189
+ amount: zod.z.number().describe("Insurance amount (non-negative)").nullable(),
190
+ currency: zod.z.string().describe("3-letter ISO 4217 currency code (e.g., 'USD')").nullable()
191
+ }).passthrough().describe("Insurance value for a package.");
192
192
  const ShipengineUpdateShipment_LabelMessagesSchema = zod.z.object({
193
193
  reference1: zod.z.string().describe("Custom reference line 1 (printed on label)").nullable().optional(),
194
194
  reference2: zod.z.string().describe("Custom reference line 2 (printed on label)").nullable().optional(),
195
195
  reference3: zod.z.string().describe("Custom reference line 3 (printed on label)").nullable().optional()
196
- }).describe("Custom messages to print on shipping label.");
196
+ }).passthrough().describe("Custom messages to print on shipping label.");
197
197
  const ShipengineUpdateShipment_PackageResponseSchema = zod.z.object({
198
198
  weight: ShipengineUpdateShipment_WeightSchema.nullable(),
199
199
  dimensions: ShipengineUpdateShipment_DimensionsSchema.nullable().optional(),
@@ -203,7 +203,7 @@ const ShipengineUpdateShipment_PackageResponseSchema = zod.z.object({
203
203
  label_download: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Label download information").nullable().optional(),
204
204
  label_messages: ShipengineUpdateShipment_LabelMessagesSchema.nullable().optional(),
205
205
  tracking_number: zod.z.string().describe("Tracking number (if assigned)").nullable().optional()
206
- }).describe("Package information in response.");
206
+ }).passthrough().describe("Package information in response.");
207
207
  const ShipengineUpdateShipment_AdvancedOptionsSchema = zod.z.object({
208
208
  dry_ice: zod.z.boolean().describe("Indicates if the shipment contains dry ice").nullable().optional(),
209
209
  bill_to_party: zod.z.string().describe("Party to bill ('recipient', 'third_party')").nullable().optional(),
@@ -216,13 +216,13 @@ const ShipengineUpdateShipment_AdvancedOptionsSchema = zod.z.object({
216
216
  bill_to_postal_code: zod.z.string().describe("Postal code for third-party billing address").nullable().optional(),
217
217
  delivered_duty_paid: zod.z.boolean().describe("Whether duties and taxes are prepaid").nullable().optional(),
218
218
  bill_to_country_code: zod.z.string().describe("Country code for third-party billing address").nullable().optional()
219
- }).describe("Advanced shipping options (carrier-specific features).");
219
+ }).passthrough().describe("Advanced shipping options (carrier-specific features).");
220
220
  const ShipengineUpdateShipment_AddressValidationSchema = zod.z.object({
221
- status: zod.z.string().describe("Validation status"),
221
+ status: zod.z.string().describe("Validation status").nullable(),
222
222
  messages: zod.z.array(zod.z.string()).describe("Validation messages or warnings").nullable().optional(),
223
223
  matched_address: ShipengineUpdateShipment_AddressSchema.nullable().optional(),
224
224
  original_address: ShipengineUpdateShipment_AddressSchema.nullable().optional()
225
- }).describe("Address validation results.");
225
+ }).passthrough().describe("Address validation results.");
226
226
  const ShipengineUpdateShipmentOutput = zod.z.object({
227
227
  tags: zod.z.array(zod.z.string()).describe("Shipment tags").nullable().optional(),
228
228
  items: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Items in the shipment").nullable().optional(),
@@ -234,20 +234,20 @@ const ShipengineUpdateShipmentOutput = zod.z.object({
234
234
  ship_date: zod.z.string().describe("Ship date (ISO 8601)").nullable().optional(),
235
235
  ship_from: ShipengineUpdateShipment_AddressSchema.nullable(),
236
236
  carrier_id: zod.z.string().describe("Carrier identifier").nullable().optional(),
237
- created_at: zod.z.string().describe("Creation timestamp (ISO 8601)"),
238
- modified_at: zod.z.string().describe("Last modification timestamp (ISO 8601)"),
239
- shipment_id: zod.z.string().describe("Unique shipment identifier"),
237
+ created_at: zod.z.string().describe("Creation timestamp (ISO 8601)").nullable(),
238
+ modified_at: zod.z.string().describe("Last modification timestamp (ISO 8601)").nullable(),
239
+ shipment_id: zod.z.string().describe("Unique shipment identifier").nullable(),
240
240
  confirmation: zod.z.string().describe("Delivery confirmation type").nullable().optional(),
241
241
  service_code: zod.z.string().describe("Service code used").nullable().optional(),
242
242
  total_weight: ShipengineUpdateShipment_WeightSchema.nullable().optional(),
243
243
  warehouse_id: zod.z.string().describe("Warehouse ID, if assigned").nullable().optional(),
244
- shipment_status: zod.z.string().describe("Current shipment status"),
244
+ shipment_status: zod.z.string().describe("Current shipment status").nullable(),
245
245
  advanced_options: ShipengineUpdateShipment_AdvancedOptionsSchema.nullable().optional(),
246
246
  external_order_id: zod.z.string().describe("External order reference").nullable().optional(),
247
247
  address_validation: ShipengineUpdateShipment_AddressValidationSchema.nullable().optional(),
248
248
  insurance_provider: zod.z.string().describe("Insurance provider").nullable().optional(),
249
249
  external_shipment_id: zod.z.string().describe("External shipment reference").nullable().optional()
250
- }).describe("Response model for an updated shipment.");
250
+ }).passthrough().describe("Response model for an updated shipment.");
251
251
  const shipengineUpdateShipment = require_action.action("SHIPENGINE_UPDATE_SHIPMENT", {
252
252
  slug: "shipengine-update-shipment",
253
253
  name: "Update Shipment",