@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,125 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-shipments2.ts
4
+ const ShipengineListShipments2Input = z.object({
5
+ tag: z.string().describe("Search for shipments based on the custom tag added to the shipment object.").optional(),
6
+ page: z.number().int().default(1).describe("Return a specific page of results. Defaults to the first page. If set to a number that's greater than the number of pages of results, an empty page is returned.").optional(),
7
+ sort_by: z.enum(["modified_at", "created_at"]).describe("Possible sort by values for shipments.").optional(),
8
+ batch_id: z.string().describe("Filter shipments by batch ID.").optional(),
9
+ sort_dir: z.string().default("desc").describe("Controls the sort order of the query (asc or desc). Defaults to desc.").optional(),
10
+ page_size: z.number().int().default(25).describe("The number of results to return per response.").optional(),
11
+ created_at_end: z.string().describe("Filter shipments created before this timestamp (ISO 8601 format). Used to create a filter for when a resource was created.").optional(),
12
+ sales_order_id: z.string().describe("Filter shipments by sales order ID.").optional(),
13
+ modified_at_end: z.string().describe("Filter shipments modified before this timestamp (ISO 8601 format). Used to create a filter for when a resource was modified.").optional(),
14
+ shipment_status: z.enum([
15
+ "pending",
16
+ "processing",
17
+ "label_purchased",
18
+ "cancelled"
19
+ ]).describe("Possible shipment status values.").optional(),
20
+ created_at_start: z.string().describe("Filter shipments created after this timestamp (ISO 8601 format). Used to create a filter for when a resource was created.").optional(),
21
+ modified_at_start: z.string().describe("Filter shipments modified after this timestamp (ISO 8601 format). Used to create a filter for when a resource was modified.").optional()
22
+ }).describe("Parameters for listing shipments with optional filtering parameters.");
23
+ const ShipengineListShipments2_PaginationLinkSchema = z.object({
24
+ last: z.unknown().describe("Link to the last page.").nullable().optional(),
25
+ next: z.unknown().describe("Link to the next page.").nullable().optional(),
26
+ prev: z.unknown().describe("Link to the previous page.").nullable().optional(),
27
+ first: z.unknown().describe("Link to the first page.").nullable().optional()
28
+ }).describe("Pagination links for navigating through pages.");
29
+ const ShipengineListShipments2_CustomsSchema = z.object({
30
+ contents: z.string().describe("Contents type (e.g., merchandise, documents).").nullable().optional(),
31
+ non_delivery: z.string().describe("Non-delivery option.").nullable().optional(),
32
+ customs_items: z.array(z.unknown()).describe("List of customs items.").nullable().optional()
33
+ }).describe("Customs information.");
34
+ const ShipengineListShipments2_AddressInfoSchema = z.object({
35
+ name: z.string().describe("Recipient name.").nullable().optional(),
36
+ email: z.string().describe("Email address.").nullable().optional(),
37
+ phone: z.string().describe("Phone number.").nullable().optional(),
38
+ postal_code: z.string().describe("Postal or ZIP code.").nullable().optional(),
39
+ company_name: z.string().describe("Company name.").nullable().optional(),
40
+ country_code: z.string().describe("Country code (ISO 3166-1 alpha-2).").nullable().optional(),
41
+ address_line1: z.string().describe("Street address.").nullable().optional(),
42
+ address_line2: z.string().describe("Additional address information.").nullable().optional(),
43
+ address_line3: z.string().describe("Additional address information.").nullable().optional(),
44
+ city_locality: z.string().describe("City or locality.").nullable().optional(),
45
+ state_province: z.string().describe("State or province.").nullable().optional(),
46
+ address_residential_indicator: z.string().describe("Indicates if address is residential.").nullable().optional()
47
+ }).describe("Address information for ship_to, ship_from, or return_to.");
48
+ const ShipengineListShipments2_WeightSchema = z.object({
49
+ unit: z.string().describe("Weight unit (e.g., pound, ounce, gram, kilogram).").nullable().optional(),
50
+ value: z.number().describe("Weight value.").nullable().optional()
51
+ }).describe("Weight information.");
52
+ const ShipengineListShipments2_DimensionsSchema = z.object({
53
+ unit: z.string().describe("Unit of measurement (e.g., inch, centimeter).").nullable().optional(),
54
+ width: z.number().describe("Width.").nullable().optional(),
55
+ height: z.number().describe("Height.").nullable().optional(),
56
+ length: z.number().describe("Length.").nullable().optional()
57
+ }).describe("Package dimensions.");
58
+ const ShipengineListShipments2_MonetaryValueSchema = z.object({
59
+ amount: z.number().describe("Amount value.").nullable().optional(),
60
+ currency: z.string().describe("Currency code (e.g., USD, EUR).").nullable().optional()
61
+ }).describe("Monetary value with currency.");
62
+ const ShipengineListShipments2_PackageSchema = z.object({
63
+ weight: ShipengineListShipments2_WeightSchema.nullable().optional(),
64
+ dimensions: ShipengineListShipments2_DimensionsSchema.nullable().optional(),
65
+ package_code: z.string().describe("Package code.").nullable().optional(),
66
+ insured_value: ShipengineListShipments2_MonetaryValueSchema.nullable().optional(),
67
+ label_messages: z.unknown().describe("Label messages.").nullable().optional(),
68
+ external_package_id: z.string().describe("External package ID.").nullable().optional()
69
+ }).describe("Package information.");
70
+ const ShipengineListShipments2_AdvancedOptionsSchema = z.object({
71
+ dry_ice: z.boolean().describe("Whether shipment contains dry ice.").nullable().optional(),
72
+ bill_to_party: z.string().describe("Bill to party.").nullable().optional(),
73
+ custom_field1: z.string().describe("Custom field 1.").nullable().optional(),
74
+ custom_field2: z.string().describe("Custom field 2.").nullable().optional(),
75
+ custom_field3: z.string().describe("Custom field 3.").nullable().optional(),
76
+ freight_class: z.string().describe("Freight class.").nullable().optional(),
77
+ dry_ice_weight: ShipengineListShipments2_WeightSchema.nullable().optional(),
78
+ non_machinable: z.boolean().describe("Whether shipment is non-machinable.").nullable().optional(),
79
+ bill_to_account: z.string().describe("Bill to account number.").nullable().optional(),
80
+ contains_alcohol: z.boolean().describe("Whether shipment contains alcohol.").nullable().optional(),
81
+ saturday_delivery: z.boolean().describe("Whether Saturday delivery is requested.").nullable().optional(),
82
+ bill_to_postal_code: z.string().describe("Bill to postal code.").nullable().optional(),
83
+ delivered_duty_paid: z.boolean().describe("Whether duties are prepaid.").nullable().optional(),
84
+ bill_to_country_code: z.string().describe("Bill to country code.").nullable().optional()
85
+ }).describe("Advanced shipment options.");
86
+ const ShipengineListShipments2_ShipmentSchema = z.object({
87
+ tags: z.array(z.unknown()).describe("Tags associated with the shipment.").nullable().optional(),
88
+ customs: ShipengineListShipments2_CustomsSchema.nullable().optional(),
89
+ ship_to: ShipengineListShipments2_AddressInfoSchema.nullable().optional(),
90
+ packages: z.array(ShipengineListShipments2_PackageSchema).describe("List of packages in the shipment.").nullable().optional(),
91
+ is_return: z.boolean().describe("Whether this is a return shipment.").nullable().optional(),
92
+ return_to: ShipengineListShipments2_AddressInfoSchema.nullable().optional(),
93
+ ship_date: z.string().describe("Date of shipment (ISO 8601).").nullable().optional(),
94
+ ship_from: ShipengineListShipments2_AddressInfoSchema.nullable().optional(),
95
+ carrier_id: z.string().describe("Carrier's unique identifier.").nullable().optional(),
96
+ created_at: z.string().describe("Creation timestamp (ISO 8601)."),
97
+ modified_at: z.string().describe("Last modification timestamp (ISO 8601)."),
98
+ shipment_id: z.string().describe("Unique identifier for the shipment."),
99
+ confirmation: z.string().describe("Confirmation type.").nullable().optional(),
100
+ service_code: z.string().describe("Service code used for the shipment.").nullable().optional(),
101
+ total_weight: ShipengineListShipments2_WeightSchema.nullable().optional(),
102
+ warehouse_id: z.string().describe("Warehouse ID.").nullable().optional(),
103
+ shipment_number: z.string().describe("Shipment number.").nullable().optional(),
104
+ shipment_status: z.string().describe("Status of the shipment.").nullable().optional(),
105
+ advanced_options: ShipengineListShipments2_AdvancedOptionsSchema.nullable().optional(),
106
+ insurance_provider: z.string().describe("Insurance provider.").nullable().optional(),
107
+ external_shipment_id: z.string().describe("External shipment ID.").nullable().optional()
108
+ }).describe("A shipment object.");
109
+ const shipengineListShipments2 = action("SHIPENGINE_LIST_SHIPMENTS2", {
110
+ slug: "shipengine-list-shipments2",
111
+ name: "List Shipments (v2)",
112
+ description: "Tool to list all shipments with optional filtering parameters. Use when you need to retrieve shipments with filters like status, batch, tags, or date ranges.",
113
+ input: ShipengineListShipments2Input,
114
+ output: z.object({
115
+ page: z.number().int().describe("Current page number."),
116
+ links: ShipengineListShipments2_PaginationLinkSchema.nullable(),
117
+ pages: z.number().int().describe("Total number of pages available."),
118
+ total: z.number().int().describe("Total number of shipments returned by the api call."),
119
+ shipments: z.array(ShipengineListShipments2_ShipmentSchema).describe("The list of shipments returned by the api call.")
120
+ }).describe("A list shipment response body.")
121
+ });
122
+ //#endregion
123
+ export { shipengineListShipments2 };
124
+
125
+ //# sourceMappingURL=list-shipments2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-shipments2.mjs","names":[],"sources":["../../src/actions/list-shipments2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListShipments2Input: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Search for shipments based on the custom tag added to the shipment object.\").optional(),\n page: z.number().int().default(1).describe(\"Return a specific page of results. Defaults to the first page. If set to a number that's greater than the number of pages of results, an empty page is returned.\").optional(),\n sort_by: z.enum([\"modified_at\", \"created_at\"]).describe(\"Possible sort by values for shipments.\").optional(),\n batch_id: z.string().describe(\"Filter shipments by batch ID.\").optional(),\n sort_dir: z.string().default(\"desc\").describe(\"Controls the sort order of the query (asc or desc). Defaults to desc.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of results to return per response.\").optional(),\n created_at_end: z.string().describe(\"Filter shipments created before this timestamp (ISO 8601 format). Used to create a filter for when a resource was created.\").optional(),\n sales_order_id: z.string().describe(\"Filter shipments by sales order ID.\").optional(),\n modified_at_end: z.string().describe(\"Filter shipments modified before this timestamp (ISO 8601 format). Used to create a filter for when a resource was modified.\").optional(),\n shipment_status: z.enum([\"pending\", \"processing\", \"label_purchased\", \"cancelled\"]).describe(\"Possible shipment status values.\").optional(),\n created_at_start: z.string().describe(\"Filter shipments created after this timestamp (ISO 8601 format). Used to create a filter for when a resource was created.\").optional(),\n modified_at_start: z.string().describe(\"Filter shipments modified after this timestamp (ISO 8601 format). Used to create a filter for when a resource was modified.\").optional(),\n}).describe(\"Parameters for listing shipments with optional filtering parameters.\");\nconst ShipengineListShipments2_PaginationLinkSchema: z.ZodTypeAny = z.object({\n last: z.unknown().describe(\"Link to the last page.\").nullable().optional(),\n next: z.unknown().describe(\"Link to the next page.\").nullable().optional(),\n prev: z.unknown().describe(\"Link to the previous page.\").nullable().optional(),\n first: z.unknown().describe(\"Link to the first page.\").nullable().optional(),\n}).describe(\"Pagination links for navigating through pages.\");\nconst ShipengineListShipments2_CustomsSchema: z.ZodTypeAny = z.object({\n contents: z.string().describe(\"Contents type (e.g., merchandise, documents).\").nullable().optional(),\n non_delivery: z.string().describe(\"Non-delivery option.\").nullable().optional(),\n customs_items: z.array(z.unknown()).describe(\"List of customs items.\").nullable().optional(),\n}).describe(\"Customs information.\");\nconst ShipengineListShipments2_AddressInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Recipient name.\").nullable().optional(),\n email: z.string().describe(\"Email address.\").nullable().optional(),\n phone: z.string().describe(\"Phone number.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code.\").nullable().optional(),\n company_name: z.string().describe(\"Company name.\").nullable().optional(),\n country_code: z.string().describe(\"Country code (ISO 3166-1 alpha-2).\").nullable().optional(),\n address_line1: z.string().describe(\"Street address.\").nullable().optional(),\n address_line2: z.string().describe(\"Additional address information.\").nullable().optional(),\n address_line3: z.string().describe(\"Additional address information.\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality.\").nullable().optional(),\n state_province: z.string().describe(\"State or province.\").nullable().optional(),\n address_residential_indicator: z.string().describe(\"Indicates if address is residential.\").nullable().optional(),\n}).describe(\"Address information for ship_to, ship_from, or return_to.\");\nconst ShipengineListShipments2_WeightSchema: z.ZodTypeAny = z.object({\n unit: z.string().describe(\"Weight unit (e.g., pound, ounce, gram, kilogram).\").nullable().optional(),\n value: z.number().describe(\"Weight value.\").nullable().optional(),\n}).describe(\"Weight information.\");\nconst ShipengineListShipments2_DimensionsSchema: z.ZodTypeAny = z.object({\n unit: z.string().describe(\"Unit of measurement (e.g., inch, centimeter).\").nullable().optional(),\n width: z.number().describe(\"Width.\").nullable().optional(),\n height: z.number().describe(\"Height.\").nullable().optional(),\n length: z.number().describe(\"Length.\").nullable().optional(),\n}).describe(\"Package dimensions.\");\nconst ShipengineListShipments2_MonetaryValueSchema: z.ZodTypeAny = z.object({\n amount: z.number().describe(\"Amount value.\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR).\").nullable().optional(),\n}).describe(\"Monetary value with currency.\");\nconst ShipengineListShipments2_PackageSchema: z.ZodTypeAny = z.object({\n weight: ShipengineListShipments2_WeightSchema.nullable().optional(),\n dimensions: ShipengineListShipments2_DimensionsSchema.nullable().optional(),\n package_code: z.string().describe(\"Package code.\").nullable().optional(),\n insured_value: ShipengineListShipments2_MonetaryValueSchema.nullable().optional(),\n label_messages: z.unknown().describe(\"Label messages.\").nullable().optional(),\n external_package_id: z.string().describe(\"External package ID.\").nullable().optional(),\n}).describe(\"Package information.\");\nconst ShipengineListShipments2_AdvancedOptionsSchema: z.ZodTypeAny = z.object({\n dry_ice: z.boolean().describe(\"Whether shipment contains dry ice.\").nullable().optional(),\n bill_to_party: z.string().describe(\"Bill to party.\").nullable().optional(),\n custom_field1: z.string().describe(\"Custom field 1.\").nullable().optional(),\n custom_field2: z.string().describe(\"Custom field 2.\").nullable().optional(),\n custom_field3: z.string().describe(\"Custom field 3.\").nullable().optional(),\n freight_class: z.string().describe(\"Freight class.\").nullable().optional(),\n dry_ice_weight: ShipengineListShipments2_WeightSchema.nullable().optional(),\n non_machinable: z.boolean().describe(\"Whether shipment is non-machinable.\").nullable().optional(),\n bill_to_account: z.string().describe(\"Bill to account number.\").nullable().optional(),\n contains_alcohol: z.boolean().describe(\"Whether shipment contains alcohol.\").nullable().optional(),\n saturday_delivery: z.boolean().describe(\"Whether Saturday delivery is requested.\").nullable().optional(),\n bill_to_postal_code: z.string().describe(\"Bill to postal code.\").nullable().optional(),\n delivered_duty_paid: z.boolean().describe(\"Whether duties are prepaid.\").nullable().optional(),\n bill_to_country_code: z.string().describe(\"Bill to country code.\").nullable().optional(),\n}).describe(\"Advanced shipment options.\");\nconst ShipengineListShipments2_ShipmentSchema: z.ZodTypeAny = z.object({\n tags: z.array(z.unknown()).describe(\"Tags associated with the shipment.\").nullable().optional(),\n customs: ShipengineListShipments2_CustomsSchema.nullable().optional(),\n ship_to: ShipengineListShipments2_AddressInfoSchema.nullable().optional(),\n packages: z.array(ShipengineListShipments2_PackageSchema).describe(\"List of packages in the shipment.\").nullable().optional(),\n is_return: z.boolean().describe(\"Whether this is a return shipment.\").nullable().optional(),\n return_to: ShipengineListShipments2_AddressInfoSchema.nullable().optional(),\n ship_date: z.string().describe(\"Date of shipment (ISO 8601).\").nullable().optional(),\n ship_from: ShipengineListShipments2_AddressInfoSchema.nullable().optional(),\n carrier_id: z.string().describe(\"Carrier's unique identifier.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601).\"),\n modified_at: z.string().describe(\"Last modification timestamp (ISO 8601).\"),\n shipment_id: z.string().describe(\"Unique identifier for the shipment.\"),\n confirmation: z.string().describe(\"Confirmation type.\").nullable().optional(),\n service_code: z.string().describe(\"Service code used for the shipment.\").nullable().optional(),\n total_weight: ShipengineListShipments2_WeightSchema.nullable().optional(),\n warehouse_id: z.string().describe(\"Warehouse ID.\").nullable().optional(),\n shipment_number: z.string().describe(\"Shipment number.\").nullable().optional(),\n shipment_status: z.string().describe(\"Status of the shipment.\").nullable().optional(),\n advanced_options: ShipengineListShipments2_AdvancedOptionsSchema.nullable().optional(),\n insurance_provider: z.string().describe(\"Insurance provider.\").nullable().optional(),\n external_shipment_id: z.string().describe(\"External shipment ID.\").nullable().optional(),\n}).describe(\"A shipment object.\");\nexport const ShipengineListShipments2Output: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number.\"),\n links: ShipengineListShipments2_PaginationLinkSchema.nullable(),\n pages: z.number().int().describe(\"Total number of pages available.\"),\n total: z.number().int().describe(\"Total number of shipments returned by the api call.\"),\n shipments: z.array(ShipengineListShipments2_ShipmentSchema).describe(\"The list of shipments returned by the api call.\"),\n}).describe(\"A list shipment response body.\");\n\nexport const shipengineListShipments2 = action(\"SHIPENGINE_LIST_SHIPMENTS2\", {\n slug: \"shipengine-list-shipments2\",\n name: \"List Shipments (v2)\",\n description: \"Tool to list all shipments with optional filtering parameters. Use when you need to retrieve shipments with filters like status, batch, tags, or date ranges.\",\n input: ShipengineListShipments2Input,\n output: ShipengineListShipments2Output,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAChH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACxN,SAAS,EAAE,KAAK,CAAC,eAAe,YAAY,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAChI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAC3K,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC9K,iBAAiB,EAAE,KAAK;EAAC;EAAW;EAAc;EAAmB;CAAW,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC5K,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,sEAAsE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8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0D,EAAE,OAAO;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;EACtD,OAAO,8CAA8C,SAAS;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EACtF,WAAW,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD;CACxH,CAAC,CAAC,CAAC,SAAS,gCAOF;AACV,CAAC"}
@@ -0,0 +1,21 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-tags2.ts
4
+ const ShipengineListTags2Input = zod.z.object({}).describe("Request model for listing tags. No parameters are required.");
5
+ const ShipengineListTags2_TagSchema = zod.z.object({
6
+ name: zod.z.string().describe("Name of the tag. Required field that identifies the tag."),
7
+ color: zod.z.string().describe("Hex code representing the tag's color (e.g., '#ff0000').").nullable().optional(),
8
+ tag_id: zod.z.number().int().describe("Unique identifier for the tag.").nullable().optional()
9
+ }).describe("Tag information.");
10
+ const ShipengineListTags2Output = zod.z.object({ tags: zod.z.array(ShipengineListTags2_TagSchema).describe("The array of tags returned by the API call.").nullable().optional() }).describe("Response containing list of tags.");
11
+ const shipengineListTags2 = require_action.action("SHIPENGINE_LIST_TAGS2", {
12
+ slug: "shipengine-list-tags2",
13
+ name: "List Tags (v2)",
14
+ description: "Tool to list all tags in your account. Use when you need to retrieve all available tags for display or selection purposes.",
15
+ input: ShipengineListTags2Input,
16
+ output: ShipengineListTags2Output
17
+ });
18
+ //#endregion
19
+ exports.shipengineListTags2 = shipengineListTags2;
20
+
21
+ //# sourceMappingURL=list-tags2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tags2.cjs","names":["z","action"],"sources":["../../src/actions/list-tags2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListTags2Input: z.ZodTypeAny = z.object({}).describe(\"Request model for listing tags. No parameters are required.\");\nconst ShipengineListTags2_TagSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the tag. Required field that identifies the tag.\"),\n color: z.string().describe(\"Hex code representing the tag's color (e.g., '#ff0000').\").nullable().optional(),\n tag_id: z.number().int().describe(\"Unique identifier for the tag.\").nullable().optional(),\n}).describe(\"Tag information.\");\nexport const ShipengineListTags2Output: z.ZodTypeAny = z.object({\n tags: z.array(ShipengineListTags2_TagSchema).describe(\"The array of tags returned by the API call.\").nullable().optional(),\n}).describe(\"Response containing list of tags.\");\n\nexport const shipengineListTags2 = action(\"SHIPENGINE_LIST_TAGS2\", {\n slug: \"shipengine-list-tags2\",\n name: \"List Tags (v2)\",\n description: \"Tool to list all tags in your account. Use when you need to retrieve all available tags for display or selection purposes.\",\n input: ShipengineListTags2Input,\n output: ShipengineListTags2Output,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzI,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,kBAAkB;AAC9B,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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/list-tags2.d.ts
4
+ declare const ShipengineListTags2Input: z.ZodTypeAny;
5
+ declare const ShipengineListTags2Output: z.ZodTypeAny;
6
+ declare const shipengineListTags2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineListTags2 };
9
+ //# sourceMappingURL=list-tags2.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tags2.d.cts","names":[],"sources":["../../src/actions/list-tags2.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAAiG;AAAA,cAM7H,yBAAA,EAA2B,CAAA,CAAE,UAEM;AAAA,cAEnC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-tags2.d.ts
4
+ declare const ShipengineListTags2Input: z.ZodTypeAny;
5
+ declare const ShipengineListTags2Output: z.ZodTypeAny;
6
+ declare const shipengineListTags2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineListTags2 };
9
+ //# sourceMappingURL=list-tags2.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tags2.d.mts","names":[],"sources":["../../src/actions/list-tags2.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAAiG;AAAA,cAM7H,yBAAA,EAA2B,CAAA,CAAE,UAEM;AAAA,cAEnC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-tags2.ts
4
+ const ShipengineListTags2Input = z.object({}).describe("Request model for listing tags. No parameters are required.");
5
+ const ShipengineListTags2_TagSchema = z.object({
6
+ name: z.string().describe("Name of the tag. Required field that identifies the tag."),
7
+ color: z.string().describe("Hex code representing the tag's color (e.g., '#ff0000').").nullable().optional(),
8
+ tag_id: z.number().int().describe("Unique identifier for the tag.").nullable().optional()
9
+ }).describe("Tag information.");
10
+ const shipengineListTags2 = action("SHIPENGINE_LIST_TAGS2", {
11
+ slug: "shipengine-list-tags2",
12
+ name: "List Tags (v2)",
13
+ description: "Tool to list all tags in your account. Use when you need to retrieve all available tags for display or selection purposes.",
14
+ input: ShipengineListTags2Input,
15
+ output: z.object({ tags: z.array(ShipengineListTags2_TagSchema).describe("The array of tags returned by the API call.").nullable().optional() }).describe("Response containing list of tags.")
16
+ });
17
+ //#endregion
18
+ export { shipengineListTags2 };
19
+
20
+ //# sourceMappingURL=list-tags2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tags2.mjs","names":[],"sources":["../../src/actions/list-tags2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListTags2Input: z.ZodTypeAny = z.object({}).describe(\"Request model for listing tags. No parameters are required.\");\nconst ShipengineListTags2_TagSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the tag. Required field that identifies the tag.\"),\n color: z.string().describe(\"Hex code representing the tag's color (e.g., '#ff0000').\").nullable().optional(),\n tag_id: z.number().int().describe(\"Unique identifier for the tag.\").nullable().optional(),\n}).describe(\"Tag information.\");\nexport const ShipengineListTags2Output: z.ZodTypeAny = z.object({\n tags: z.array(ShipengineListTags2_TagSchema).describe(\"The array of tags returned by the API call.\").nullable().optional(),\n}).describe(\"Response containing list of tags.\");\n\nexport const shipengineListTags2 = action(\"SHIPENGINE_LIST_TAGS2\", {\n slug: \"shipengine-list-tags2\",\n name: \"List Tags (v2)\",\n description: \"Tool to list all tags in your account. Use when you need to retrieve all available tags for display or selection purposes.\",\n input: ShipengineListTags2Input,\n output: ShipengineListTags2Output,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzI,MAAM,gCAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,kBAAkB;AAK9B,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,MAAM,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3H,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
@@ -0,0 +1,42 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-warehouses.ts
4
+ const ShipengineListWarehousesInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for pagination (starts at 1).").optional(),
6
+ page_size: zod.z.number().int().default(25).describe("Number of results per page (max 500).").optional()
7
+ }).describe("Parameters for listing warehouses.");
8
+ const ShipengineListWarehouses_WarehouseAddressSchema = zod.z.object({
9
+ name: zod.z.string().describe("Name at the address").nullable().optional(),
10
+ phone: zod.z.string().describe("Phone number at the address").nullable().optional(),
11
+ postal_code: zod.z.string().describe("Postal or ZIP code"),
12
+ company_name: zod.z.string().describe("Company name at the address").nullable().optional(),
13
+ country_code: zod.z.string().describe("2-letter ISO country code"),
14
+ address_line1: zod.z.string().describe("Street address (line 1)"),
15
+ address_line2: zod.z.string().describe("Address line 2 (apt, suite, etc.)").nullable().optional(),
16
+ address_line3: zod.z.string().describe("Additional address line").nullable().optional(),
17
+ city_locality: zod.z.string().describe("City or locality"),
18
+ state_province: zod.z.string().describe("State or province"),
19
+ address_residential_indicator: zod.z.enum([
20
+ "yes",
21
+ "no",
22
+ "unknown"
23
+ ]).describe("Indicates whether the address is residential (yes/no/unknown)").nullable().optional()
24
+ }).describe("Address object for warehouse origin.");
25
+ const ShipengineListWarehouses_WarehouseSummarySchema = zod.z.object({
26
+ name: zod.z.string().describe("Warehouse name"),
27
+ is_default: zod.z.boolean().describe("Whether this is your default warehouse"),
28
+ warehouse_id: zod.z.string().describe("Unique ID for the warehouse"),
29
+ origin_address: ShipengineListWarehouses_WarehouseAddressSchema.nullable()
30
+ }).describe("Summary object for a warehouse.");
31
+ const ShipengineListWarehousesOutput = zod.z.object({ warehouses: zod.z.array(ShipengineListWarehouses_WarehouseSummarySchema).describe("List of warehouse objects") }).describe("Response schema for listing warehouses.");
32
+ const shipengineListWarehouses = require_action.action("SHIPENGINE_LIST_WAREHOUSES", {
33
+ slug: "shipengine-list-warehouses",
34
+ name: "List Warehouses",
35
+ description: "Tool to list all warehouses. Use when you need to retrieve warehouse locations with pagination. Call after creating or updating warehouses.",
36
+ input: ShipengineListWarehousesInput,
37
+ output: ShipengineListWarehousesOutput
38
+ });
39
+ //#endregion
40
+ exports.shipengineListWarehouses = shipengineListWarehouses;
41
+
42
+ //# sourceMappingURL=list-warehouses.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-warehouses.cjs","names":["z","action"],"sources":["../../src/actions/list-warehouses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListWarehousesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1).\").optional(),\n page_size: z.number().int().default(25).describe(\"Number of results per page (max 500).\").optional(),\n}).describe(\"Parameters for listing warehouses.\");\nconst ShipengineListWarehouses_WarehouseAddressSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name at the address\").nullable().optional(),\n phone: z.string().describe(\"Phone number at the address\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n company_name: z.string().describe(\"Company name at the address\").nullable().optional(),\n country_code: z.string().describe(\"2-letter ISO country code\"),\n address_line1: z.string().describe(\"Street address (line 1)\"),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").nullable().optional(),\n address_line3: z.string().describe(\"Additional address line\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").nullable().optional(),\n}).describe(\"Address object for warehouse origin.\");\nconst ShipengineListWarehouses_WarehouseSummarySchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Warehouse name\"),\n is_default: z.boolean().describe(\"Whether this is your default warehouse\"),\n warehouse_id: z.string().describe(\"Unique ID for the warehouse\"),\n origin_address: ShipengineListWarehouses_WarehouseAddressSchema.nullable(),\n}).describe(\"Summary object for a warehouse.\");\nexport const ShipengineListWarehousesOutput: z.ZodTypeAny = z.object({\n warehouses: z.array(ShipengineListWarehouses_WarehouseSummarySchema).describe(\"List of warehouse objects\"),\n}).describe(\"Response schema for listing warehouses.\");\n\nexport const shipengineListWarehouses = action(\"SHIPENGINE_LIST_WAREHOUSES\", {\n slug: \"shipengine-list-warehouses\",\n name: \"List Warehouses\",\n description: \"Tool to list all warehouses. Use when you need to retrieve warehouse locations with pagination. Call after creating or updating warehouses.\",\n input: Sh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AC;EAAO;EAAM;CAAS,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC/D,gBAAgB,gDAAgD,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,YAAYA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2BAA2B,EAC3G,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,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/list-warehouses.d.ts
4
+ declare const ShipengineListWarehousesInput: z.ZodTypeAny;
5
+ declare const ShipengineListWarehousesOutput: z.ZodTypeAny;
6
+ declare const shipengineListWarehouses: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineListWarehouses };
9
+ //# sourceMappingURL=list-warehouses.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-warehouses.d.cts","names":[],"sources":["../../src/actions/list-warehouses.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGG;AAAA,cAoBpC,8BAAA,EAAgC,CAAA,CAAE,UAEO;AAAA,cAEzC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-warehouses.d.ts
4
+ declare const ShipengineListWarehousesInput: z.ZodTypeAny;
5
+ declare const ShipengineListWarehousesOutput: z.ZodTypeAny;
6
+ declare const shipengineListWarehouses: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineListWarehouses };
9
+ //# sourceMappingURL=list-warehouses.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-warehouses.d.mts","names":[],"sources":["../../src/actions/list-warehouses.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGG;AAAA,cAoBpC,8BAAA,EAAgC,CAAA,CAAE,UAEO;AAAA,cAEzC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,41 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-warehouses.ts
4
+ const ShipengineListWarehousesInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for pagination (starts at 1).").optional(),
6
+ page_size: z.number().int().default(25).describe("Number of results per page (max 500).").optional()
7
+ }).describe("Parameters for listing warehouses.");
8
+ const ShipengineListWarehouses_WarehouseAddressSchema = z.object({
9
+ name: z.string().describe("Name at the address").nullable().optional(),
10
+ phone: z.string().describe("Phone number at the address").nullable().optional(),
11
+ postal_code: z.string().describe("Postal or ZIP code"),
12
+ company_name: z.string().describe("Company name at the address").nullable().optional(),
13
+ country_code: z.string().describe("2-letter ISO country code"),
14
+ address_line1: z.string().describe("Street address (line 1)"),
15
+ address_line2: z.string().describe("Address line 2 (apt, suite, etc.)").nullable().optional(),
16
+ address_line3: z.string().describe("Additional address line").nullable().optional(),
17
+ city_locality: z.string().describe("City or locality"),
18
+ state_province: z.string().describe("State or province"),
19
+ address_residential_indicator: z.enum([
20
+ "yes",
21
+ "no",
22
+ "unknown"
23
+ ]).describe("Indicates whether the address is residential (yes/no/unknown)").nullable().optional()
24
+ }).describe("Address object for warehouse origin.");
25
+ const ShipengineListWarehouses_WarehouseSummarySchema = z.object({
26
+ name: z.string().describe("Warehouse name"),
27
+ is_default: z.boolean().describe("Whether this is your default warehouse"),
28
+ warehouse_id: z.string().describe("Unique ID for the warehouse"),
29
+ origin_address: ShipengineListWarehouses_WarehouseAddressSchema.nullable()
30
+ }).describe("Summary object for a warehouse.");
31
+ const shipengineListWarehouses = action("SHIPENGINE_LIST_WAREHOUSES", {
32
+ slug: "shipengine-list-warehouses",
33
+ name: "List Warehouses",
34
+ description: "Tool to list all warehouses. Use when you need to retrieve warehouse locations with pagination. Call after creating or updating warehouses.",
35
+ input: ShipengineListWarehousesInput,
36
+ output: z.object({ warehouses: z.array(ShipengineListWarehouses_WarehouseSummarySchema).describe("List of warehouse objects") }).describe("Response schema for listing warehouses.")
37
+ });
38
+ //#endregion
39
+ export { shipengineListWarehouses };
40
+
41
+ //# sourceMappingURL=list-warehouses.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-warehouses.mjs","names":[],"sources":["../../src/actions/list-warehouses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListWarehousesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1).\").optional(),\n page_size: z.number().int().default(25).describe(\"Number of results per page (max 500).\").optional(),\n}).describe(\"Parameters for listing warehouses.\");\nconst ShipengineListWarehouses_WarehouseAddressSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name at the address\").nullable().optional(),\n phone: z.string().describe(\"Phone number at the address\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n company_name: z.string().describe(\"Company name at the address\").nullable().optional(),\n country_code: z.string().describe(\"2-letter ISO country code\"),\n address_line1: z.string().describe(\"Street address (line 1)\"),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").nullable().optional(),\n address_line3: z.string().describe(\"Additional address line\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").nullable().optional(),\n}).describe(\"Address object for warehouse origin.\");\nconst ShipengineListWarehouses_WarehouseSummarySchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Warehouse name\"),\n is_default: z.boolean().describe(\"Whether this is your default warehouse\"),\n warehouse_id: z.string().describe(\"Unique ID for the warehouse\"),\n origin_address: ShipengineListWarehouses_WarehouseAddressSchema.nullable(),\n}).describe(\"Summary object for a warehouse.\");\nexport const ShipengineListWarehousesOutput: z.ZodTypeAny = z.object({\n warehouses: z.array(ShipengineListWarehouses_WarehouseSummarySchema).describe(\"List of warehouse objects\"),\n}).describe(\"Response schema for listing warehouses.\");\n\nexport const shipengineListWarehouses = action(\"SHIPENGINE_LIST_WAREHOUSES\", {\n slug: \"shipengine-list-warehouses\",\n name: \"List Warehouses\",\n description: \"Tool to list all warehouses. Use when you need to retrieve warehouse locations with pagination. Call after creating or updating warehouses.\",\n input: ShipengineListWarehousesInput,\n output: ShipengineListWarehousesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kD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,EACnE,YAAY,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2BAA2B,EAC3G,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-webhook-events.ts
4
+ const ShipengineListWebhookEventsInput = zod.z.object({}).describe("No request parameters for listing webhook events.");
5
+ const ShipengineListWebhookEvents_EventSchema = zod.z.object({
6
+ name: zod.z.string().describe("Name of the webhook event type."),
7
+ description: zod.z.string().describe("Description of the event type.")
8
+ });
9
+ const ShipengineListWebhookEventsOutput = zod.z.object({ events: zod.z.array(ShipengineListWebhookEvents_EventSchema).describe("List of webhook event types.") });
10
+ const shipengineListWebhookEvents = require_action.action("SHIPENGINE_LIST_WEBHOOK_EVENTS", {
11
+ slug: "shipengine-list-webhook-events",
12
+ name: "List Webhook Events",
13
+ description: "Retrieve a list of available webhook event types supported by ShipEngine. Returns static documentation of all supported webhook events that can be used when creating webhooks. Always call this before SHIPENGINE_CREATE_WEBHOOK to obtain valid event type names — unsupported or mistyped event names result in no callbacks being received. Note: This is based on ShipEngine's documented event types as there is no API endpoint for listing events.",
14
+ input: ShipengineListWebhookEventsInput,
15
+ output: ShipengineListWebhookEventsOutput
16
+ });
17
+ //#endregion
18
+ exports.shipengineListWebhookEvents = shipengineListWebhookEvents;
19
+
20
+ //# sourceMappingURL=list-webhook-events.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-webhook-events.cjs","names":["z","action"],"sources":["../../src/actions/list-webhook-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListWebhookEventsInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters for listing webhook events.\");\nconst ShipengineListWebhookEvents_EventSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the webhook event type.\"),\n description: z.string().describe(\"Description of the event type.\"),\n});\nexport const ShipengineListWebhookEventsOutput: z.ZodTypeAny = z.object({\n events: z.array(ShipengineListWebhookEvents_EventSchema).describe(\"List of webhook event types.\"),\n});\n\nexport const shipengineListWebhookEvents = action(\"SHIPENGINE_LIST_WEBHOOK_EVENTS\", {\n slug: \"shipengine-list-webhook-events\",\n name: \"List Webhook Events\",\n description: \"Retrieve a list of available webhook event types supported by ShipEngine. Returns static documentation of all supported webhook events that can be used when creating webhooks. Always call this before SHIPENGINE_CREATE_WEBHOOK to obtain valid event type names — unsupported or mistyped event names result in no callbacks being received. Note: This is based on ShipEngine's documented event types as there is no API endpoint for listing events.\",\n input: ShipengineListWebhookEventsInput,\n output: ShipengineListWebhookEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AACvI,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC;AACD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,QAAQA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8BAA8B,EAClG,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,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/list-webhook-events.d.ts
4
+ declare const ShipengineListWebhookEventsInput: z.ZodTypeAny;
5
+ declare const ShipengineListWebhookEventsOutput: z.ZodTypeAny;
6
+ declare const shipengineListWebhookEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineListWebhookEvents };
9
+ //# sourceMappingURL=list-webhook-events.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-webhook-events.d.cts","names":[],"sources":["../../src/actions/list-webhook-events.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAAuF;AAAA,cAK3H,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-webhook-events.d.ts
4
+ declare const ShipengineListWebhookEventsInput: z.ZodTypeAny;
5
+ declare const ShipengineListWebhookEventsOutput: z.ZodTypeAny;
6
+ declare const shipengineListWebhookEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineListWebhookEvents };
9
+ //# sourceMappingURL=list-webhook-events.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-webhook-events.d.mts","names":[],"sources":["../../src/actions/list-webhook-events.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAAuF;AAAA,cAK3H,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-webhook-events.ts
4
+ const ShipengineListWebhookEventsInput = z.object({}).describe("No request parameters for listing webhook events.");
5
+ const ShipengineListWebhookEvents_EventSchema = z.object({
6
+ name: z.string().describe("Name of the webhook event type."),
7
+ description: z.string().describe("Description of the event type.")
8
+ });
9
+ const shipengineListWebhookEvents = action("SHIPENGINE_LIST_WEBHOOK_EVENTS", {
10
+ slug: "shipengine-list-webhook-events",
11
+ name: "List Webhook Events",
12
+ description: "Retrieve a list of available webhook event types supported by ShipEngine. Returns static documentation of all supported webhook events that can be used when creating webhooks. Always call this before SHIPENGINE_CREATE_WEBHOOK to obtain valid event type names — unsupported or mistyped event names result in no callbacks being received. Note: This is based on ShipEngine's documented event types as there is no API endpoint for listing events.",
13
+ input: ShipengineListWebhookEventsInput,
14
+ output: z.object({ events: z.array(ShipengineListWebhookEvents_EventSchema).describe("List of webhook event types.") })
15
+ });
16
+ //#endregion
17
+ export { shipengineListWebhookEvents };
18
+
19
+ //# sourceMappingURL=list-webhook-events.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-webhook-events.mjs","names":[],"sources":["../../src/actions/list-webhook-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListWebhookEventsInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters for listing webhook events.\");\nconst ShipengineListWebhookEvents_EventSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the webhook event type.\"),\n description: z.string().describe(\"Description of the event type.\"),\n});\nexport const ShipengineListWebhookEventsOutput: z.ZodTypeAny = z.object({\n events: z.array(ShipengineListWebhookEvents_EventSchema).describe(\"List of webhook event types.\"),\n});\n\nexport const shipengineListWebhookEvents = action(\"SHIPENGINE_LIST_WEBHOOK_EVENTS\", {\n slug: \"shipengine-list-webhook-events\",\n name: \"List Webhook Events\",\n description: \"Retrieve a list of available webhook event types supported by ShipEngine. Returns static documentation of all supported webhook events that can be used when creating webhooks. Always call this before SHIPENGINE_CREATE_WEBHOOK to obtain valid event type names — unsupported or mistyped event names result in no callbacks being received. Note: This is based on ShipEngine's documented event types as there is no API endpoint for listing events.\",\n input: ShipengineListWebhookEventsInput,\n output: ShipengineListWebhookEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AACvI,MAAM,0CAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC;AAKD,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,QAAQ,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8BAA8B,EAClG,CAOU;AACV,CAAC"}
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-webhooks.ts
4
+ const ShipengineListWebhooksInput = zod.z.object({}).describe("Request parameters for listing webhooks. This endpoint accepts no parameters.");
5
+ const ShipengineListWebhooks_WebhookHeaderSchema = zod.z.object({
6
+ name: zod.z.string().describe("Header name"),
7
+ value: zod.z.string().describe("Header value")
8
+ }).describe("Custom header to be sent with webhook notifications.");
9
+ const ShipengineListWebhooks_WebhookSchema = zod.z.object({
10
+ url: zod.z.string().describe("The webhook URL where event notifications are sent."),
11
+ name: zod.z.string().describe("Name of the webhook.").nullable().optional(),
12
+ event: zod.z.string().describe("The event to which the webhook is subscribed (e.g., 'batch', 'track', 'rate')."),
13
+ headers: zod.z.array(ShipengineListWebhooks_WebhookHeaderSchema).describe("Custom headers to be sent with webhook notifications.").nullable().optional(),
14
+ store_id: zod.z.number().int().describe("Store ID associated with the webhook.").nullable().optional(),
15
+ webhook_id: zod.z.string().describe("Unique identifier for the webhook.")
16
+ }).describe("A webhook configured on the account.");
17
+ const ShipengineListWebhooksOutput = zod.z.object({ webhooks: zod.z.array(ShipengineListWebhooks_WebhookSchema).describe("List of all webhooks configured on the account.") }).describe("Response containing all webhooks configured on the account.");
18
+ const shipengineListWebhooks = require_action.action("SHIPENGINE_LIST_WEBHOOKS", {
19
+ slug: "shipengine-list-webhooks",
20
+ name: "List Webhooks",
21
+ description: "Tool to list all webhooks configured on your account. Use when you need to view all registered webhooks.",
22
+ input: ShipengineListWebhooksInput,
23
+ output: ShipengineListWebhooksOutput
24
+ });
25
+ //#endregion
26
+ exports.shipengineListWebhooks = shipengineListWebhooks;
27
+
28
+ //# sourceMappingURL=list-webhooks.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListWebhooksInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for listing webhooks. This endpoint accepts no parameters.\");\nconst ShipengineListWebhooks_WebhookHeaderSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Header name\"),\n value: z.string().describe(\"Header value\"),\n}).describe(\"Custom header to be sent with webhook notifications.\");\nconst ShipengineListWebhooks_WebhookSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The webhook URL where event notifications are sent.\"),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n event: z.string().describe(\"The event to which the webhook is subscribed (e.g., 'batch', 'track', 'rate').\"),\n headers: z.array(ShipengineListWebhooks_WebhookHeaderSchema).describe(\"Custom headers to be sent with webhook notifications.\").nullable().optional(),\n store_id: z.number().int().describe(\"Store ID associated with the webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for the webhook.\"),\n}).describe(\"A webhook configured on the account.\");\nexport const ShipengineListWebhooksOutput: z.ZodTypeAny = z.object({\n webhooks: z.array(ShipengineListWebhooks_WebhookSchema).describe(\"List of all webhooks configured on the account.\"),\n}).describe(\"Response containing all webhooks configured on the account.\");\n\nexport const shipengineListWebhooks = action(\"SHIPENGINE_LIST_WEBHOOKS\", {\n slug: \"shipengine-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list all webhooks configured on your account. Use when you need to view all registered webhooks.\",\n input: ShipengineListWebhooksInput,\n output: ShipengineListWebhooksOutput,\n});\n"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are const ShipengineListWebhooksOutput: z.ZodTypeAny;
6
+ declare const shipengineListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineListWebhooks };
9
+ //# sourceMappingURL=list-webhooks.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAmH;AAAA,cAalJ,4BAAA,EAA8B,CAAA,CAAE,UAE6B;AAAA,cAE7D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-webhooks.d.ts
4
+ declare const ShipengineListWebhooksInput: z.ZodTypeAny;
5
+ declare const ShipengineListWebhooksOutput: z.ZodTypeAny;
6
+ declare const shipengineListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { shipengineListWebhooks };
9
+ //# sourceMappingURL=list-webhooks.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAmH;AAAA,cAalJ,4BAAA,EAA8B,CAAA,CAAE,UAE6B;AAAA,cAE7D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,27 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-webhooks.ts
4
+ const ShipengineListWebhooksInput = z.object({}).describe("Request parameters for listing webhooks. This endpoint accepts no parameters.");
5
+ const ShipengineListWebhooks_WebhookHeaderSchema = z.object({
6
+ name: z.string().describe("Header name"),
7
+ value: z.string().describe("Header value")
8
+ }).describe("Custom header to be sent with webhook notifications.");
9
+ const ShipengineListWebhooks_WebhookSchema = z.object({
10
+ url: z.string().describe("The webhook URL where event notifications are sent."),
11
+ name: z.string().describe("Name of the webhook.").nullable().optional(),
12
+ event: z.string().describe("The event to which the webhook is subscribed (e.g., 'batch', 'track', 'rate')."),
13
+ headers: z.array(ShipengineListWebhooks_WebhookHeaderSchema).describe("Custom headers to be sent with webhook notifications.").nullable().optional(),
14
+ store_id: z.number().int().describe("Store ID associated with the webhook.").nullable().optional(),
15
+ webhook_id: z.string().describe("Unique identifier for the webhook.")
16
+ }).describe("A webhook configured on the account.");
17
+ const shipengineListWebhooks = action("SHIPENGINE_LIST_WEBHOOKS", {
18
+ slug: "shipengine-list-webhooks",
19
+ name: "List Webhooks",
20
+ description: "Tool to list all webhooks configured on your account. Use when you need to view all registered webhooks.",
21
+ input: ShipengineListWebhooksInput,
22
+ output: z.object({ webhooks: z.array(ShipengineListWebhooks_WebhookSchema).describe("List of all webhooks configured on the account.") }).describe("Response containing all webhooks configured on the account.")
23
+ });
24
+ //#endregion
25
+ export { shipengineListWebhooks };
26
+
27
+ //# sourceMappingURL=list-webhooks.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListWebhooksInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for listing webhooks. This endpoint accepts no parameters.\");\nconst ShipengineListWebhooks_WebhookHeaderSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Header name\"),\n value: z.string().describe(\"Header value\"),\n}).describe(\"Custom header to be sent with webhook notifications.\");\nconst ShipengineListWebhooks_WebhookSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The webhook URL where event notifications are sent.\"),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n event: z.string().describe(\"The event to which the webhook is subscribed (e.g., 'batch', 'track', 'rate').\"),\n headers: z.array(ShipengineListWebhooks_WebhookHeaderSchema).describe(\"Custom headers to be sent with webhook notifications.\").nullable().optional(),\n store_id: z.number().int().describe(\"Store ID associated with the webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for the webhook.\"),\n}).describe(\"A webhook configured on the account.\");\nexport const ShipengineListWebhooksOutput: z.ZodTypeAny = z.object({\n webhooks: z.array(ShipengineListWebhooks_WebhookSchema).describe(\"List of all webhooks configured on the account.\"),\n}).describe(\"Response containing all webhooks configured on the account.\");\n\nexport const shipengineListWebhooks = action(\"SHIPENGINE_LIST_WEBHOOKS\", {\n slug: \"shipengine-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list all webhooks configured on your account. Use when you need to view all registered webhooks.\",\n input: ShipengineListWebhooksInput,\n output: ShipengineListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC9J,MAAM,6CAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;AAC3C,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,uCAAqD,EAAE,OAAO;CAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC3G,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AACtE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAKlD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,UAAU,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,iDAAiD,EACpH,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}