@keystrokehq/shipengine 0.1.0

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 (562) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-tag-to-shipment.cjs +19 -0
  7. package/dist/actions/add-tag-to-shipment.cjs.map +1 -0
  8. package/dist/actions/add-tag-to-shipment.d.cts +9 -0
  9. package/dist/actions/add-tag-to-shipment.d.cts.map +1 -0
  10. package/dist/actions/add-tag-to-shipment.d.mts +9 -0
  11. package/dist/actions/add-tag-to-shipment.d.mts.map +1 -0
  12. package/dist/actions/add-tag-to-shipment.mjs +16 -0
  13. package/dist/actions/add-tag-to-shipment.mjs.map +1 -0
  14. package/dist/actions/add-to-batch.cjs +20 -0
  15. package/dist/actions/add-to-batch.cjs.map +1 -0
  16. package/dist/actions/add-to-batch.d.cts +9 -0
  17. package/dist/actions/add-to-batch.d.cts.map +1 -0
  18. package/dist/actions/add-to-batch.d.mts +9 -0
  19. package/dist/actions/add-to-batch.d.mts.map +1 -0
  20. package/dist/actions/add-to-batch.mjs +17 -0
  21. package/dist/actions/add-to-batch.mjs.map +1 -0
  22. package/dist/actions/cancel-shipment.cjs +16 -0
  23. package/dist/actions/cancel-shipment.cjs.map +1 -0
  24. package/dist/actions/cancel-shipment.d.cts +9 -0
  25. package/dist/actions/cancel-shipment.d.cts.map +1 -0
  26. package/dist/actions/cancel-shipment.d.mts +9 -0
  27. package/dist/actions/cancel-shipment.d.mts.map +1 -0
  28. package/dist/actions/cancel-shipment.mjs +13 -0
  29. package/dist/actions/cancel-shipment.mjs.map +1 -0
  30. package/dist/actions/connect-ltl-carrier.cjs +19 -0
  31. package/dist/actions/connect-ltl-carrier.cjs.map +1 -0
  32. package/dist/actions/connect-ltl-carrier.d.cts +9 -0
  33. package/dist/actions/connect-ltl-carrier.d.cts.map +1 -0
  34. package/dist/actions/connect-ltl-carrier.d.mts +9 -0
  35. package/dist/actions/connect-ltl-carrier.d.mts.map +1 -0
  36. package/dist/actions/connect-ltl-carrier.mjs +16 -0
  37. package/dist/actions/connect-ltl-carrier.mjs.map +1 -0
  38. package/dist/actions/connect-shipsurance.cjs +19 -0
  39. package/dist/actions/connect-shipsurance.cjs.map +1 -0
  40. package/dist/actions/connect-shipsurance.d.cts +9 -0
  41. package/dist/actions/connect-shipsurance.d.cts.map +1 -0
  42. package/dist/actions/connect-shipsurance.d.mts +9 -0
  43. package/dist/actions/connect-shipsurance.d.mts.map +1 -0
  44. package/dist/actions/connect-shipsurance.mjs +16 -0
  45. package/dist/actions/connect-shipsurance.mjs.map +1 -0
  46. package/dist/actions/create-account-image.cjs +28 -0
  47. package/dist/actions/create-account-image.cjs.map +1 -0
  48. package/dist/actions/create-account-image.d.cts +9 -0
  49. package/dist/actions/create-account-image.d.cts.map +1 -0
  50. package/dist/actions/create-account-image.d.mts +9 -0
  51. package/dist/actions/create-account-image.d.mts.map +1 -0
  52. package/dist/actions/create-account-image.mjs +25 -0
  53. package/dist/actions/create-account-image.mjs.map +1 -0
  54. package/dist/actions/create-package-type.cjs +38 -0
  55. package/dist/actions/create-package-type.cjs.map +1 -0
  56. package/dist/actions/create-package-type.d.cts +9 -0
  57. package/dist/actions/create-package-type.d.cts.map +1 -0
  58. package/dist/actions/create-package-type.d.mts +9 -0
  59. package/dist/actions/create-package-type.d.mts.map +1 -0
  60. package/dist/actions/create-package-type.mjs +37 -0
  61. package/dist/actions/create-package-type.mjs.map +1 -0
  62. package/dist/actions/create-tag.cjs +20 -0
  63. package/dist/actions/create-tag.cjs.map +1 -0
  64. package/dist/actions/create-tag.d.cts +9 -0
  65. package/dist/actions/create-tag.d.cts.map +1 -0
  66. package/dist/actions/create-tag.d.mts +9 -0
  67. package/dist/actions/create-tag.d.mts.map +1 -0
  68. package/dist/actions/create-tag.mjs +17 -0
  69. package/dist/actions/create-tag.mjs.map +1 -0
  70. package/dist/actions/create-tag2.cjs +20 -0
  71. package/dist/actions/create-tag2.cjs.map +1 -0
  72. package/dist/actions/create-tag2.d.cts +9 -0
  73. package/dist/actions/create-tag2.d.cts.map +1 -0
  74. package/dist/actions/create-tag2.d.mts +9 -0
  75. package/dist/actions/create-tag2.d.mts.map +1 -0
  76. package/dist/actions/create-tag2.mjs +17 -0
  77. package/dist/actions/create-tag2.mjs.map +1 -0
  78. package/dist/actions/create-warehouse.cjs +77 -0
  79. package/dist/actions/create-warehouse.cjs.map +1 -0
  80. package/dist/actions/create-warehouse.d.cts +9 -0
  81. package/dist/actions/create-warehouse.d.cts.map +1 -0
  82. package/dist/actions/create-warehouse.d.mts +9 -0
  83. package/dist/actions/create-warehouse.d.mts.map +1 -0
  84. package/dist/actions/create-warehouse.mjs +76 -0
  85. package/dist/actions/create-warehouse.mjs.map +1 -0
  86. package/dist/actions/create-webhook.cjs +27 -0
  87. package/dist/actions/create-webhook.cjs.map +1 -0
  88. package/dist/actions/create-webhook.d.cts +9 -0
  89. package/dist/actions/create-webhook.d.cts.map +1 -0
  90. package/dist/actions/create-webhook.d.mts +9 -0
  91. package/dist/actions/create-webhook.d.mts.map +1 -0
  92. package/dist/actions/create-webhook.mjs +24 -0
  93. package/dist/actions/create-webhook.mjs.map +1 -0
  94. package/dist/actions/delete-account-image-by-id.cjs +19 -0
  95. package/dist/actions/delete-account-image-by-id.cjs.map +1 -0
  96. package/dist/actions/delete-account-image-by-id.d.cts +9 -0
  97. package/dist/actions/delete-account-image-by-id.d.cts.map +1 -0
  98. package/dist/actions/delete-account-image-by-id.d.mts +9 -0
  99. package/dist/actions/delete-account-image-by-id.d.mts.map +1 -0
  100. package/dist/actions/delete-account-image-by-id.mjs +16 -0
  101. package/dist/actions/delete-account-image-by-id.mjs.map +1 -0
  102. package/dist/actions/delete-batch.cjs +16 -0
  103. package/dist/actions/delete-batch.cjs.map +1 -0
  104. package/dist/actions/delete-batch.d.cts +9 -0
  105. package/dist/actions/delete-batch.d.cts.map +1 -0
  106. package/dist/actions/delete-batch.d.mts +9 -0
  107. package/dist/actions/delete-batch.d.mts.map +1 -0
  108. package/dist/actions/delete-batch.mjs +13 -0
  109. package/dist/actions/delete-batch.mjs.map +1 -0
  110. package/dist/actions/delete-package.cjs +19 -0
  111. package/dist/actions/delete-package.cjs.map +1 -0
  112. package/dist/actions/delete-package.d.cts +9 -0
  113. package/dist/actions/delete-package.d.cts.map +1 -0
  114. package/dist/actions/delete-package.d.mts +9 -0
  115. package/dist/actions/delete-package.d.mts.map +1 -0
  116. package/dist/actions/delete-package.mjs +16 -0
  117. package/dist/actions/delete-package.mjs.map +1 -0
  118. package/dist/actions/delete-warehouse.cjs +19 -0
  119. package/dist/actions/delete-warehouse.cjs.map +1 -0
  120. package/dist/actions/delete-warehouse.d.cts +9 -0
  121. package/dist/actions/delete-warehouse.d.cts.map +1 -0
  122. package/dist/actions/delete-warehouse.d.mts +9 -0
  123. package/dist/actions/delete-warehouse.d.mts.map +1 -0
  124. package/dist/actions/delete-warehouse.mjs +16 -0
  125. package/dist/actions/delete-warehouse.mjs.map +1 -0
  126. package/dist/actions/delete-webhook.cjs +19 -0
  127. package/dist/actions/delete-webhook.cjs.map +1 -0
  128. package/dist/actions/delete-webhook.d.cts +9 -0
  129. package/dist/actions/delete-webhook.d.cts.map +1 -0
  130. package/dist/actions/delete-webhook.d.mts +9 -0
  131. package/dist/actions/delete-webhook.d.mts.map +1 -0
  132. package/dist/actions/delete-webhook.mjs +16 -0
  133. package/dist/actions/delete-webhook.mjs.map +1 -0
  134. package/dist/actions/disconnect-carrier.cjs +48 -0
  135. package/dist/actions/disconnect-carrier.cjs.map +1 -0
  136. package/dist/actions/disconnect-carrier.d.cts +9 -0
  137. package/dist/actions/disconnect-carrier.d.cts.map +1 -0
  138. package/dist/actions/disconnect-carrier.d.mts +9 -0
  139. package/dist/actions/disconnect-carrier.d.mts.map +1 -0
  140. package/dist/actions/disconnect-carrier.mjs +45 -0
  141. package/dist/actions/disconnect-carrier.mjs.map +1 -0
  142. package/dist/actions/disconnect-shipsurance.cjs +16 -0
  143. package/dist/actions/disconnect-shipsurance.cjs.map +1 -0
  144. package/dist/actions/disconnect-shipsurance.d.cts +9 -0
  145. package/dist/actions/disconnect-shipsurance.d.cts.map +1 -0
  146. package/dist/actions/disconnect-shipsurance.d.mts +9 -0
  147. package/dist/actions/disconnect-shipsurance.d.mts.map +1 -0
  148. package/dist/actions/disconnect-shipsurance.mjs +13 -0
  149. package/dist/actions/disconnect-shipsurance.mjs.map +1 -0
  150. package/dist/actions/download-file.cjs +27 -0
  151. package/dist/actions/download-file.cjs.map +1 -0
  152. package/dist/actions/download-file.d.cts +9 -0
  153. package/dist/actions/download-file.d.cts.map +1 -0
  154. package/dist/actions/download-file.d.mts +9 -0
  155. package/dist/actions/download-file.d.mts.map +1 -0
  156. package/dist/actions/download-file.mjs +26 -0
  157. package/dist/actions/download-file.mjs.map +1 -0
  158. package/dist/actions/get-account-image-by-id.cjs +24 -0
  159. package/dist/actions/get-account-image-by-id.cjs.map +1 -0
  160. package/dist/actions/get-account-image-by-id.d.cts +9 -0
  161. package/dist/actions/get-account-image-by-id.d.cts.map +1 -0
  162. package/dist/actions/get-account-image-by-id.d.mts +9 -0
  163. package/dist/actions/get-account-image-by-id.d.mts.map +1 -0
  164. package/dist/actions/get-account-image-by-id.mjs +21 -0
  165. package/dist/actions/get-account-image-by-id.mjs.map +1 -0
  166. package/dist/actions/get-batch-by-external-id.cjs +38 -0
  167. package/dist/actions/get-batch-by-external-id.cjs.map +1 -0
  168. package/dist/actions/get-batch-by-external-id.d.cts +9 -0
  169. package/dist/actions/get-batch-by-external-id.d.cts.map +1 -0
  170. package/dist/actions/get-batch-by-external-id.d.mts +9 -0
  171. package/dist/actions/get-batch-by-external-id.d.mts.map +1 -0
  172. package/dist/actions/get-batch-by-external-id.mjs +35 -0
  173. package/dist/actions/get-batch-by-external-id.mjs.map +1 -0
  174. package/dist/actions/get-batch-by-id.cjs +43 -0
  175. package/dist/actions/get-batch-by-id.cjs.map +1 -0
  176. package/dist/actions/get-batch-by-id.d.cts +9 -0
  177. package/dist/actions/get-batch-by-id.d.cts.map +1 -0
  178. package/dist/actions/get-batch-by-id.d.mts +9 -0
  179. package/dist/actions/get-batch-by-id.d.mts.map +1 -0
  180. package/dist/actions/get-batch-by-id.mjs +42 -0
  181. package/dist/actions/get-batch-by-id.mjs.map +1 -0
  182. package/dist/actions/get-batch-errors.cjs +35 -0
  183. package/dist/actions/get-batch-errors.cjs.map +1 -0
  184. package/dist/actions/get-batch-errors.d.cts +9 -0
  185. package/dist/actions/get-batch-errors.d.cts.map +1 -0
  186. package/dist/actions/get-batch-errors.d.mts +9 -0
  187. package/dist/actions/get-batch-errors.d.mts.map +1 -0
  188. package/dist/actions/get-batch-errors.mjs +34 -0
  189. package/dist/actions/get-batch-errors.mjs.map +1 -0
  190. package/dist/actions/get-bulk-rates.cjs +107 -0
  191. package/dist/actions/get-bulk-rates.cjs.map +1 -0
  192. package/dist/actions/get-bulk-rates.d.cts +9 -0
  193. package/dist/actions/get-bulk-rates.d.cts.map +1 -0
  194. package/dist/actions/get-bulk-rates.d.mts +9 -0
  195. package/dist/actions/get-bulk-rates.d.mts.map +1 -0
  196. package/dist/actions/get-bulk-rates.mjs +106 -0
  197. package/dist/actions/get-bulk-rates.mjs.map +1 -0
  198. package/dist/actions/get-insurance-balance.cjs +23 -0
  199. package/dist/actions/get-insurance-balance.cjs.map +1 -0
  200. package/dist/actions/get-insurance-balance.d.cts +9 -0
  201. package/dist/actions/get-insurance-balance.d.cts.map +1 -0
  202. package/dist/actions/get-insurance-balance.d.mts +9 -0
  203. package/dist/actions/get-insurance-balance.d.mts.map +1 -0
  204. package/dist/actions/get-insurance-balance.mjs +22 -0
  205. package/dist/actions/get-insurance-balance.mjs.map +1 -0
  206. package/dist/actions/get-ltl-carrier-credential-requirements.cjs +21 -0
  207. package/dist/actions/get-ltl-carrier-credential-requirements.cjs.map +1 -0
  208. package/dist/actions/get-ltl-carrier-credential-requirements.d.cts +9 -0
  209. package/dist/actions/get-ltl-carrier-credential-requirements.d.cts.map +1 -0
  210. package/dist/actions/get-ltl-carrier-credential-requirements.d.mts +9 -0
  211. package/dist/actions/get-ltl-carrier-credential-requirements.d.mts.map +1 -0
  212. package/dist/actions/get-ltl-carrier-credential-requirements.mjs +20 -0
  213. package/dist/actions/get-ltl-carrier-credential-requirements.mjs.map +1 -0
  214. package/dist/actions/get-ltl-carrier-features.cjs +25 -0
  215. package/dist/actions/get-ltl-carrier-features.cjs.map +1 -0
  216. package/dist/actions/get-ltl-carrier-features.d.cts +9 -0
  217. package/dist/actions/get-ltl-carrier-features.d.cts.map +1 -0
  218. package/dist/actions/get-ltl-carrier-features.d.mts +9 -0
  219. package/dist/actions/get-ltl-carrier-features.d.mts.map +1 -0
  220. package/dist/actions/get-ltl-carrier-features.mjs +24 -0
  221. package/dist/actions/get-ltl-carrier-features.mjs.map +1 -0
  222. package/dist/actions/get-ltl-carrier-options.cjs +26 -0
  223. package/dist/actions/get-ltl-carrier-options.cjs.map +1 -0
  224. package/dist/actions/get-ltl-carrier-options.d.cts +9 -0
  225. package/dist/actions/get-ltl-carrier-options.d.cts.map +1 -0
  226. package/dist/actions/get-ltl-carrier-options.d.mts +9 -0
  227. package/dist/actions/get-ltl-carrier-options.d.mts.map +1 -0
  228. package/dist/actions/get-ltl-carrier-options.mjs +25 -0
  229. package/dist/actions/get-ltl-carrier-options.mjs.map +1 -0
  230. package/dist/actions/get-ltl-carrier-packages.cjs +21 -0
  231. package/dist/actions/get-ltl-carrier-packages.cjs.map +1 -0
  232. package/dist/actions/get-ltl-carrier-packages.d.cts +9 -0
  233. package/dist/actions/get-ltl-carrier-packages.d.cts.map +1 -0
  234. package/dist/actions/get-ltl-carrier-packages.d.mts +9 -0
  235. package/dist/actions/get-ltl-carrier-packages.d.mts.map +1 -0
  236. package/dist/actions/get-ltl-carrier-packages.mjs +20 -0
  237. package/dist/actions/get-ltl-carrier-packages.mjs.map +1 -0
  238. package/dist/actions/get-ltl-carrier-services.cjs +21 -0
  239. package/dist/actions/get-ltl-carrier-services.cjs.map +1 -0
  240. package/dist/actions/get-ltl-carrier-services.d.cts +9 -0
  241. package/dist/actions/get-ltl-carrier-services.d.cts.map +1 -0
  242. package/dist/actions/get-ltl-carrier-services.d.mts +9 -0
  243. package/dist/actions/get-ltl-carrier-services.d.mts.map +1 -0
  244. package/dist/actions/get-ltl-carrier-services.mjs +20 -0
  245. package/dist/actions/get-ltl-carrier-services.mjs.map +1 -0
  246. package/dist/actions/get-package-by-id.cjs +28 -0
  247. package/dist/actions/get-package-by-id.cjs.map +1 -0
  248. package/dist/actions/get-package-by-id.d.cts +9 -0
  249. package/dist/actions/get-package-by-id.d.cts.map +1 -0
  250. package/dist/actions/get-package-by-id.d.mts +9 -0
  251. package/dist/actions/get-package-by-id.d.mts.map +1 -0
  252. package/dist/actions/get-package-by-id.mjs +27 -0
  253. package/dist/actions/get-package-by-id.mjs.map +1 -0
  254. package/dist/actions/get-shipment-by-external-id.cjs +111 -0
  255. package/dist/actions/get-shipment-by-external-id.cjs.map +1 -0
  256. package/dist/actions/get-shipment-by-external-id.d.cts +9 -0
  257. package/dist/actions/get-shipment-by-external-id.d.cts.map +1 -0
  258. package/dist/actions/get-shipment-by-external-id.d.mts +9 -0
  259. package/dist/actions/get-shipment-by-external-id.d.mts.map +1 -0
  260. package/dist/actions/get-shipment-by-external-id.mjs +110 -0
  261. package/dist/actions/get-shipment-by-external-id.mjs.map +1 -0
  262. package/dist/actions/get-shipment-by-id.cjs +101 -0
  263. package/dist/actions/get-shipment-by-id.cjs.map +1 -0
  264. package/dist/actions/get-shipment-by-id.d.cts +9 -0
  265. package/dist/actions/get-shipment-by-id.d.cts.map +1 -0
  266. package/dist/actions/get-shipment-by-id.d.mts +9 -0
  267. package/dist/actions/get-shipment-by-id.d.mts.map +1 -0
  268. package/dist/actions/get-shipment-by-id.mjs +100 -0
  269. package/dist/actions/get-shipment-by-id.mjs.map +1 -0
  270. package/dist/actions/get-shipment-rates.cjs +64 -0
  271. package/dist/actions/get-shipment-rates.cjs.map +1 -0
  272. package/dist/actions/get-shipment-rates.d.cts +9 -0
  273. package/dist/actions/get-shipment-rates.d.cts.map +1 -0
  274. package/dist/actions/get-shipment-rates.d.mts +9 -0
  275. package/dist/actions/get-shipment-rates.d.mts.map +1 -0
  276. package/dist/actions/get-shipment-rates.mjs +63 -0
  277. package/dist/actions/get-shipment-rates.mjs.map +1 -0
  278. package/dist/actions/get-tracking-info.cjs +55 -0
  279. package/dist/actions/get-tracking-info.cjs.map +1 -0
  280. package/dist/actions/get-tracking-info.d.cts +9 -0
  281. package/dist/actions/get-tracking-info.d.cts.map +1 -0
  282. package/dist/actions/get-tracking-info.d.mts +9 -0
  283. package/dist/actions/get-tracking-info.d.mts.map +1 -0
  284. package/dist/actions/get-tracking-info.mjs +54 -0
  285. package/dist/actions/get-tracking-info.mjs.map +1 -0
  286. package/dist/actions/get-warehouse-by-id.cjs +40 -0
  287. package/dist/actions/get-warehouse-by-id.cjs.map +1 -0
  288. package/dist/actions/get-warehouse-by-id.d.cts +9 -0
  289. package/dist/actions/get-warehouse-by-id.d.cts.map +1 -0
  290. package/dist/actions/get-warehouse-by-id.d.mts +9 -0
  291. package/dist/actions/get-warehouse-by-id.d.mts.map +1 -0
  292. package/dist/actions/get-warehouse-by-id.mjs +39 -0
  293. package/dist/actions/get-warehouse-by-id.mjs.map +1 -0
  294. package/dist/actions/get-webhook-by-id.cjs +27 -0
  295. package/dist/actions/get-webhook-by-id.cjs.map +1 -0
  296. package/dist/actions/get-webhook-by-id.d.cts +9 -0
  297. package/dist/actions/get-webhook-by-id.d.cts.map +1 -0
  298. package/dist/actions/get-webhook-by-id.d.mts +9 -0
  299. package/dist/actions/get-webhook-by-id.d.mts.map +1 -0
  300. package/dist/actions/get-webhook-by-id.mjs +26 -0
  301. package/dist/actions/get-webhook-by-id.mjs.map +1 -0
  302. package/dist/actions/index.cjs +133 -0
  303. package/dist/actions/index.d.cts +67 -0
  304. package/dist/actions/index.d.mts +67 -0
  305. package/dist/actions/index.mjs +67 -0
  306. package/dist/actions/list-account-images.cjs +25 -0
  307. package/dist/actions/list-account-images.cjs.map +1 -0
  308. package/dist/actions/list-account-images.d.cts +9 -0
  309. package/dist/actions/list-account-images.d.cts.map +1 -0
  310. package/dist/actions/list-account-images.d.mts +9 -0
  311. package/dist/actions/list-account-images.d.mts.map +1 -0
  312. package/dist/actions/list-account-images.mjs +24 -0
  313. package/dist/actions/list-account-images.mjs.map +1 -0
  314. package/dist/actions/list-account-settings.cjs +16 -0
  315. package/dist/actions/list-account-settings.cjs.map +1 -0
  316. package/dist/actions/list-account-settings.d.cts +9 -0
  317. package/dist/actions/list-account-settings.d.cts.map +1 -0
  318. package/dist/actions/list-account-settings.d.mts +9 -0
  319. package/dist/actions/list-account-settings.d.mts.map +1 -0
  320. package/dist/actions/list-account-settings.mjs +13 -0
  321. package/dist/actions/list-account-settings.mjs.map +1 -0
  322. package/dist/actions/list-batches2.cjs +75 -0
  323. package/dist/actions/list-batches2.cjs.map +1 -0
  324. package/dist/actions/list-batches2.d.cts +9 -0
  325. package/dist/actions/list-batches2.d.cts.map +1 -0
  326. package/dist/actions/list-batches2.d.mts +9 -0
  327. package/dist/actions/list-batches2.d.mts.map +1 -0
  328. package/dist/actions/list-batches2.mjs +74 -0
  329. package/dist/actions/list-batches2.mjs.map +1 -0
  330. package/dist/actions/list-carrier-package-types.cjs +29 -0
  331. package/dist/actions/list-carrier-package-types.cjs.map +1 -0
  332. package/dist/actions/list-carrier-package-types.d.cts +9 -0
  333. package/dist/actions/list-carrier-package-types.d.cts.map +1 -0
  334. package/dist/actions/list-carrier-package-types.d.mts +9 -0
  335. package/dist/actions/list-carrier-package-types.d.mts.map +1 -0
  336. package/dist/actions/list-carrier-package-types.mjs +28 -0
  337. package/dist/actions/list-carrier-package-types.mjs.map +1 -0
  338. package/dist/actions/list-labels2.cjs +153 -0
  339. package/dist/actions/list-labels2.cjs.map +1 -0
  340. package/dist/actions/list-labels2.d.cts +9 -0
  341. package/dist/actions/list-labels2.d.cts.map +1 -0
  342. package/dist/actions/list-labels2.d.mts +9 -0
  343. package/dist/actions/list-labels2.d.mts.map +1 -0
  344. package/dist/actions/list-labels2.mjs +152 -0
  345. package/dist/actions/list-labels2.mjs.map +1 -0
  346. package/dist/actions/list-ltl-carriers.cjs +55 -0
  347. package/dist/actions/list-ltl-carriers.cjs.map +1 -0
  348. package/dist/actions/list-ltl-carriers.d.cts +9 -0
  349. package/dist/actions/list-ltl-carriers.d.cts.map +1 -0
  350. package/dist/actions/list-ltl-carriers.d.mts +9 -0
  351. package/dist/actions/list-ltl-carriers.d.mts.map +1 -0
  352. package/dist/actions/list-ltl-carriers.mjs +54 -0
  353. package/dist/actions/list-ltl-carriers.mjs.map +1 -0
  354. package/dist/actions/list-manifests2.cjs +57 -0
  355. package/dist/actions/list-manifests2.cjs.map +1 -0
  356. package/dist/actions/list-manifests2.d.cts +9 -0
  357. package/dist/actions/list-manifests2.d.cts.map +1 -0
  358. package/dist/actions/list-manifests2.d.mts +9 -0
  359. package/dist/actions/list-manifests2.d.mts.map +1 -0
  360. package/dist/actions/list-manifests2.mjs +56 -0
  361. package/dist/actions/list-manifests2.mjs.map +1 -0
  362. package/dist/actions/list-packages.cjs +43 -0
  363. package/dist/actions/list-packages.cjs.map +1 -0
  364. package/dist/actions/list-packages.d.cts +9 -0
  365. package/dist/actions/list-packages.d.cts.map +1 -0
  366. package/dist/actions/list-packages.d.mts +9 -0
  367. package/dist/actions/list-packages.d.mts.map +1 -0
  368. package/dist/actions/list-packages.mjs +42 -0
  369. package/dist/actions/list-packages.mjs.map +1 -0
  370. package/dist/actions/list-pickups.cjs +71 -0
  371. package/dist/actions/list-pickups.cjs.map +1 -0
  372. package/dist/actions/list-pickups.d.cts +9 -0
  373. package/dist/actions/list-pickups.d.cts.map +1 -0
  374. package/dist/actions/list-pickups.d.mts +9 -0
  375. package/dist/actions/list-pickups.d.mts.map +1 -0
  376. package/dist/actions/list-pickups.mjs +70 -0
  377. package/dist/actions/list-pickups.mjs.map +1 -0
  378. package/dist/actions/list-shipments2.cjs +126 -0
  379. package/dist/actions/list-shipments2.cjs.map +1 -0
  380. package/dist/actions/list-shipments2.d.cts +9 -0
  381. package/dist/actions/list-shipments2.d.cts.map +1 -0
  382. package/dist/actions/list-shipments2.d.mts +9 -0
  383. package/dist/actions/list-shipments2.d.mts.map +1 -0
  384. package/dist/actions/list-shipments2.mjs +125 -0
  385. package/dist/actions/list-shipments2.mjs.map +1 -0
  386. package/dist/actions/list-tags2.cjs +21 -0
  387. package/dist/actions/list-tags2.cjs.map +1 -0
  388. package/dist/actions/list-tags2.d.cts +9 -0
  389. package/dist/actions/list-tags2.d.cts.map +1 -0
  390. package/dist/actions/list-tags2.d.mts +9 -0
  391. package/dist/actions/list-tags2.d.mts.map +1 -0
  392. package/dist/actions/list-tags2.mjs +20 -0
  393. package/dist/actions/list-tags2.mjs.map +1 -0
  394. package/dist/actions/list-warehouses.cjs +42 -0
  395. package/dist/actions/list-warehouses.cjs.map +1 -0
  396. package/dist/actions/list-warehouses.d.cts +9 -0
  397. package/dist/actions/list-warehouses.d.cts.map +1 -0
  398. package/dist/actions/list-warehouses.d.mts +9 -0
  399. package/dist/actions/list-warehouses.d.mts.map +1 -0
  400. package/dist/actions/list-warehouses.mjs +41 -0
  401. package/dist/actions/list-warehouses.mjs.map +1 -0
  402. package/dist/actions/list-webhook-events.cjs +20 -0
  403. package/dist/actions/list-webhook-events.cjs.map +1 -0
  404. package/dist/actions/list-webhook-events.d.cts +9 -0
  405. package/dist/actions/list-webhook-events.d.cts.map +1 -0
  406. package/dist/actions/list-webhook-events.d.mts +9 -0
  407. package/dist/actions/list-webhook-events.d.mts.map +1 -0
  408. package/dist/actions/list-webhook-events.mjs +19 -0
  409. package/dist/actions/list-webhook-events.mjs.map +1 -0
  410. package/dist/actions/list-webhooks.cjs +28 -0
  411. package/dist/actions/list-webhooks.cjs.map +1 -0
  412. package/dist/actions/list-webhooks.d.cts +9 -0
  413. package/dist/actions/list-webhooks.d.cts.map +1 -0
  414. package/dist/actions/list-webhooks.d.mts +9 -0
  415. package/dist/actions/list-webhooks.d.mts.map +1 -0
  416. package/dist/actions/list-webhooks.mjs +27 -0
  417. package/dist/actions/list-webhooks.mjs.map +1 -0
  418. package/dist/actions/parse-address.cjs +58 -0
  419. package/dist/actions/parse-address.cjs.map +1 -0
  420. package/dist/actions/parse-address.d.cts +9 -0
  421. package/dist/actions/parse-address.d.cts.map +1 -0
  422. package/dist/actions/parse-address.d.mts +9 -0
  423. package/dist/actions/parse-address.d.mts.map +1 -0
  424. package/dist/actions/parse-address.mjs +57 -0
  425. package/dist/actions/parse-address.mjs.map +1 -0
  426. package/dist/actions/process-batch-labels.cjs +29 -0
  427. package/dist/actions/process-batch-labels.cjs.map +1 -0
  428. package/dist/actions/process-batch-labels.d.cts +9 -0
  429. package/dist/actions/process-batch-labels.d.cts.map +1 -0
  430. package/dist/actions/process-batch-labels.d.mts +9 -0
  431. package/dist/actions/process-batch-labels.d.mts.map +1 -0
  432. package/dist/actions/process-batch-labels.mjs +26 -0
  433. package/dist/actions/process-batch-labels.mjs.map +1 -0
  434. package/dist/actions/remove-from-batch.cjs +20 -0
  435. package/dist/actions/remove-from-batch.cjs.map +1 -0
  436. package/dist/actions/remove-from-batch.d.cts +9 -0
  437. package/dist/actions/remove-from-batch.d.cts.map +1 -0
  438. package/dist/actions/remove-from-batch.d.mts +9 -0
  439. package/dist/actions/remove-from-batch.d.mts.map +1 -0
  440. package/dist/actions/remove-from-batch.mjs +17 -0
  441. package/dist/actions/remove-from-batch.mjs.map +1 -0
  442. package/dist/actions/remove-tag-from-shipment.cjs +19 -0
  443. package/dist/actions/remove-tag-from-shipment.cjs.map +1 -0
  444. package/dist/actions/remove-tag-from-shipment.d.cts +9 -0
  445. package/dist/actions/remove-tag-from-shipment.d.cts.map +1 -0
  446. package/dist/actions/remove-tag-from-shipment.d.mts +9 -0
  447. package/dist/actions/remove-tag-from-shipment.d.mts.map +1 -0
  448. package/dist/actions/remove-tag-from-shipment.mjs +16 -0
  449. package/dist/actions/remove-tag-from-shipment.mjs.map +1 -0
  450. package/dist/actions/start-tracking.cjs +23 -0
  451. package/dist/actions/start-tracking.cjs.map +1 -0
  452. package/dist/actions/start-tracking.d.cts +9 -0
  453. package/dist/actions/start-tracking.d.cts.map +1 -0
  454. package/dist/actions/start-tracking.d.mts +9 -0
  455. package/dist/actions/start-tracking.d.mts.map +1 -0
  456. package/dist/actions/start-tracking.mjs +20 -0
  457. package/dist/actions/start-tracking.mjs.map +1 -0
  458. package/dist/actions/stop-tracking.cjs +22 -0
  459. package/dist/actions/stop-tracking.cjs.map +1 -0
  460. package/dist/actions/stop-tracking.d.cts +9 -0
  461. package/dist/actions/stop-tracking.d.cts.map +1 -0
  462. package/dist/actions/stop-tracking.d.mts +9 -0
  463. package/dist/actions/stop-tracking.d.mts.map +1 -0
  464. package/dist/actions/stop-tracking.mjs +19 -0
  465. package/dist/actions/stop-tracking.mjs.map +1 -0
  466. package/dist/actions/track-ltl-shipment.cjs +48 -0
  467. package/dist/actions/track-ltl-shipment.cjs.map +1 -0
  468. package/dist/actions/track-ltl-shipment.d.cts +9 -0
  469. package/dist/actions/track-ltl-shipment.d.cts.map +1 -0
  470. package/dist/actions/track-ltl-shipment.d.mts +9 -0
  471. package/dist/actions/track-ltl-shipment.d.mts.map +1 -0
  472. package/dist/actions/track-ltl-shipment.mjs +47 -0
  473. package/dist/actions/track-ltl-shipment.mjs.map +1 -0
  474. package/dist/actions/update-account-image-by-id.cjs +21 -0
  475. package/dist/actions/update-account-image-by-id.cjs.map +1 -0
  476. package/dist/actions/update-account-image-by-id.d.cts +9 -0
  477. package/dist/actions/update-account-image-by-id.d.cts.map +1 -0
  478. package/dist/actions/update-account-image-by-id.d.mts +9 -0
  479. package/dist/actions/update-account-image-by-id.d.mts.map +1 -0
  480. package/dist/actions/update-account-image-by-id.mjs +18 -0
  481. package/dist/actions/update-account-image-by-id.mjs.map +1 -0
  482. package/dist/actions/update-ltl-connection.cjs +20 -0
  483. package/dist/actions/update-ltl-connection.cjs.map +1 -0
  484. package/dist/actions/update-ltl-connection.d.cts +9 -0
  485. package/dist/actions/update-ltl-connection.d.cts.map +1 -0
  486. package/dist/actions/update-ltl-connection.d.mts +9 -0
  487. package/dist/actions/update-ltl-connection.d.mts.map +1 -0
  488. package/dist/actions/update-ltl-connection.mjs +17 -0
  489. package/dist/actions/update-ltl-connection.mjs.map +1 -0
  490. package/dist/actions/update-package.cjs +30 -0
  491. package/dist/actions/update-package.cjs.map +1 -0
  492. package/dist/actions/update-package.d.cts +9 -0
  493. package/dist/actions/update-package.d.cts.map +1 -0
  494. package/dist/actions/update-package.d.mts +9 -0
  495. package/dist/actions/update-package.d.mts.map +1 -0
  496. package/dist/actions/update-package.mjs +27 -0
  497. package/dist/actions/update-package.mjs.map +1 -0
  498. package/dist/actions/update-shipment.cjs +261 -0
  499. package/dist/actions/update-shipment.cjs.map +1 -0
  500. package/dist/actions/update-shipment.d.cts +9 -0
  501. package/dist/actions/update-shipment.d.cts.map +1 -0
  502. package/dist/actions/update-shipment.d.mts +9 -0
  503. package/dist/actions/update-shipment.d.mts.map +1 -0
  504. package/dist/actions/update-shipment.mjs +260 -0
  505. package/dist/actions/update-shipment.mjs.map +1 -0
  506. package/dist/actions/update-shipments-tags.cjs +22 -0
  507. package/dist/actions/update-shipments-tags.cjs.map +1 -0
  508. package/dist/actions/update-shipments-tags.d.cts +9 -0
  509. package/dist/actions/update-shipments-tags.d.cts.map +1 -0
  510. package/dist/actions/update-shipments-tags.d.mts +9 -0
  511. package/dist/actions/update-shipments-tags.d.mts.map +1 -0
  512. package/dist/actions/update-shipments-tags.mjs +19 -0
  513. package/dist/actions/update-shipments-tags.mjs.map +1 -0
  514. package/dist/actions/update-warehouse.cjs +57 -0
  515. package/dist/actions/update-warehouse.cjs.map +1 -0
  516. package/dist/actions/update-warehouse.d.cts +9 -0
  517. package/dist/actions/update-warehouse.d.cts.map +1 -0
  518. package/dist/actions/update-warehouse.d.mts +9 -0
  519. package/dist/actions/update-warehouse.d.mts.map +1 -0
  520. package/dist/actions/update-warehouse.mjs +54 -0
  521. package/dist/actions/update-warehouse.mjs.map +1 -0
  522. package/dist/actions/update-webhook.cjs +25 -0
  523. package/dist/actions/update-webhook.cjs.map +1 -0
  524. package/dist/actions/update-webhook.d.cts +9 -0
  525. package/dist/actions/update-webhook.d.cts.map +1 -0
  526. package/dist/actions/update-webhook.d.mts +9 -0
  527. package/dist/actions/update-webhook.d.mts.map +1 -0
  528. package/dist/actions/update-webhook.mjs +22 -0
  529. package/dist/actions/update-webhook.mjs.map +1 -0
  530. package/dist/actions/validate-address.cjs +67 -0
  531. package/dist/actions/validate-address.cjs.map +1 -0
  532. package/dist/actions/validate-address.d.cts +9 -0
  533. package/dist/actions/validate-address.d.cts.map +1 -0
  534. package/dist/actions/validate-address.d.mts +9 -0
  535. package/dist/actions/validate-address.d.mts.map +1 -0
  536. package/dist/actions/validate-address.mjs +66 -0
  537. package/dist/actions/validate-address.mjs.map +1 -0
  538. package/dist/app.cjs +9 -0
  539. package/dist/app.cjs.map +1 -0
  540. package/dist/app.d.cts +5 -0
  541. package/dist/app.d.cts.map +1 -0
  542. package/dist/app.d.mts +5 -0
  543. package/dist/app.d.mts.map +1 -0
  544. package/dist/app.mjs +10 -0
  545. package/dist/app.mjs.map +1 -0
  546. package/dist/catalog.cjs +15 -0
  547. package/dist/catalog.cjs.map +1 -0
  548. package/dist/catalog.d.cts +14 -0
  549. package/dist/catalog.d.cts.map +1 -0
  550. package/dist/catalog.d.mts +14 -0
  551. package/dist/catalog.d.mts.map +1 -0
  552. package/dist/catalog.mjs +15 -0
  553. package/dist/catalog.mjs.map +1 -0
  554. package/dist/execute.cjs +18 -0
  555. package/dist/execute.cjs.map +1 -0
  556. package/dist/execute.mjs +18 -0
  557. package/dist/execute.mjs.map +1 -0
  558. package/dist/index.cjs +138 -0
  559. package/dist/index.d.cts +69 -0
  560. package/dist/index.d.mts +69 -0
  561. package/dist/index.mjs +70 -0
  562. package/package.json +49 -0
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/disconnect-shipsurance.ts
4
+ const ShipengineDisconnectShipsuranceInput = zod.z.object({}).describe("Request schema for disconnecting a Shipsurance account.\nThis endpoint requires no parameters.");
5
+ const ShipengineDisconnectShipsuranceOutput = zod.z.object({}).describe("Response schema after disconnecting a Shipsurance account.\nThe API returns an empty object on success.");
6
+ const shipengineDisconnectShipsurance = require_action.action("SHIPENGINE_DISCONNECT_SHIPSURANCE", {
7
+ slug: "shipengine-disconnect-shipsurance",
8
+ name: "Disconnect Shipsurance",
9
+ description: "Tool to disconnect a Shipsurance insurance account from ShipEngine. Use when you need to remove the Shipsurance integration.",
10
+ input: ShipengineDisconnectShipsuranceInput,
11
+ output: ShipengineDisconnectShipsuranceOutput
12
+ });
13
+ //#endregion
14
+ exports.shipengineDisconnectShipsurance = shipengineDisconnectShipsurance;
15
+
16
+ //# sourceMappingURL=disconnect-shipsurance.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disconnect-shipsurance.cjs","names":["z","action"],"sources":["../../src/actions/disconnect-shipsurance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineDisconnectShipsuranceInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for disconnecting a Shipsurance account.\\nThis endpoint requires no parameters.\");\nexport const ShipengineDisconnectShipsuranceOutput: z.ZodTypeAny = z.object({}).describe(\"Response schema after disconnecting a Shipsurance account.\\nThe API returns an empty object on success.\");\n\nexport const shipengineDisconnectShipsurance = action(\"SHIPENGINE_DISCONNECT_SHIPSURANCE\", {\n slug: \"shipengine-disconnect-shipsurance\",\n name: \"Disconnect Shipsurance\",\n description: \"Tool to disconnect a Shipsurance insurance account from ShipEngine. Use when you need to remove the Shipsurance integration.\",\n input: ShipengineDisconnectShipsuranceInput,\n output: ShipengineDisconnectShipsuranceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACxL,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yGAAyG;AAElM,MAAa,kCAAkCC,eAAAA,OAAO,qCAAqC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/disconnect-shipsurance.d.ts
4
+ declare const ShipengineDisconnectShipsuranceInput: z.ZodTypeAny;
5
+ declare const ShipengineDisconnectShipsuranceOutput: z.ZodTypeAny;
6
+ declare const shipengineDisconnectShipsurance: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineDisconnectShipsurance };
9
+ //# sourceMappingURL=disconnect-shipsurance.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disconnect-shipsurance.d.cts","names":[],"sources":["../../src/actions/disconnect-shipsurance.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAAoI;AAAA,cAC5K,qCAAA,EAAuC,CAAA,CAAE,UAA6I;AAAA,cAEtL,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/disconnect-shipsurance.d.ts
4
+ declare const ShipengineDisconnectShipsuranceInput: z.ZodTypeAny;
5
+ declare const ShipengineDisconnectShipsuranceOutput: z.ZodTypeAny;
6
+ declare const shipengineDisconnectShipsurance: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineDisconnectShipsurance };
9
+ //# sourceMappingURL=disconnect-shipsurance.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disconnect-shipsurance.d.mts","names":[],"sources":["../../src/actions/disconnect-shipsurance.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAAoI;AAAA,cAC5K,qCAAA,EAAuC,CAAA,CAAE,UAA6I;AAAA,cAEtL,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const shipengineDisconnectShipsurance = action("SHIPENGINE_DISCONNECT_SHIPSURANCE", {
4
+ slug: "shipengine-disconnect-shipsurance",
5
+ name: "Disconnect Shipsurance",
6
+ description: "Tool to disconnect a Shipsurance insurance account from ShipEngine. Use when you need to remove the Shipsurance integration.",
7
+ input: z.object({}).describe("Request schema for disconnecting a Shipsurance account.\nThis endpoint requires no parameters."),
8
+ output: z.object({}).describe("Response schema after disconnecting a Shipsurance account.\nThe API returns an empty object on success.")
9
+ });
10
+ //#endregion
11
+ export { shipengineDisconnectShipsurance };
12
+
13
+ //# sourceMappingURL=disconnect-shipsurance.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disconnect-shipsurance.mjs","names":[],"sources":["../../src/actions/disconnect-shipsurance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineDisconnectShipsuranceInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for disconnecting a Shipsurance account.\\nThis endpoint requires no parameters.\");\nexport const ShipengineDisconnectShipsuranceOutput: z.ZodTypeAny = z.object({}).describe(\"Response schema after disconnecting a Shipsurance account.\\nThe API returns an empty object on success.\");\n\nexport const shipengineDisconnectShipsurance = action(\"SHIPENGINE_DISCONNECT_SHIPSURANCE\", {\n slug: \"shipengine-disconnect-shipsurance\",\n name: \"Disconnect Shipsurance\",\n description: \"Tool to disconnect a Shipsurance insurance account from ShipEngine. Use when you need to remove the Shipsurance integration.\",\n input: ShipengineDisconnectShipsuranceInput,\n output: ShipengineDisconnectShipsuranceOutput,\n});\n"],"mappings":";;AAOA,MAAa,kCAAkC,OAAO,qCAAqC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAPgE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gGAO/E;CACP,QAPiE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yGAO/E;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/download-file.ts
4
+ const ShipengineDownloadFileInput = zod.z.object({
5
+ dir: zod.z.string().describe("Directory identifier in the download path"),
6
+ subdir: zod.z.string().describe("Subdirectory identifier in the download path"),
7
+ download: zod.z.string().describe("Optional download parameter to control download behavior").optional(),
8
+ filename: zod.z.string().describe("Name of the file to download"),
9
+ rotation: zod.z.number().int().describe("Rotation angle for the file in degrees (e.g., 0, 90, 180, 270)").optional()
10
+ }).describe("Request model for downloading a file from ShipEngine.");
11
+ const ShipengineDownloadFile_FileDownloadableSchema = zod.z.object({
12
+ name: zod.z.string().describe("Name of the file"),
13
+ s3url: zod.z.string().describe("S3 URL of the downloaded file."),
14
+ mimetype: zod.z.string().describe("Mime type of the file.")
15
+ });
16
+ const ShipengineDownloadFileOutput = zod.z.object({ content: ShipengineDownloadFile_FileDownloadableSchema.nullable() }).describe("Response model for downloading a file from ShipEngine.");
17
+ const shipengineDownloadFile = require_action.action("SHIPENGINE_DOWNLOAD_FILE", {
18
+ slug: "shipengine-download-file",
19
+ name: "Download File",
20
+ description: "Tool to download a file from ShipEngine. Use when you need to retrieve a label PDF or other document from the ShipEngine downloads endpoint.",
21
+ input: ShipengineDownloadFileInput,
22
+ output: ShipengineDownloadFileOutput
23
+ });
24
+ //#endregion
25
+ exports.shipengineDownloadFile = shipengineDownloadFile;
26
+
27
+ //# sourceMappingURL=download-file.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"download-file.cjs","names":["z","action"],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineDownloadFileInput: z.ZodTypeAny = z.object({\n dir: z.string().describe(\"Directory identifier in the download path\"),\n subdir: z.string().describe(\"Subdirectory identifier in the download path\"),\n download: z.string().describe(\"Optional download parameter to control download behavior\").optional(),\n filename: z.string().describe(\"Name of the file to download\"),\n rotation: z.number().int().describe(\"Rotation angle for the file in degrees (e.g., 0, 90, 180, 270)\").optional(),\n}).describe(\"Request model for downloading a file from ShipEngine.\");\nconst ShipengineDownloadFile_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const ShipengineDownloadFileOutput: z.ZodTypeAny = z.object({\n content: ShipengineDownloadFile_FileDownloadableSchema.nullable(),\n}).describe(\"Response model for downloading a file from ShipEngine.\");\n\nexport const shipengineDownloadFile = action(\"SHIPENGINE_DOWNLOAD_FILE\", {\n slug: \"shipengine-download-file\",\n name: \"Download File\",\n description: \"Tool to download a file from ShipEngine. Use when you need to retrieve a label PDF or other document from the ShipEngine downloads endpoint.\",\n input: ShipengineDownloadFileInput,\n output: ShipengineDownloadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/download-file.d.ts
4
+ declare const ShipengineDownloadFileInput: z.ZodTypeAny;
5
+ declare const ShipengineDownloadFileOutput: z.ZodTypeAny;
6
+ declare const shipengineDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineDownloadFile };
9
+ //# sourceMappingURL=download-file.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"download-file.d.cts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAMwB;AAAA,cAMvD,4BAAA,EAA8B,CAAA,CAAE,UAEwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/download-file.d.ts
4
+ declare const ShipengineDownloadFileInput: z.ZodTypeAny;
5
+ declare const ShipengineDownloadFileOutput: z.ZodTypeAny;
6
+ declare const shipengineDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineDownloadFile };
9
+ //# sourceMappingURL=download-file.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"download-file.d.mts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAMwB;AAAA,cAMvD,4BAAA,EAA8B,CAAA,CAAE,UAEwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/download-file.ts
4
+ const ShipengineDownloadFileInput = z.object({
5
+ dir: z.string().describe("Directory identifier in the download path"),
6
+ subdir: z.string().describe("Subdirectory identifier in the download path"),
7
+ download: z.string().describe("Optional download parameter to control download behavior").optional(),
8
+ filename: z.string().describe("Name of the file to download"),
9
+ rotation: z.number().int().describe("Rotation angle for the file in degrees (e.g., 0, 90, 180, 270)").optional()
10
+ }).describe("Request model for downloading a file from ShipEngine.");
11
+ const ShipengineDownloadFile_FileDownloadableSchema = z.object({
12
+ name: z.string().describe("Name of the file"),
13
+ s3url: z.string().describe("S3 URL of the downloaded file."),
14
+ mimetype: z.string().describe("Mime type of the file.")
15
+ });
16
+ const shipengineDownloadFile = action("SHIPENGINE_DOWNLOAD_FILE", {
17
+ slug: "shipengine-download-file",
18
+ name: "Download File",
19
+ description: "Tool to download a file from ShipEngine. Use when you need to retrieve a label PDF or other document from the ShipEngine downloads endpoint.",
20
+ input: ShipengineDownloadFileInput,
21
+ output: z.object({ content: ShipengineDownloadFile_FileDownloadableSchema.nullable() }).describe("Response model for downloading a file from ShipEngine.")
22
+ });
23
+ //#endregion
24
+ export { shipengineDownloadFile };
25
+
26
+ //# sourceMappingURL=download-file.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"download-file.mjs","names":[],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineDownloadFileInput: z.ZodTypeAny = z.object({\n dir: z.string().describe(\"Directory identifier in the download path\"),\n subdir: z.string().describe(\"Subdirectory identifier in the download path\"),\n download: z.string().describe(\"Optional download parameter to control download behavior\").optional(),\n filename: z.string().describe(\"Name of the file to download\"),\n rotation: z.number().int().describe(\"Rotation angle for the file in degrees (e.g., 0, 90, 180, 270)\").optional(),\n}).describe(\"Request model for downloading a file from ShipEngine.\");\nconst ShipengineDownloadFile_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const ShipengineDownloadFileOutput: z.ZodTypeAny = z.object({\n content: ShipengineDownloadFile_FileDownloadableSchema.nullable(),\n}).describe(\"Response model for downloading a file from ShipEngine.\");\n\nexport const shipengineDownloadFile = action(\"SHIPENGINE_DOWNLOAD_FILE\", {\n slug: \"shipengine-download-file\",\n name: \"Download File\",\n description: \"Tool to download a file from ShipEngine. Use when you need to retrieve a label PDF or other document from the ShipEngine downloads endpoint.\",\n input: ShipengineDownloadFileInput,\n output: ShipengineDownloadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAA8D,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-account-image-by-id.ts
4
+ const ShipengineGetAccountImageByIdInput = zod.z.object({ label_image_id: zod.z.string().describe("Unique label image ID to retrieve the account image settings") }).describe("Request model for retrieving an account image by its label image ID.");
5
+ const ShipengineGetAccountImageByIdOutput = zod.z.object({
6
+ name: zod.z.string().describe("Name of the account image"),
7
+ created_at: zod.z.string().describe("Timestamp when the image was created (ISO 8601 format)").nullable().optional(),
8
+ image_data: zod.z.string().describe("Base64-encoded image data"),
9
+ is_default: zod.z.boolean().describe("Whether this image is set as the default account image"),
10
+ modified_at: zod.z.string().describe("Timestamp when the image was last modified (ISO 8601 format)").nullable().optional(),
11
+ label_image_id: zod.z.string().describe("Unique identifier for the label image").nullable().optional(),
12
+ image_content_type: zod.z.string().describe("MIME type of the image (e.g., image/png, image/jpeg)").nullable().optional()
13
+ }).describe("Response model for retrieving an account image by ID.");
14
+ const shipengineGetAccountImageById = require_action.action("SHIPENGINE_GET_ACCOUNT_IMAGE_BY_ID", {
15
+ slug: "shipengine-get-account-image-by-id",
16
+ name: "Get Account Image by ID",
17
+ description: "Tool to retrieve account image settings by label image ID. Use when you need to fetch image data for labels or display account branding information.",
18
+ input: ShipengineGetAccountImageByIdInput,
19
+ output: ShipengineGetAccountImageByIdOutput
20
+ });
21
+ //#endregion
22
+ exports.shipengineGetAccountImageById = shipengineGetAccountImageById;
23
+
24
+ //# sourceMappingURL=get-account-image-by-id.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-image-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-account-image-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetAccountImageByIdInput: z.ZodTypeAny = z.object({\n label_image_id: z.string().describe(\"Unique label image ID to retrieve the account image settings\"),\n}).describe(\"Request model for retrieving an account image by its label image ID.\");\nexport const ShipengineGetAccountImageByIdOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the account image\"),\n created_at: z.string().describe(\"Timestamp when the image was created (ISO 8601 format)\").nullable().optional(),\n image_data: z.string().describe(\"Base64-encoded image data\"),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image\"),\n modified_at: z.string().describe(\"Timestamp when the image was last modified (ISO 8601 format)\").nullable().optional(),\n label_image_id: z.string().describe(\"Unique identifier for the label image\").nullable().optional(),\n image_content_type: z.string().describe(\"MIME type of the image (e.g., image/png, image/jpeg)\").nullable().optional(),\n}).describe(\"Response model for retrieving an account image by ID.\");\n\nexport const shipengineGetAccountImageById = action(\"SHIPENGINE_GET_ACCOUNT_IMAGE_BY_ID\", {\n slug: \"shipengine-get-account-image-by-id\",\n name: \"Get Account Image by ID\",\n description: \"Tool to retrieve account image settings by label image ID. Use when you need to fetch image data for labels or display account branding information.\",\n input: ShipengineGetAccountImageByIdInput,\n output: ShipengineGetAccountImageByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACpG,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-account-image-by-id.d.ts
4
+ declare const ShipengineGetAccountImageByIdInput: z.ZodTypeAny;
5
+ declare const ShipengineGetAccountImageByIdOutput: z.ZodTypeAny;
6
+ declare const shipengineGetAccountImageById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineGetAccountImageById };
9
+ //# sourceMappingURL=get-account-image-by-id.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-image-by-id.d.cts","names":[],"sources":["../../src/actions/get-account-image-by-id.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEgC;AAAA,cACtE,mCAAA,EAAqC,CAAA,CAAE,UAQgB;AAAA,cAEvD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-account-image-by-id.d.ts
4
+ declare const ShipengineGetAccountImageByIdInput: z.ZodTypeAny;
5
+ declare const ShipengineGetAccountImageByIdOutput: z.ZodTypeAny;
6
+ declare const shipengineGetAccountImageById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineGetAccountImageById };
9
+ //# sourceMappingURL=get-account-image-by-id.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-image-by-id.d.mts","names":[],"sources":["../../src/actions/get-account-image-by-id.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEgC;AAAA,cACtE,mCAAA,EAAqC,CAAA,CAAE,UAQgB;AAAA,cAEvD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const shipengineGetAccountImageById = action("SHIPENGINE_GET_ACCOUNT_IMAGE_BY_ID", {
4
+ slug: "shipengine-get-account-image-by-id",
5
+ name: "Get Account Image by ID",
6
+ description: "Tool to retrieve account image settings by label image ID. Use when you need to fetch image data for labels or display account branding information.",
7
+ input: z.object({ label_image_id: z.string().describe("Unique label image ID to retrieve the account image settings") }).describe("Request model for retrieving an account image by its label image ID."),
8
+ output: z.object({
9
+ name: z.string().describe("Name of the account image"),
10
+ created_at: z.string().describe("Timestamp when the image was created (ISO 8601 format)").nullable().optional(),
11
+ image_data: z.string().describe("Base64-encoded image data"),
12
+ is_default: z.boolean().describe("Whether this image is set as the default account image"),
13
+ modified_at: z.string().describe("Timestamp when the image was last modified (ISO 8601 format)").nullable().optional(),
14
+ label_image_id: z.string().describe("Unique identifier for the label image").nullable().optional(),
15
+ image_content_type: z.string().describe("MIME type of the image (e.g., image/png, image/jpeg)").nullable().optional()
16
+ }).describe("Response model for retrieving an account image by ID.")
17
+ });
18
+ //#endregion
19
+ export { shipengineGetAccountImageById };
20
+
21
+ //# sourceMappingURL=get-account-image-by-id.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-image-by-id.mjs","names":[],"sources":["../../src/actions/get-account-image-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetAccountImageByIdInput: z.ZodTypeAny = z.object({\n label_image_id: z.string().describe(\"Unique label image ID to retrieve the account image settings\"),\n}).describe(\"Request model for retrieving an account image by its label image ID.\");\nexport const ShipengineGetAccountImageByIdOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the account image\"),\n created_at: z.string().describe(\"Timestamp when the image was created (ISO 8601 format)\").nullable().optional(),\n image_data: z.string().describe(\"Base64-encoded image data\"),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image\"),\n modified_at: z.string().describe(\"Timestamp when the image was last modified (ISO 8601 format)\").nullable().optional(),\n label_image_id: z.string().describe(\"Unique identifier for the label image\").nullable().optional(),\n image_content_type: z.string().describe(\"MIME type of the image (e.g., image/png, image/jpeg)\").nullable().optional(),\n}).describe(\"Response model for retrieving an account image by ID.\");\n\nexport const shipengineGetAccountImageById = action(\"SHIPENGINE_GET_ACCOUNT_IMAGE_BY_ID\", {\n slug: \"shipengine-get-account-image-by-id\",\n name: \"Get Account Image by ID\",\n description: \"Tool to retrieve account image settings by label image ID. Use when you need to fetch image data for labels or display account branding information.\",\n input: ShipengineGetAccountImageByIdInput,\n output: ShipengineGetAccountImageByIdOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB8D,EAAE,OAAO,EACvE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACpG,CAAC,CAAC,CAAC,SAAS,sEAeH;CACP,QAf+D,EAAE,OAAO;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,38 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-batch-by-external-id.ts
4
+ const ShipengineGetBatchByExternalIdInput = zod.z.object({ external_batch_id: zod.z.string().describe("External batch ID assigned by the client or external system to identify the batch") }).describe("Request model for retrieving a batch by its external batch ID.");
5
+ const ShipengineGetBatchByExternalIdOutput = zod.z.object({
6
+ count: zod.z.number().int().describe("Total number of shipments in the batch"),
7
+ forms: zod.z.number().int().describe("Number of forms in the batch"),
8
+ errors: zod.z.number().int().describe("Number of errors encountered during batch processing"),
9
+ status: zod.z.string().describe("Current status of the batch"),
10
+ batch_id: zod.z.string().describe("Unique ShipEngine batch identifier"),
11
+ warnings: zod.z.number().int().describe("Number of warnings encountered during batch processing"),
12
+ completed: zod.z.number().int().describe("Number of completed items in the batch"),
13
+ created_at: zod.z.string().describe("Timestamp when batch was created (ISO 8601 format)"),
14
+ batch_notes: zod.z.string().describe("Notes or description associated with the batch").nullable().optional(),
15
+ batch_number: zod.z.string().describe("Batch number assigned by ShipEngine"),
16
+ label_format: zod.z.string().describe("Format of batch labels (e.g., 'pdf', 'zpl')"),
17
+ label_layout: zod.z.string().describe("Layout format for batch labels (e.g., '4x6')").nullable().optional(),
18
+ processed_at: zod.z.string().describe("Timestamp when batch was processed (ISO 8601 format)").nullable().optional(),
19
+ form_download: zod.z.object({}).describe("Form download information and URLs").nullable().optional(),
20
+ label_download: zod.z.object({}).describe("Label download information and URLs").nullable().optional(),
21
+ process_errors: zod.z.array(zod.z.object({})).describe("List of processing errors that occurred during batch execution").nullable().optional(),
22
+ batch_errors_url: zod.z.object({}).describe("URL object to retrieve batch errors").nullable().optional(),
23
+ batch_labels_url: zod.z.object({}).describe("URL object to download batch labels").nullable().optional(),
24
+ external_batch_id: zod.z.string().describe("External batch ID provided by the client"),
25
+ paperless_download: zod.z.object({}).describe("Paperless download information and URLs").nullable().optional(),
26
+ batch_shipments_url: zod.z.object({}).describe("URL object to retrieve batch shipments").nullable().optional()
27
+ }).describe("Response model for retrieving a batch by external ID.");
28
+ const shipengineGetBatchByExternalId = require_action.action("SHIPENGINE_GET_BATCH_BY_EXTERNAL_ID", {
29
+ slug: "shipengine-get-batch-by-external-id",
30
+ name: "Get Batch by External ID",
31
+ description: "Tool to retrieve batch details using an external batch ID. Use when you need to look up a batch by its client-assigned external identifier rather than ShipEngine's internal batch ID.",
32
+ input: ShipengineGetBatchByExternalIdInput,
33
+ output: ShipengineGetBatchByExternalIdOutput
34
+ });
35
+ //#endregion
36
+ exports.shipengineGetBatchByExternalId = shipengineGetBatchByExternalId;
37
+
38
+ //# sourceMappingURL=get-batch-by-external-id.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-batch-by-external-id.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-by-external-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBatchByExternalIdInput: z.ZodTypeAny = z.object({\n external_batch_id: z.string().describe(\"External batch ID assigned by the client or external system to identify the batch\"),\n}).describe(\"Request model for retrieving a batch by its external batch ID.\");\nexport const ShipengineGetBatchByExternalIdOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total number of shipments in the batch\"),\n forms: z.number().int().describe(\"Number of forms in the batch\"),\n errors: z.number().int().describe(\"Number of errors encountered during batch processing\"),\n status: z.string().describe(\"Current status of the batch\"),\n batch_id: z.string().describe(\"Unique ShipEngine batch identifier\"),\n warnings: z.number().int().describe(\"Number of warnings encountered during batch processing\"),\n completed: z.number().int().describe(\"Number of completed items in the batch\"),\n created_at: z.string().describe(\"Timestamp when batch was created (ISO 8601 format)\"),\n batch_notes: z.string().describe(\"Notes or description associated with the batch\").nullable().optional(),\n batch_number: z.string().describe(\"Batch number assigned by ShipEngine\"),\n label_format: z.string().describe(\"Format of batch labels (e.g., 'pdf', 'zpl')\"),\n label_layout: z.string().describe(\"Layout format for batch labels (e.g., '4x6')\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when batch was processed (ISO 8601 format)\").nullable().optional(),\n form_download: z.object({}).describe(\"Form download information and URLs\").nullable().optional(),\n label_download: z.object({}).describe(\"Label download information and URLs\").nullable().optional(),\n process_errors: z.array(z.object({})).describe(\"List of processing errors that occurred during batch execution\").nullable().optional(),\n batch_errors_url: z.object({}).describe(\"URL object to retrieve batch errors\").nullable().optional(),\n batch_labels_url: z.object({}).describe(\"URL object to download batch labels\").nullable().optional(),\n external_batch_id: z.string().describe(\"External batch ID provided by the client\"),\n paperless_download: z.object({}).describe(\"Paperless download information and URLs\").nullable().optional(),\n batch_shipments_url: z.object({}).describe(\"URL object to retrieve batch shipments\").nullable().optional(),\n}).describe(\"Response model for retrieving a batch by external ID.\");\n\nexport const shipengineGetBatchByExternalId = action(\"SHIPENGINE_GET_BATCH_BY_EXTERNAL_ID\", {\n slug: \"shipengine-get-batch-by-external-id\",\n name: \"Get Batch by External ID\",\n description: \"Tool to retrieve batch details using an external batch ID. Use when you need to look up a batch by its client-assigned external identifier rather than ShipEngine's internal batch ID.\",\n input: ShipengineGetBatchByExternalIdInput,\n output: ShipengineGetBatchByExternalIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EAC5H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACjF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-batch-by-external-id.d.ts
4
+ declare const ShipengineGetBatchByExternalIdInput: z.ZodTypeAny;
5
+ declare const ShipengineGetBatchByExternalIdOutput: z.ZodTypeAny;
6
+ declare const shipengineGetBatchByExternalId: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineGetBatchByExternalId };
9
+ //# sourceMappingURL=get-batch-by-external-id.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-batch-by-external-id.d.cts","names":[],"sources":["../../src/actions/get-batch-by-external-id.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEyB;AAAA,cAChE,oCAAA,EAAsC,CAAA,CAAE,UAsBe;AAAA,cAEvD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-batch-by-external-id.d.ts
4
+ declare const ShipengineGetBatchByExternalIdInput: z.ZodTypeAny;
5
+ declare const ShipengineGetBatchByExternalIdOutput: z.ZodTypeAny;
6
+ declare const shipengineGetBatchByExternalId: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineGetBatchByExternalId };
9
+ //# sourceMappingURL=get-batch-by-external-id.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-batch-by-external-id.d.mts","names":[],"sources":["../../src/actions/get-batch-by-external-id.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEyB;AAAA,cAChE,oCAAA,EAAsC,CAAA,CAAE,UAsBe;AAAA,cAEvD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,35 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const shipengineGetBatchByExternalId = action("SHIPENGINE_GET_BATCH_BY_EXTERNAL_ID", {
4
+ slug: "shipengine-get-batch-by-external-id",
5
+ name: "Get Batch by External ID",
6
+ description: "Tool to retrieve batch details using an external batch ID. Use when you need to look up a batch by its client-assigned external identifier rather than ShipEngine's internal batch ID.",
7
+ input: z.object({ external_batch_id: z.string().describe("External batch ID assigned by the client or external system to identify the batch") }).describe("Request model for retrieving a batch by its external batch ID."),
8
+ output: z.object({
9
+ count: z.number().int().describe("Total number of shipments in the batch"),
10
+ forms: z.number().int().describe("Number of forms in the batch"),
11
+ errors: z.number().int().describe("Number of errors encountered during batch processing"),
12
+ status: z.string().describe("Current status of the batch"),
13
+ batch_id: z.string().describe("Unique ShipEngine batch identifier"),
14
+ warnings: z.number().int().describe("Number of warnings encountered during batch processing"),
15
+ completed: z.number().int().describe("Number of completed items in the batch"),
16
+ created_at: z.string().describe("Timestamp when batch was created (ISO 8601 format)"),
17
+ batch_notes: z.string().describe("Notes or description associated with the batch").nullable().optional(),
18
+ batch_number: z.string().describe("Batch number assigned by ShipEngine"),
19
+ label_format: z.string().describe("Format of batch labels (e.g., 'pdf', 'zpl')"),
20
+ label_layout: z.string().describe("Layout format for batch labels (e.g., '4x6')").nullable().optional(),
21
+ processed_at: z.string().describe("Timestamp when batch was processed (ISO 8601 format)").nullable().optional(),
22
+ form_download: z.object({}).describe("Form download information and URLs").nullable().optional(),
23
+ label_download: z.object({}).describe("Label download information and URLs").nullable().optional(),
24
+ process_errors: z.array(z.object({})).describe("List of processing errors that occurred during batch execution").nullable().optional(),
25
+ batch_errors_url: z.object({}).describe("URL object to retrieve batch errors").nullable().optional(),
26
+ batch_labels_url: z.object({}).describe("URL object to download batch labels").nullable().optional(),
27
+ external_batch_id: z.string().describe("External batch ID provided by the client"),
28
+ paperless_download: z.object({}).describe("Paperless download information and URLs").nullable().optional(),
29
+ batch_shipments_url: z.object({}).describe("URL object to retrieve batch shipments").nullable().optional()
30
+ }).describe("Response model for retrieving a batch by external ID.")
31
+ });
32
+ //#endregion
33
+ export { shipengineGetBatchByExternalId };
34
+
35
+ //# sourceMappingURL=get-batch-by-external-id.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-batch-by-external-id.mjs","names":[],"sources":["../../src/actions/get-batch-by-external-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBatchByExternalIdInput: z.ZodTypeAny = z.object({\n external_batch_id: z.string().describe(\"External batch ID assigned by the client or external system to identify the batch\"),\n}).describe(\"Request model for retrieving a batch by its external batch ID.\");\nexport const ShipengineGetBatchByExternalIdOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total number of shipments in the batch\"),\n forms: z.number().int().describe(\"Number of forms in the batch\"),\n errors: z.number().int().describe(\"Number of errors encountered during batch processing\"),\n status: z.string().describe(\"Current status of the batch\"),\n batch_id: z.string().describe(\"Unique ShipEngine batch identifier\"),\n warnings: z.number().int().describe(\"Number of warnings encountered during batch processing\"),\n completed: z.number().int().describe(\"Number of completed items in the batch\"),\n created_at: z.string().describe(\"Timestamp when batch was created (ISO 8601 format)\"),\n batch_notes: z.string().describe(\"Notes or description associated with the batch\").nullable().optional(),\n batch_number: z.string().describe(\"Batch number assigned by ShipEngine\"),\n label_format: z.string().describe(\"Format of batch labels (e.g., 'pdf', 'zpl')\"),\n label_layout: z.string().describe(\"Layout format for batch labels (e.g., '4x6')\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when batch was processed (ISO 8601 format)\").nullable().optional(),\n form_download: z.object({}).describe(\"Form download information and URLs\").nullable().optional(),\n label_download: z.object({}).describe(\"Label download information and URLs\").nullable().optional(),\n process_errors: z.array(z.object({})).describe(\"List of processing errors that occurred during batch execution\").nullable().optional(),\n batch_errors_url: z.object({}).describe(\"URL object to retrieve batch errors\").nullable().optional(),\n batch_labels_url: z.object({}).describe(\"URL object to download batch labels\").nullable().optional(),\n external_batch_id: z.string().describe(\"External batch ID provided by the client\"),\n paperless_download: z.object({}).describe(\"Paperless download information and URLs\").nullable().optional(),\n batch_shipments_url: z.object({}).describe(\"URL object to retrieve batch shipments\").nullable().optional(),\n}).describe(\"Response model for retrieving a batch by external ID.\");\n\nexport const shipengineGetBatchByExternalId = action(\"SHIPENGINE_GET_BATCH_BY_EXTERNAL_ID\", {\n slug: \"shipengine-get-batch-by-external-id\",\n name: \"Get Batch by External ID\",\n description: \"Tool to retrieve batch details using an external batch ID. Use when you need to look up a batch by its client-assigned external identifier rather than ShipEngine's internal batch ID.\",\n input: ShipengineGetBatchByExternalIdInput,\n output: ShipengineGetBatchByExternalIdOutput,\n});\n"],"mappings":";;AA+BA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/B+D,EAAE,OAAO,EACxE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EAC5H,CAAC,CAAC,CAAC,SAAS,gEA6BH;CACP,QA7BgE,EAAE,OAAO;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,kBAAkB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACjF,oBAAoB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,qBAAqB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,43 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-batch-by-id.ts
4
+ const ShipengineGetBatchByIdInput = zod.z.object({ batch_id: zod.z.string().describe("Unique ShipEngine batch ID, must begin with 'se-' followed by alphanumeric characters") }).describe("Request model for retrieving a batch by its ShipEngine ID.");
5
+ const ShipengineGetBatchById_UrlObjectSchema = zod.z.object({ href: zod.z.string().describe("The URL string") }).describe("Model for URL objects returned by the API.");
6
+ const ShipengineGetBatchById_ProcessErrorSchema = zod.z.object({
7
+ message: zod.z.string().describe("Error message").nullable().optional(),
8
+ error_code: zod.z.string().describe("Error code").nullable().optional()
9
+ }).describe("Model for a batch processing error.");
10
+ const ShipengineGetBatchByIdOutput = zod.z.object({
11
+ count: zod.z.number().int().default(0).describe("Total number of shipments in the batch").nullable().optional(),
12
+ forms: zod.z.number().int().default(0).describe("Number of forms in the batch").nullable().optional(),
13
+ errors: zod.z.number().int().default(0).describe("Number of errors in the batch").nullable().optional(),
14
+ status: zod.z.string().describe("Current status of the batch").nullable().optional(),
15
+ batch_id: zod.z.string().describe("Unique identifier for the batch"),
16
+ warnings: zod.z.number().int().default(0).describe("Number of warnings in the batch").nullable().optional(),
17
+ completed: zod.z.number().int().default(0).describe("Number of completed items in the batch").nullable().optional(),
18
+ created_at: zod.z.string().describe("Timestamp when the batch was created (ISO 8601)"),
19
+ batch_notes: zod.z.string().describe("Notes associated with the batch").nullable().optional(),
20
+ batch_number: zod.z.string().describe("Batch number"),
21
+ label_format: zod.z.string().describe("Format of the batch labels (e.g., 'pdf', 'zpl')").nullable().optional(),
22
+ label_layout: zod.z.string().describe("Layout of the batch labels").nullable().optional(),
23
+ processed_at: zod.z.string().describe("Timestamp when the batch was processed (ISO 8601)").nullable().optional(),
24
+ form_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),
25
+ label_download: zod.z.object({}).describe("Dict with label download URLs (pdf, zpl, href)").nullable().optional(),
26
+ process_errors: zod.z.array(ShipengineGetBatchById_ProcessErrorSchema).describe("List of processing errors").nullable().optional(),
27
+ batch_errors_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),
28
+ batch_labels_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),
29
+ external_batch_id: zod.z.string().describe("External ID for the batch").nullable().optional(),
30
+ paperless_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),
31
+ batch_shipments_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional()
32
+ }).describe("Response model for retrieving a batch by ID.");
33
+ const shipengineGetBatchById = require_action.action("SHIPENGINE_GET_BATCH_BY_ID", {
34
+ slug: "shipengine-get-batch-by-id",
35
+ name: "Get Batch by ID",
36
+ description: "Tool to retrieve detailed information about a specific batch by its ID. Use when you need to check batch status, download labels, or view errors.",
37
+ input: ShipengineGetBatchByIdInput,
38
+ output: ShipengineGetBatchByIdOutput
39
+ });
40
+ //#endregion
41
+ exports.shipengineGetBatchById = shipengineGetBatchById;
42
+
43
+ //# sourceMappingURL=get-batch-by-id.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-batch-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBatchByIdInput: z.ZodTypeAny = z.object({\n batch_id: z.string().describe(\"Unique ShipEngine batch ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for retrieving a batch by its ShipEngine ID.\");\nconst ShipengineGetBatchById_UrlObjectSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"The URL string\"),\n}).describe(\"Model for URL objects returned by the API.\");\nconst ShipengineGetBatchById_ProcessErrorSchema: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code\").nullable().optional(),\n}).describe(\"Model for a batch processing error.\");\nexport const ShipengineGetBatchByIdOutput: z.ZodTypeAny = z.object({\n count: z.number().int().default(0).describe(\"Total number of shipments in the batch\").nullable().optional(),\n forms: z.number().int().default(0).describe(\"Number of forms in the batch\").nullable().optional(),\n errors: z.number().int().default(0).describe(\"Number of errors in the batch\").nullable().optional(),\n status: z.string().describe(\"Current status of the batch\").nullable().optional(),\n batch_id: z.string().describe(\"Unique identifier for the batch\"),\n warnings: z.number().int().default(0).describe(\"Number of warnings in the batch\").nullable().optional(),\n completed: z.number().int().default(0).describe(\"Number of completed items in the batch\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the batch was created (ISO 8601)\"),\n batch_notes: z.string().describe(\"Notes associated with the batch\").nullable().optional(),\n batch_number: z.string().describe(\"Batch number\"),\n label_format: z.string().describe(\"Format of the batch labels (e.g., 'pdf', 'zpl')\").nullable().optional(),\n label_layout: z.string().describe(\"Layout of the batch labels\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when the batch was processed (ISO 8601)\").nullable().optional(),\n form_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n label_download: z.object({}).describe(\"Dict with label download URLs (pdf, zpl, href)\").nullable().optional(),\n process_errors: z.array(ShipengineGetBatchById_ProcessErrorSchema).describe(\"List of processing errors\").nullable().optional(),\n batch_errors_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_labels_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n external_batch_id: z.string().describe(\"External ID for the batch\").nullable().optional(),\n paperless_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_shipments_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n}).describe(\"Response model for retrieving a batch by ID.\");\n\nexport const shipengineGetBatchById = action(\"SHIPENGINE_GET_BATCH_BY_ID\", {\n slug: \"shipengine-get-batch-by-id\",\n name: \"Get Batch by ID\",\n description: \"Tool to retrieve detailed information about a specific batch by its ID. Use when you need to check batch status, download labels, or view errors.\",\n input: ShipengineGetBatchByIdInput,\n output: ShipengineGetBatchByIdOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-batch-by-id.d.ts
4
+ declare const ShipengineGetBatchByIdInput: z.ZodTypeAny;
5
+ declare const ShipengineGetBatchByIdOutput: z.ZodTypeAny;
6
+ declare const shipengineGetBatchById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineGetBatchById };
9
+ //# sourceMappingURL=get-batch-by-id.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-batch-by-id.d.cts","names":[],"sources":["../../src/actions/get-batch-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE6B;AAAA,cAQ5D,4BAAA,EAA8B,CAAA,CAAE,UAsBc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-batch-by-id.d.ts
4
+ declare const ShipengineGetBatchByIdInput: z.ZodTypeAny;
5
+ declare const ShipengineGetBatchByIdOutput: z.ZodTypeAny;
6
+ declare const shipengineGetBatchById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineGetBatchById };
9
+ //# sourceMappingURL=get-batch-by-id.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-batch-by-id.d.mts","names":[],"sources":["../../src/actions/get-batch-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE6B;AAAA,cAQ5D,4BAAA,EAA8B,CAAA,CAAE,UAsBc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,42 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-batch-by-id.ts
4
+ const ShipengineGetBatchByIdInput = z.object({ batch_id: z.string().describe("Unique ShipEngine batch ID, must begin with 'se-' followed by alphanumeric characters") }).describe("Request model for retrieving a batch by its ShipEngine ID.");
5
+ const ShipengineGetBatchById_UrlObjectSchema = z.object({ href: z.string().describe("The URL string") }).describe("Model for URL objects returned by the API.");
6
+ const ShipengineGetBatchById_ProcessErrorSchema = z.object({
7
+ message: z.string().describe("Error message").nullable().optional(),
8
+ error_code: z.string().describe("Error code").nullable().optional()
9
+ }).describe("Model for a batch processing error.");
10
+ const shipengineGetBatchById = action("SHIPENGINE_GET_BATCH_BY_ID", {
11
+ slug: "shipengine-get-batch-by-id",
12
+ name: "Get Batch by ID",
13
+ description: "Tool to retrieve detailed information about a specific batch by its ID. Use when you need to check batch status, download labels, or view errors.",
14
+ input: ShipengineGetBatchByIdInput,
15
+ output: z.object({
16
+ count: z.number().int().default(0).describe("Total number of shipments in the batch").nullable().optional(),
17
+ forms: z.number().int().default(0).describe("Number of forms in the batch").nullable().optional(),
18
+ errors: z.number().int().default(0).describe("Number of errors in the batch").nullable().optional(),
19
+ status: z.string().describe("Current status of the batch").nullable().optional(),
20
+ batch_id: z.string().describe("Unique identifier for the batch"),
21
+ warnings: z.number().int().default(0).describe("Number of warnings in the batch").nullable().optional(),
22
+ completed: z.number().int().default(0).describe("Number of completed items in the batch").nullable().optional(),
23
+ created_at: z.string().describe("Timestamp when the batch was created (ISO 8601)"),
24
+ batch_notes: z.string().describe("Notes associated with the batch").nullable().optional(),
25
+ batch_number: z.string().describe("Batch number"),
26
+ label_format: z.string().describe("Format of the batch labels (e.g., 'pdf', 'zpl')").nullable().optional(),
27
+ label_layout: z.string().describe("Layout of the batch labels").nullable().optional(),
28
+ processed_at: z.string().describe("Timestamp when the batch was processed (ISO 8601)").nullable().optional(),
29
+ form_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),
30
+ label_download: z.object({}).describe("Dict with label download URLs (pdf, zpl, href)").nullable().optional(),
31
+ process_errors: z.array(ShipengineGetBatchById_ProcessErrorSchema).describe("List of processing errors").nullable().optional(),
32
+ batch_errors_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),
33
+ batch_labels_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),
34
+ external_batch_id: z.string().describe("External ID for the batch").nullable().optional(),
35
+ paperless_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),
36
+ batch_shipments_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional()
37
+ }).describe("Response model for retrieving a batch by ID.")
38
+ });
39
+ //#endregion
40
+ export { shipengineGetBatchById };
41
+
42
+ //# sourceMappingURL=get-batch-by-id.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-batch-by-id.mjs","names":[],"sources":["../../src/actions/get-batch-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBatchByIdInput: z.ZodTypeAny = z.object({\n batch_id: z.string().describe(\"Unique ShipEngine batch ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for retrieving a batch by its ShipEngine ID.\");\nconst ShipengineGetBatchById_UrlObjectSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"The URL string\"),\n}).describe(\"Model for URL objects returned by the API.\");\nconst ShipengineGetBatchById_ProcessErrorSchema: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code\").nullable().optional(),\n}).describe(\"Model for a batch processing error.\");\nexport const ShipengineGetBatchByIdOutput: z.ZodTypeAny = z.object({\n count: z.number().int().default(0).describe(\"Total number of shipments in the batch\").nullable().optional(),\n forms: z.number().int().default(0).describe(\"Number of forms in the batch\").nullable().optional(),\n errors: z.number().int().default(0).describe(\"Number of errors in the batch\").nullable().optional(),\n status: z.string().describe(\"Current status of the batch\").nullable().optional(),\n batch_id: z.string().describe(\"Unique identifier for the batch\"),\n warnings: z.number().int().default(0).describe(\"Number of warnings in the batch\").nullable().optional(),\n completed: z.number().int().default(0).describe(\"Number of completed items in the batch\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the batch was created (ISO 8601)\"),\n batch_notes: z.string().describe(\"Notes associated with the batch\").nullable().optional(),\n batch_number: z.string().describe(\"Batch number\"),\n label_format: z.string().describe(\"Format of the batch labels (e.g., 'pdf', 'zpl')\").nullable().optional(),\n label_layout: z.string().describe(\"Layout of the batch labels\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when the batch was processed (ISO 8601)\").nullable().optional(),\n form_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n label_download: z.object({}).describe(\"Dict with label download URLs (pdf, zpl, href)\").nullable().optional(),\n process_errors: z.array(ShipengineGetBatchById_ProcessErrorSchema).describe(\"List of processing errors\").nullable().optional(),\n batch_errors_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_labels_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n external_batch_id: z.string().describe(\"External ID for the batch\").nullable().optional(),\n paperless_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_shipments_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n}).describe(\"Response model for retrieving a batch by ID.\");\n\nexport const shipengineGetBatchById = action(\"SHIPENGINE_GET_BATCH_BY_ID\", {\n slug: \"shipengine-get-batch-by-id\",\n name: \"Get Batch by ID\",\n description: \"Tool to retrieve detailed information about a specific batch by its ID. Use when you need to check batch status, download labels, or view errors.\",\n input: ShipengineGetBatchByIdInput,\n output: ShipengineGetBatchByIdOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-batch-errors.ts
4
+ const ShipengineGetBatchErrorsInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Return a specific page of results. Defaults to the first page. If set to a number greater than the number of pages of results, an empty page is returned.").optional(),
6
+ batch_id: zod.z.string().describe("Unique ShipEngine batch ID to retrieve errors for, must begin with 'se-' followed by alphanumeric characters."),
7
+ pagesize: zod.z.number().int().describe("Number of results to return per page.").optional()
8
+ });
9
+ const ShipengineGetBatchErrors_LinkObjectSchema = zod.z.object({ href: zod.z.string().describe("URL for the link.").nullable().optional() });
10
+ const ShipengineGetBatchErrors_PaginationLinkSchema = zod.z.object({
11
+ last: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),
12
+ next: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),
13
+ prev: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),
14
+ first: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional()
15
+ });
16
+ const ShipengineGetBatchErrors_BatchErrorDetailsSchema = zod.z.object({
17
+ error: zod.z.string().describe("Error message describing what went wrong during batch processing.").nullable().optional(),
18
+ shipment_id: zod.z.string().describe("Shipment identifier associated with the error.").nullable().optional(),
19
+ external_shipment_id: zod.z.string().describe("External shipment identifier associated with the error.").nullable().optional()
20
+ });
21
+ const ShipengineGetBatchErrorsOutput = zod.z.object({
22
+ links: ShipengineGetBatchErrors_PaginationLinkSchema.nullable(),
23
+ errors: zod.z.array(ShipengineGetBatchErrors_BatchErrorDetailsSchema).default([]).describe("List of errors that occurred during batch processing.").nullable().optional()
24
+ });
25
+ const shipengineGetBatchErrors = require_action.action("SHIPENGINE_GET_BATCH_ERRORS", {
26
+ slug: "shipengine-get-batch-errors",
27
+ name: "Get Batch Errors",
28
+ description: "Tool to retrieve errors that occurred during batch processing. Use when you need to investigate or troubleshoot issues with a specific batch.",
29
+ input: ShipengineGetBatchErrorsInput,
30
+ output: ShipengineGetBatchErrorsOutput
31
+ });
32
+ //#endregion
33
+ exports.shipengineGetBatchErrors = shipengineGetBatchErrors;
34
+
35
+ //# sourceMappingURL=get-batch-errors.cjs.map