@keystrokehq/shipengine 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (399) hide show
  1. package/dist/actions/add-tag-to-shipment.cjs +1 -1
  2. package/dist/actions/add-tag-to-shipment.cjs.map +1 -1
  3. package/dist/actions/add-tag-to-shipment.d.cts +1 -1
  4. package/dist/actions/add-tag-to-shipment.d.mts +1 -1
  5. package/dist/actions/add-tag-to-shipment.mjs +1 -1
  6. package/dist/actions/add-tag-to-shipment.mjs.map +1 -1
  7. package/dist/actions/add-to-batch.cjs +1 -1
  8. package/dist/actions/add-to-batch.cjs.map +1 -1
  9. package/dist/actions/add-to-batch.d.cts +1 -1
  10. package/dist/actions/add-to-batch.d.mts +1 -1
  11. package/dist/actions/add-to-batch.mjs +1 -1
  12. package/dist/actions/add-to-batch.mjs.map +1 -1
  13. package/dist/actions/cancel-shipment.cjs +1 -1
  14. package/dist/actions/cancel-shipment.cjs.map +1 -1
  15. package/dist/actions/cancel-shipment.d.cts +1 -1
  16. package/dist/actions/cancel-shipment.d.mts +1 -1
  17. package/dist/actions/cancel-shipment.mjs +1 -1
  18. package/dist/actions/cancel-shipment.mjs.map +1 -1
  19. package/dist/actions/connect-ltl-carrier.cjs +2 -2
  20. package/dist/actions/connect-ltl-carrier.cjs.map +1 -1
  21. package/dist/actions/connect-ltl-carrier.d.cts +3 -3
  22. package/dist/actions/connect-ltl-carrier.d.mts +3 -3
  23. package/dist/actions/connect-ltl-carrier.mjs +2 -2
  24. package/dist/actions/connect-ltl-carrier.mjs.map +1 -1
  25. package/dist/actions/connect-shipsurance.cjs +1 -1
  26. package/dist/actions/connect-shipsurance.cjs.map +1 -1
  27. package/dist/actions/connect-shipsurance.d.cts +1 -1
  28. package/dist/actions/connect-shipsurance.d.cts.map +1 -1
  29. package/dist/actions/connect-shipsurance.d.mts +1 -1
  30. package/dist/actions/connect-shipsurance.d.mts.map +1 -1
  31. package/dist/actions/connect-shipsurance.mjs +1 -1
  32. package/dist/actions/connect-shipsurance.mjs.map +1 -1
  33. package/dist/actions/create-account-image.cjs +1 -1
  34. package/dist/actions/create-account-image.cjs.map +1 -1
  35. package/dist/actions/create-account-image.d.cts +1 -1
  36. package/dist/actions/create-account-image.d.mts +1 -1
  37. package/dist/actions/create-account-image.mjs +1 -1
  38. package/dist/actions/create-account-image.mjs.map +1 -1
  39. package/dist/actions/create-package-type.cjs +2 -2
  40. package/dist/actions/create-package-type.cjs.map +1 -1
  41. package/dist/actions/create-package-type.d.cts +2 -2
  42. package/dist/actions/create-package-type.d.mts +2 -2
  43. package/dist/actions/create-package-type.mjs +2 -2
  44. package/dist/actions/create-package-type.mjs.map +1 -1
  45. package/dist/actions/create-tag.cjs +1 -1
  46. package/dist/actions/create-tag.cjs.map +1 -1
  47. package/dist/actions/create-tag.d.cts +1 -1
  48. package/dist/actions/create-tag.d.mts +1 -1
  49. package/dist/actions/create-tag.mjs +1 -1
  50. package/dist/actions/create-tag.mjs.map +1 -1
  51. package/dist/actions/create-tag2.cjs +1 -1
  52. package/dist/actions/create-tag2.cjs.map +1 -1
  53. package/dist/actions/create-tag2.d.cts +1 -1
  54. package/dist/actions/create-tag2.d.mts +1 -1
  55. package/dist/actions/create-tag2.mjs +1 -1
  56. package/dist/actions/create-tag2.mjs.map +1 -1
  57. package/dist/actions/create-warehouse.cjs +2 -2
  58. package/dist/actions/create-warehouse.cjs.map +1 -1
  59. package/dist/actions/create-warehouse.d.cts +9 -9
  60. package/dist/actions/create-warehouse.d.mts +9 -9
  61. package/dist/actions/create-warehouse.mjs +2 -2
  62. package/dist/actions/create-warehouse.mjs.map +1 -1
  63. package/dist/actions/create-webhook.cjs +2 -2
  64. package/dist/actions/create-webhook.cjs.map +1 -1
  65. package/dist/actions/create-webhook.d.cts +2 -2
  66. package/dist/actions/create-webhook.d.mts +2 -2
  67. package/dist/actions/create-webhook.mjs +2 -2
  68. package/dist/actions/create-webhook.mjs.map +1 -1
  69. package/dist/actions/delete-account-image-by-id.cjs +1 -1
  70. package/dist/actions/delete-account-image-by-id.cjs.map +1 -1
  71. package/dist/actions/delete-account-image-by-id.d.cts +1 -1
  72. package/dist/actions/delete-account-image-by-id.d.mts +1 -1
  73. package/dist/actions/delete-account-image-by-id.mjs +1 -1
  74. package/dist/actions/delete-account-image-by-id.mjs.map +1 -1
  75. package/dist/actions/delete-batch.cjs +1 -1
  76. package/dist/actions/delete-batch.cjs.map +1 -1
  77. package/dist/actions/delete-batch.d.cts +1 -1
  78. package/dist/actions/delete-batch.d.mts +1 -1
  79. package/dist/actions/delete-batch.mjs +1 -1
  80. package/dist/actions/delete-batch.mjs.map +1 -1
  81. package/dist/actions/delete-package.cjs +1 -1
  82. package/dist/actions/delete-package.cjs.map +1 -1
  83. package/dist/actions/delete-package.d.cts +1 -1
  84. package/dist/actions/delete-package.d.mts +1 -1
  85. package/dist/actions/delete-package.mjs +1 -1
  86. package/dist/actions/delete-package.mjs.map +1 -1
  87. package/dist/actions/delete-warehouse.cjs +1 -1
  88. package/dist/actions/delete-warehouse.cjs.map +1 -1
  89. package/dist/actions/delete-warehouse.d.cts +1 -1
  90. package/dist/actions/delete-warehouse.d.mts +1 -1
  91. package/dist/actions/delete-warehouse.mjs +1 -1
  92. package/dist/actions/delete-warehouse.mjs.map +1 -1
  93. package/dist/actions/delete-webhook.cjs +1 -1
  94. package/dist/actions/delete-webhook.cjs.map +1 -1
  95. package/dist/actions/delete-webhook.d.cts +1 -1
  96. package/dist/actions/delete-webhook.d.mts +1 -1
  97. package/dist/actions/delete-webhook.mjs +1 -1
  98. package/dist/actions/delete-webhook.mjs.map +1 -1
  99. package/dist/actions/disconnect-carrier.cjs +1 -1
  100. package/dist/actions/disconnect-carrier.cjs.map +1 -1
  101. package/dist/actions/disconnect-carrier.d.cts +1 -1
  102. package/dist/actions/disconnect-carrier.d.mts +1 -1
  103. package/dist/actions/disconnect-carrier.mjs +1 -1
  104. package/dist/actions/disconnect-carrier.mjs.map +1 -1
  105. package/dist/actions/disconnect-shipsurance.cjs +1 -1
  106. package/dist/actions/disconnect-shipsurance.cjs.map +1 -1
  107. package/dist/actions/disconnect-shipsurance.d.cts +1 -1
  108. package/dist/actions/disconnect-shipsurance.d.cts.map +1 -1
  109. package/dist/actions/disconnect-shipsurance.d.mts +1 -1
  110. package/dist/actions/disconnect-shipsurance.d.mts.map +1 -1
  111. package/dist/actions/disconnect-shipsurance.mjs +1 -1
  112. package/dist/actions/disconnect-shipsurance.mjs.map +1 -1
  113. package/dist/actions/download-file.cjs +2 -2
  114. package/dist/actions/download-file.cjs.map +1 -1
  115. package/dist/actions/download-file.d.cts +2 -2
  116. package/dist/actions/download-file.d.mts +2 -2
  117. package/dist/actions/download-file.mjs +2 -2
  118. package/dist/actions/download-file.mjs.map +1 -1
  119. package/dist/actions/get-account-image-by-id.cjs +1 -1
  120. package/dist/actions/get-account-image-by-id.cjs.map +1 -1
  121. package/dist/actions/get-account-image-by-id.d.cts +1 -1
  122. package/dist/actions/get-account-image-by-id.d.mts +1 -1
  123. package/dist/actions/get-account-image-by-id.mjs +1 -1
  124. package/dist/actions/get-account-image-by-id.mjs.map +1 -1
  125. package/dist/actions/get-batch-by-external-id.cjs +8 -8
  126. package/dist/actions/get-batch-by-external-id.cjs.map +1 -1
  127. package/dist/actions/get-batch-by-external-id.d.cts +8 -8
  128. package/dist/actions/get-batch-by-external-id.d.mts +8 -8
  129. package/dist/actions/get-batch-by-external-id.mjs +8 -8
  130. package/dist/actions/get-batch-by-external-id.mjs.map +1 -1
  131. package/dist/actions/get-batch-by-id.cjs +4 -4
  132. package/dist/actions/get-batch-by-id.cjs.map +1 -1
  133. package/dist/actions/get-batch-by-id.d.cts +8 -8
  134. package/dist/actions/get-batch-by-id.d.mts +8 -8
  135. package/dist/actions/get-batch-by-id.mjs +4 -4
  136. package/dist/actions/get-batch-by-id.mjs.map +1 -1
  137. package/dist/actions/get-batch-errors.cjs +4 -4
  138. package/dist/actions/get-batch-errors.cjs.map +1 -1
  139. package/dist/actions/get-batch-errors.d.cts +7 -7
  140. package/dist/actions/get-batch-errors.d.mts +7 -7
  141. package/dist/actions/get-batch-errors.mjs +4 -4
  142. package/dist/actions/get-batch-errors.mjs.map +1 -1
  143. package/dist/actions/get-bulk-rates.cjs +7 -7
  144. package/dist/actions/get-bulk-rates.cjs.map +1 -1
  145. package/dist/actions/get-bulk-rates.d.cts +11 -9
  146. package/dist/actions/get-bulk-rates.d.cts.map +1 -1
  147. package/dist/actions/get-bulk-rates.d.mts +11 -9
  148. package/dist/actions/get-bulk-rates.d.mts.map +1 -1
  149. package/dist/actions/get-bulk-rates.mjs +7 -7
  150. package/dist/actions/get-bulk-rates.mjs.map +1 -1
  151. package/dist/actions/get-insurance-balance.cjs +2 -2
  152. package/dist/actions/get-insurance-balance.cjs.map +1 -1
  153. package/dist/actions/get-insurance-balance.d.cts +2 -2
  154. package/dist/actions/get-insurance-balance.d.mts +2 -2
  155. package/dist/actions/get-insurance-balance.mjs +2 -2
  156. package/dist/actions/get-insurance-balance.mjs.map +1 -1
  157. package/dist/actions/get-ltl-carrier-credential-requirements.cjs +2 -2
  158. package/dist/actions/get-ltl-carrier-credential-requirements.cjs.map +1 -1
  159. package/dist/actions/get-ltl-carrier-credential-requirements.d.cts +2 -2
  160. package/dist/actions/get-ltl-carrier-credential-requirements.d.mts +2 -2
  161. package/dist/actions/get-ltl-carrier-credential-requirements.mjs +2 -2
  162. package/dist/actions/get-ltl-carrier-credential-requirements.mjs.map +1 -1
  163. package/dist/actions/get-ltl-carrier-features.cjs +1 -1
  164. package/dist/actions/get-ltl-carrier-features.cjs.map +1 -1
  165. package/dist/actions/get-ltl-carrier-features.d.cts +1 -1
  166. package/dist/actions/get-ltl-carrier-features.d.mts +1 -1
  167. package/dist/actions/get-ltl-carrier-features.mjs +1 -1
  168. package/dist/actions/get-ltl-carrier-features.mjs.map +1 -1
  169. package/dist/actions/get-ltl-carrier-options.cjs +3 -3
  170. package/dist/actions/get-ltl-carrier-options.cjs.map +1 -1
  171. package/dist/actions/get-ltl-carrier-options.d.cts +3 -3
  172. package/dist/actions/get-ltl-carrier-options.d.mts +3 -3
  173. package/dist/actions/get-ltl-carrier-options.mjs +3 -3
  174. package/dist/actions/get-ltl-carrier-options.mjs.map +1 -1
  175. package/dist/actions/get-ltl-carrier-packages.cjs +2 -2
  176. package/dist/actions/get-ltl-carrier-packages.cjs.map +1 -1
  177. package/dist/actions/get-ltl-carrier-packages.d.cts +2 -2
  178. package/dist/actions/get-ltl-carrier-packages.d.mts +2 -2
  179. package/dist/actions/get-ltl-carrier-packages.mjs +2 -2
  180. package/dist/actions/get-ltl-carrier-packages.mjs.map +1 -1
  181. package/dist/actions/get-ltl-carrier-services.cjs +2 -2
  182. package/dist/actions/get-ltl-carrier-services.cjs.map +1 -1
  183. package/dist/actions/get-ltl-carrier-services.d.cts +2 -2
  184. package/dist/actions/get-ltl-carrier-services.d.mts +2 -2
  185. package/dist/actions/get-ltl-carrier-services.mjs +2 -2
  186. package/dist/actions/get-ltl-carrier-services.mjs.map +1 -1
  187. package/dist/actions/get-package-by-id.cjs +2 -2
  188. package/dist/actions/get-package-by-id.cjs.map +1 -1
  189. package/dist/actions/get-package-by-id.d.cts +2 -2
  190. package/dist/actions/get-package-by-id.d.mts +2 -2
  191. package/dist/actions/get-package-by-id.mjs +2 -2
  192. package/dist/actions/get-package-by-id.mjs.map +1 -1
  193. package/dist/actions/get-shipment-by-external-id.cjs +9 -9
  194. package/dist/actions/get-shipment-by-external-id.cjs.map +1 -1
  195. package/dist/actions/get-shipment-by-external-id.d.cts +13 -13
  196. package/dist/actions/get-shipment-by-external-id.d.mts +13 -13
  197. package/dist/actions/get-shipment-by-external-id.mjs +9 -9
  198. package/dist/actions/get-shipment-by-external-id.mjs.map +1 -1
  199. package/dist/actions/get-shipment-by-id.cjs +9 -9
  200. package/dist/actions/get-shipment-by-id.cjs.map +1 -1
  201. package/dist/actions/get-shipment-by-id.d.cts +15 -15
  202. package/dist/actions/get-shipment-by-id.d.mts +15 -15
  203. package/dist/actions/get-shipment-by-id.mjs +9 -9
  204. package/dist/actions/get-shipment-by-id.mjs.map +1 -1
  205. package/dist/actions/get-shipment-rates.cjs +4 -4
  206. package/dist/actions/get-shipment-rates.cjs.map +1 -1
  207. package/dist/actions/get-shipment-rates.d.cts +14 -14
  208. package/dist/actions/get-shipment-rates.d.mts +14 -14
  209. package/dist/actions/get-shipment-rates.mjs +4 -4
  210. package/dist/actions/get-shipment-rates.mjs.map +1 -1
  211. package/dist/actions/get-tracking-info.cjs +2 -2
  212. package/dist/actions/get-tracking-info.cjs.map +1 -1
  213. package/dist/actions/get-tracking-info.d.cts +2 -2
  214. package/dist/actions/get-tracking-info.d.mts +2 -2
  215. package/dist/actions/get-tracking-info.mjs +2 -2
  216. package/dist/actions/get-tracking-info.mjs.map +1 -1
  217. package/dist/actions/get-warehouse-by-id.cjs +2 -2
  218. package/dist/actions/get-warehouse-by-id.cjs.map +1 -1
  219. package/dist/actions/get-warehouse-by-id.d.cts +5 -5
  220. package/dist/actions/get-warehouse-by-id.d.mts +5 -5
  221. package/dist/actions/get-warehouse-by-id.mjs +2 -2
  222. package/dist/actions/get-warehouse-by-id.mjs.map +1 -1
  223. package/dist/actions/get-webhook-by-id.cjs +2 -2
  224. package/dist/actions/get-webhook-by-id.cjs.map +1 -1
  225. package/dist/actions/get-webhook-by-id.d.cts +2 -2
  226. package/dist/actions/get-webhook-by-id.d.mts +2 -2
  227. package/dist/actions/get-webhook-by-id.mjs +2 -2
  228. package/dist/actions/get-webhook-by-id.mjs.map +1 -1
  229. package/dist/actions/list-account-images.cjs +2 -2
  230. package/dist/actions/list-account-images.cjs.map +1 -1
  231. package/dist/actions/list-account-images.d.cts +2 -2
  232. package/dist/actions/list-account-images.d.mts +2 -2
  233. package/dist/actions/list-account-images.mjs +2 -2
  234. package/dist/actions/list-account-images.mjs.map +1 -1
  235. package/dist/actions/list-batches2.cjs +3 -3
  236. package/dist/actions/list-batches2.cjs.map +1 -1
  237. package/dist/actions/list-batches2.d.cts +3 -3
  238. package/dist/actions/list-batches2.d.mts +3 -3
  239. package/dist/actions/list-batches2.mjs +3 -3
  240. package/dist/actions/list-batches2.mjs.map +1 -1
  241. package/dist/actions/list-carrier-package-types.cjs +3 -3
  242. package/dist/actions/list-carrier-package-types.cjs.map +1 -1
  243. package/dist/actions/list-carrier-package-types.d.cts +3 -3
  244. package/dist/actions/list-carrier-package-types.d.mts +3 -3
  245. package/dist/actions/list-carrier-package-types.mjs +3 -3
  246. package/dist/actions/list-carrier-package-types.mjs.map +1 -1
  247. package/dist/actions/list-labels2.cjs +9 -9
  248. package/dist/actions/list-labels2.cjs.map +1 -1
  249. package/dist/actions/list-labels2.d.cts +20 -20
  250. package/dist/actions/list-labels2.d.mts +20 -20
  251. package/dist/actions/list-labels2.mjs +9 -9
  252. package/dist/actions/list-labels2.mjs.map +1 -1
  253. package/dist/actions/list-ltl-carriers.cjs +5 -5
  254. package/dist/actions/list-ltl-carriers.cjs.map +1 -1
  255. package/dist/actions/list-ltl-carriers.d.cts +5 -5
  256. package/dist/actions/list-ltl-carriers.d.mts +5 -5
  257. package/dist/actions/list-ltl-carriers.mjs +5 -5
  258. package/dist/actions/list-ltl-carriers.mjs.map +1 -1
  259. package/dist/actions/list-manifests2.cjs +5 -5
  260. package/dist/actions/list-manifests2.cjs.map +1 -1
  261. package/dist/actions/list-manifests2.d.cts +8 -8
  262. package/dist/actions/list-manifests2.d.mts +8 -8
  263. package/dist/actions/list-manifests2.mjs +5 -5
  264. package/dist/actions/list-manifests2.mjs.map +1 -1
  265. package/dist/actions/list-packages.cjs +4 -4
  266. package/dist/actions/list-packages.cjs.map +1 -1
  267. package/dist/actions/list-packages.d.cts +4 -4
  268. package/dist/actions/list-packages.d.mts +4 -4
  269. package/dist/actions/list-packages.mjs +4 -4
  270. package/dist/actions/list-packages.mjs.map +1 -1
  271. package/dist/actions/list-pickups.cjs +7 -7
  272. package/dist/actions/list-pickups.cjs.map +1 -1
  273. package/dist/actions/list-pickups.d.cts +10 -10
  274. package/dist/actions/list-pickups.d.mts +10 -10
  275. package/dist/actions/list-pickups.mjs +7 -7
  276. package/dist/actions/list-pickups.mjs.map +1 -1
  277. package/dist/actions/list-shipments2.cjs +10 -10
  278. package/dist/actions/list-shipments2.cjs.map +1 -1
  279. package/dist/actions/list-shipments2.d.cts +14 -14
  280. package/dist/actions/list-shipments2.d.mts +14 -14
  281. package/dist/actions/list-shipments2.mjs +10 -10
  282. package/dist/actions/list-shipments2.mjs.map +1 -1
  283. package/dist/actions/list-tags2.cjs +2 -2
  284. package/dist/actions/list-tags2.cjs.map +1 -1
  285. package/dist/actions/list-tags2.d.cts +2 -2
  286. package/dist/actions/list-tags2.d.mts +2 -2
  287. package/dist/actions/list-tags2.mjs +2 -2
  288. package/dist/actions/list-tags2.mjs.map +1 -1
  289. package/dist/actions/list-warehouses.cjs +3 -3
  290. package/dist/actions/list-warehouses.cjs.map +1 -1
  291. package/dist/actions/list-warehouses.d.cts +4 -4
  292. package/dist/actions/list-warehouses.d.mts +4 -4
  293. package/dist/actions/list-warehouses.mjs +3 -3
  294. package/dist/actions/list-warehouses.mjs.map +1 -1
  295. package/dist/actions/list-webhook-events.cjs +2 -2
  296. package/dist/actions/list-webhook-events.cjs.map +1 -1
  297. package/dist/actions/list-webhook-events.d.cts +2 -2
  298. package/dist/actions/list-webhook-events.d.mts +2 -2
  299. package/dist/actions/list-webhook-events.mjs +2 -2
  300. package/dist/actions/list-webhook-events.mjs.map +1 -1
  301. package/dist/actions/list-webhooks.cjs +3 -3
  302. package/dist/actions/list-webhooks.cjs.map +1 -1
  303. package/dist/actions/list-webhooks.d.cts +3 -3
  304. package/dist/actions/list-webhooks.d.mts +3 -3
  305. package/dist/actions/list-webhooks.mjs +3 -3
  306. package/dist/actions/list-webhooks.mjs.map +1 -1
  307. package/dist/actions/parse-address.cjs +3 -3
  308. package/dist/actions/parse-address.cjs.map +1 -1
  309. package/dist/actions/parse-address.d.cts +3 -3
  310. package/dist/actions/parse-address.d.mts +3 -3
  311. package/dist/actions/parse-address.mjs +3 -3
  312. package/dist/actions/parse-address.mjs.map +1 -1
  313. package/dist/actions/process-batch-labels.cjs +1 -1
  314. package/dist/actions/process-batch-labels.cjs.map +1 -1
  315. package/dist/actions/process-batch-labels.d.cts +1 -1
  316. package/dist/actions/process-batch-labels.d.mts +1 -1
  317. package/dist/actions/process-batch-labels.mjs +1 -1
  318. package/dist/actions/process-batch-labels.mjs.map +1 -1
  319. package/dist/actions/remove-from-batch.cjs +1 -1
  320. package/dist/actions/remove-from-batch.cjs.map +1 -1
  321. package/dist/actions/remove-from-batch.d.cts +1 -1
  322. package/dist/actions/remove-from-batch.d.mts +1 -1
  323. package/dist/actions/remove-from-batch.mjs +1 -1
  324. package/dist/actions/remove-from-batch.mjs.map +1 -1
  325. package/dist/actions/remove-tag-from-shipment.cjs +1 -1
  326. package/dist/actions/remove-tag-from-shipment.cjs.map +1 -1
  327. package/dist/actions/remove-tag-from-shipment.d.cts +1 -1
  328. package/dist/actions/remove-tag-from-shipment.d.mts +1 -1
  329. package/dist/actions/remove-tag-from-shipment.mjs +1 -1
  330. package/dist/actions/remove-tag-from-shipment.mjs.map +1 -1
  331. package/dist/actions/start-tracking.cjs +1 -1
  332. package/dist/actions/start-tracking.cjs.map +1 -1
  333. package/dist/actions/start-tracking.d.cts +1 -1
  334. package/dist/actions/start-tracking.d.mts +1 -1
  335. package/dist/actions/start-tracking.mjs +1 -1
  336. package/dist/actions/start-tracking.mjs.map +1 -1
  337. package/dist/actions/stop-tracking.cjs +1 -1
  338. package/dist/actions/stop-tracking.cjs.map +1 -1
  339. package/dist/actions/stop-tracking.d.cts +1 -1
  340. package/dist/actions/stop-tracking.d.mts +1 -1
  341. package/dist/actions/stop-tracking.mjs +1 -1
  342. package/dist/actions/stop-tracking.mjs.map +1 -1
  343. package/dist/actions/track-ltl-shipment.cjs +2 -2
  344. package/dist/actions/track-ltl-shipment.cjs.map +1 -1
  345. package/dist/actions/track-ltl-shipment.d.cts +2 -2
  346. package/dist/actions/track-ltl-shipment.d.mts +2 -2
  347. package/dist/actions/track-ltl-shipment.mjs +2 -2
  348. package/dist/actions/track-ltl-shipment.mjs.map +1 -1
  349. package/dist/actions/update-account-image-by-id.cjs +1 -1
  350. package/dist/actions/update-account-image-by-id.cjs.map +1 -1
  351. package/dist/actions/update-account-image-by-id.d.cts +1 -1
  352. package/dist/actions/update-account-image-by-id.d.mts +1 -1
  353. package/dist/actions/update-account-image-by-id.mjs +1 -1
  354. package/dist/actions/update-account-image-by-id.mjs.map +1 -1
  355. package/dist/actions/update-ltl-connection.cjs +2 -2
  356. package/dist/actions/update-ltl-connection.cjs.map +1 -1
  357. package/dist/actions/update-ltl-connection.d.cts +3 -3
  358. package/dist/actions/update-ltl-connection.d.mts +3 -3
  359. package/dist/actions/update-ltl-connection.mjs +2 -2
  360. package/dist/actions/update-ltl-connection.mjs.map +1 -1
  361. package/dist/actions/update-package.cjs +1 -1
  362. package/dist/actions/update-package.cjs.map +1 -1
  363. package/dist/actions/update-package.d.cts +1 -1
  364. package/dist/actions/update-package.d.mts +1 -1
  365. package/dist/actions/update-package.mjs +1 -1
  366. package/dist/actions/update-package.mjs.map +1 -1
  367. package/dist/actions/update-shipment.cjs +15 -15
  368. package/dist/actions/update-shipment.cjs.map +1 -1
  369. package/dist/actions/update-shipment.d.cts +35 -32
  370. package/dist/actions/update-shipment.d.cts.map +1 -1
  371. package/dist/actions/update-shipment.d.mts +35 -32
  372. package/dist/actions/update-shipment.d.mts.map +1 -1
  373. package/dist/actions/update-shipment.mjs +15 -15
  374. package/dist/actions/update-shipment.mjs.map +1 -1
  375. package/dist/actions/update-shipments-tags.cjs +2 -2
  376. package/dist/actions/update-shipments-tags.cjs.map +1 -1
  377. package/dist/actions/update-shipments-tags.d.cts +3 -2
  378. package/dist/actions/update-shipments-tags.d.mts +3 -2
  379. package/dist/actions/update-shipments-tags.mjs +2 -2
  380. package/dist/actions/update-shipments-tags.mjs.map +1 -1
  381. package/dist/actions/update-warehouse.cjs +1 -1
  382. package/dist/actions/update-warehouse.cjs.map +1 -1
  383. package/dist/actions/update-warehouse.d.cts +5 -5
  384. package/dist/actions/update-warehouse.d.mts +5 -5
  385. package/dist/actions/update-warehouse.mjs +1 -1
  386. package/dist/actions/update-warehouse.mjs.map +1 -1
  387. package/dist/actions/update-webhook.cjs +2 -2
  388. package/dist/actions/update-webhook.cjs.map +1 -1
  389. package/dist/actions/update-webhook.d.cts +3 -2
  390. package/dist/actions/update-webhook.d.mts +3 -2
  391. package/dist/actions/update-webhook.mjs +2 -2
  392. package/dist/actions/update-webhook.mjs.map +1 -1
  393. package/dist/actions/validate-address.cjs +5 -5
  394. package/dist/actions/validate-address.cjs.map +1 -1
  395. package/dist/actions/validate-address.d.cts +12 -11
  396. package/dist/actions/validate-address.d.mts +12 -11
  397. package/dist/actions/validate-address.mjs +5 -5
  398. package/dist/actions/validate-address.mjs.map +1 -1
  399. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"get-bulk-rates.cjs","names":["z","action"],"sources":["../../src/actions/get-bulk-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBulkRatesInput = z.object({\n shipments: z.array(z.object({\n customs: z.object({}).describe(\"Customs information for international shipments\").optional(),\n ship_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Destination address\"),\n packages: z.array(z.object({\n weight: z.object({\n unit: z.enum([\"ounce\", \"pound\", \"gram\", \"kilogram\"]).describe(\"Unit of weight measurement.\"),\n value: z.number().describe(\"Weight value; must be non-negative.\"),\n}).describe(\"Package weight details\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of a package.\").optional(),\n}).describe(\"Package information for a shipment.\")).describe(\"List of packages in this shipment\"),\n return_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Address information for shipment origin or destination.\").optional(),\n ship_date: z.string().describe(\"Ship date in ISO 8601 format (YYYY-MM-DD). Defaults to today if not provided.\").optional(),\n ship_from: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Origin address\"),\n carrier_id: z.string().describe(\"Carrier ID for this shipment (optional if using rate_options.carrier_ids)\").optional(),\n confirmation: z.string().describe(\"Delivery confirmation type (e.g., 'delivery', 'signature', 'adult_signature', 'direct_signature')\").optional(),\n service_code: z.string().describe(\"Service code for this shipment (optional if using rate_options.service_codes)\").optional(),\n advanced_options: z.object({}).describe(\"Advanced shipping options\").optional(),\n validate_address: z.string().describe(\"Address validation level. Options: 'no_validation', 'validate_only', 'validate_and_clean'\").optional(),\n insurance_provider: z.string().describe(\"Insurance provider (e.g., 'shipsurance', 'carrier', 'none')\").optional(),\n external_shipment_id: z.string().describe(\"External reference ID for this shipment\").optional(),\n}).describe(\"Shipment details for bulk rate request.\")).describe(\"List of new shipment details to get rates for. Use this OR shipment_ids, not both.\").optional(),\n rate_options: z.object({\n carrier_ids: z.array(z.string()).describe(\"List of carrier IDs to get rates from. Required field - specify at least one carrier ID.\"),\n package_types: z.array(z.string()).describe(\"List of package types to get rates for. Leave empty to get rates for all package types.\").optional(),\n service_codes: z.array(z.string()).describe(\"List of service codes to filter rates. If not provided, all services will be included.\").optional(),\n preferred_currency: z.string().describe(\"Preferred currency for rate amounts (3-letter ISO 4217 currency code).\").optional(),\n calculate_tax_amount: z.boolean().describe(\"Whether to calculate tax amount for the shipment. Set to true to include tax calculations.\").optional(),\n}).describe(\"Rate options including carrier IDs, service codes, and other preferences for fetching rates\"),\n shipment_ids: z.array(z.string()).describe(\"List of existing ShipEngine shipment IDs to get rates for. Each ID must start with 'se-'. Use this OR shipments, not both.\").optional(),\n ship_to_service_point_id: z.string().describe(\"A unique identifier for a carrier service point where the shipment will be delivered by the carrier. This will take precedence over a shipment's ship to address.\").optional(),\n ship_from_service_point_id: z.string().describe(\"A unique identifier for a carrier drop off point where a merchant plans to deliver packages. This will take precedence over a shipment's ship from address.\").optional(),\n}).describe(\"Request model for getting bulk shipping rates.\\nMust provide either shipment_ids (for existing shipments) OR shipments (new shipment details).\");\nconst ShipengineGetBulkRates_ErrorDetailSchema = z.object({\n message: z.string().describe(\"Human-readable error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code identifying the specific error\").nullable().optional(),\n error_type: z.string().describe(\"Type of error (e.g., 'validation', 'business_rule')\").nullable().optional(),\n error_source: z.string().describe(\"Source of the error (e.g., 'shipengine', 'carrier')\").nullable().optional(),\n}).describe(\"Error details for a bulk rate response.\");\nconst ShipengineGetBulkRates_BulkRateSchema = z.object({\n errors: z.array(ShipengineGetBulkRates_ErrorDetailSchema).describe(\"An array of errors that were returned while retrieving the rate\"),\n status: z.string().describe(\"Status of the rate request (e.g., 'working', 'completed', 'error')\").nullable(),\n created_at: z.string().describe(\"Timestamp when the rate request was created (ISO 8601 format)\").nullable(),\n shipment_id: z.string().describe(\"A string that uniquely identifies the shipment\").nullable(),\n rate_request_id: z.string().describe(\"A string that uniquely identifies the rate request\").nullable(),\n}).describe(\"A bulk rate response for a single shipment.\");\nexport const ShipengineGetBulkRatesOutput = z.object({\n rates: z.array(ShipengineGetBulkRates_BulkRateSchema).describe(\"List of bulk rate responses, one for each shipment. Use the rate_request_id to poll for completed rates.\"),\n}).describe(\"Response model for bulk rate requests.\\nReturns a list of rate request statuses.\");\n\nexport const shipengineGetBulkRates = action(\"SHIPENGINE_GET_BULK_RATES\", {\n slug: \"shipengine-get-bulk-rates\",\n name: \"Get Bulk Rates\",\n description: \"Tool to get shipping rates for multiple shipments in a single request. Use when you need to compare rates across multiple carriers or shipments efficiently. The request is processed asynchronously - use the returned rate_request_id to retrieve the actual rates once processing is complete.\",\n input: ShipengineGetBulkRatesInput,\n output: ShipengineGetBulkRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,S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\nimport { action } from \"../action\";\n\nexport const ShipengineGetBulkRatesInput = z.object({\n shipments: z.array(z.object({\n customs: z.record(z.string(), z.unknown()).describe(\"Customs information for international shipments\").optional(),\n ship_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Destination address\"),\n packages: z.array(z.object({\n weight: z.object({\n unit: z.enum([\"ounce\", \"pound\", \"gram\", \"kilogram\"]).describe(\"Unit of weight measurement.\"),\n value: z.number().describe(\"Weight value; must be non-negative.\"),\n}).describe(\"Package weight details\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of a package.\").optional(),\n}).passthrough().describe(\"Package information for a shipment.\")).describe(\"List of packages in this shipment\"),\n return_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Address information for shipment origin or destination.\").optional(),\n ship_date: z.string().describe(\"Ship date in ISO 8601 format (YYYY-MM-DD). Defaults to today if not provided.\").optional(),\n ship_from: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Origin address\"),\n carrier_id: z.string().describe(\"Carrier ID for this shipment (optional if using rate_options.carrier_ids)\").optional(),\n confirmation: z.string().describe(\"Delivery confirmation type (e.g., 'delivery', 'signature', 'adult_signature', 'direct_signature')\").optional(),\n service_code: z.string().describe(\"Service code for this shipment (optional if using rate_options.service_codes)\").optional(),\n advanced_options: z.record(z.string(), z.unknown()).describe(\"Advanced shipping options\").optional(),\n validate_address: z.string().describe(\"Address validation level. Options: 'no_validation', 'validate_only', 'validate_and_clean'\").optional(),\n insurance_provider: z.string().describe(\"Insurance provider (e.g., 'shipsurance', 'carrier', 'none')\").optional(),\n external_shipment_id: z.string().describe(\"External reference ID for this shipment\").optional(),\n}).passthrough().describe(\"Shipment details for bulk rate request.\")).describe(\"List of new shipment details to get rates for. Use this OR shipment_ids, not both.\").optional(),\n rate_options: z.object({\n carrier_ids: z.array(z.string()).describe(\"List of carrier IDs to get rates from. Required field - specify at least one carrier ID.\"),\n package_types: z.array(z.string()).describe(\"List of package types to get rates for. Leave empty to get rates for all package types.\").optional(),\n service_codes: z.array(z.string()).describe(\"List of service codes to filter rates. If not provided, all services will be included.\").optional(),\n preferred_currency: z.string().describe(\"Preferred currency for rate amounts (3-letter ISO 4217 currency code).\").optional(),\n calculate_tax_amount: z.boolean().describe(\"Whether to calculate tax amount for the shipment. Set to true to include tax calculations.\").optional(),\n}).describe(\"Rate options including carrier IDs, service codes, and other preferences for fetching rates\"),\n shipment_ids: z.array(z.string()).describe(\"List of existing ShipEngine shipment IDs to get rates for. Each ID must start with 'se-'. Use this OR shipments, not both.\").optional(),\n ship_to_service_point_id: z.string().describe(\"A unique identifier for a carrier service point where the shipment will be delivered by the carrier. This will take precedence over a shipment's ship to address.\").optional(),\n ship_from_service_point_id: z.string().describe(\"A unique identifier for a carrier drop off point where a merchant plans to deliver packages. This will take precedence over a shipment's ship from address.\").optional(),\n}).describe(\"Request model for getting bulk shipping rates.\\nMust provide either shipment_ids (for existing shipments) OR shipments (new shipment details).\");\nconst ShipengineGetBulkRates_ErrorDetailSchema = z.object({\n message: z.string().describe(\"Human-readable error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code identifying the specific error\").nullable().optional(),\n error_type: z.string().describe(\"Type of error (e.g., 'validation', 'business_rule')\").nullable().optional(),\n error_source: z.string().describe(\"Source of the error (e.g., 'shipengine', 'carrier')\").nullable().optional(),\n}).passthrough().describe(\"Error details for a bulk rate response.\");\nconst ShipengineGetBulkRates_BulkRateSchema = z.object({\n errors: z.array(ShipengineGetBulkRates_ErrorDetailSchema).describe(\"An array of errors that were returned while retrieving the rate\"),\n status: z.string().describe(\"Status of the rate request (e.g., 'working', 'completed', 'error')\").nullable(),\n created_at: z.string().describe(\"Timestamp when the rate request was created (ISO 8601 format)\").nullable(),\n shipment_id: z.string().describe(\"A string that uniquely identifies the shipment\").nullable(),\n rate_request_id: z.string().describe(\"A string that uniquely identifies the rate request\").nullable(),\n}).passthrough().describe(\"A bulk rate response for a single shipment.\");\nexport const ShipengineGetBulkRatesOutput = z.object({\n rates: z.array(ShipengineGetBulkRates_BulkRateSchema).describe(\"List of bulk rate responses, one for each shipment. Use the rate_request_id to poll for completed rates.\"),\n}).passthrough().describe(\"Response model for bulk rate requests.\\nReturns a list of rate request statuses.\");\n\nexport const shipengineGetBulkRates = action(\"SHIPENGINE_GET_BULK_RATES\", {\n slug: \"shipengine-get-bulk-rates\",\n name: \"Get Bulk Rates\",\n description: \"Tool to get shipping rates for multiple shipments in a single request. Use when you need to compare rates across multiple carriers or shipments efficiently. The request is processed asynchronously - use the returned rate_request_id to retrieve the actual rates once processing is complete.\",\n input: ShipengineGetBulkRatesInput,\n output: ShipengineGetBulkRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAChH,SAASA,IAAAA,EAAE,OAAO;GAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GACpD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;GACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;GAC/D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GACnD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;GAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CA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,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0GAA0G,EAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/get-bulk-rates.d.ts
4
4
  declare const ShipengineGetBulkRatesInput: z.ZodObject<{
5
5
  shipments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
- customs: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
6
+ customs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
7
  ship_to: z.ZodObject<{
8
8
  name: z.ZodOptional<z.ZodString>;
9
9
  phone: z.ZodOptional<z.ZodString>;
@@ -36,7 +36,7 @@ declare const ShipengineGetBulkRatesInput: z.ZodObject<{
36
36
  height: z.ZodNumber;
37
37
  length: z.ZodNumber;
38
38
  }, z.core.$strip>>;
39
- }, z.core.$strip>>;
39
+ }, z.core.$loose>>;
40
40
  return_to: z.ZodOptional<z.ZodObject<{
41
41
  name: z.ZodOptional<z.ZodString>;
42
42
  phone: z.ZodOptional<z.ZodString>;
@@ -67,11 +67,11 @@ declare const ShipengineGetBulkRatesInput: z.ZodObject<{
67
67
  carrier_id: z.ZodOptional<z.ZodString>;
68
68
  confirmation: z.ZodOptional<z.ZodString>;
69
69
  service_code: z.ZodOptional<z.ZodString>;
70
- advanced_options: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
70
+ advanced_options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
71
71
  validate_address: z.ZodOptional<z.ZodString>;
72
72
  insurance_provider: z.ZodOptional<z.ZodString>;
73
73
  external_shipment_id: z.ZodOptional<z.ZodString>;
74
- }, z.core.$strip>>>;
74
+ }, z.core.$loose>>>;
75
75
  rate_options: z.ZodObject<{
76
76
  carrier_ids: z.ZodArray<z.ZodString>;
77
77
  package_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -90,13 +90,13 @@ declare const ShipengineGetBulkRatesOutput: z.ZodObject<{
90
90
  error_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
91
  error_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
92
  error_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
- }, z.core.$strip>>;
93
+ }, z.core.$loose>>;
94
94
  status: z.ZodNullable<z.ZodString>;
95
95
  created_at: z.ZodNullable<z.ZodString>;
96
96
  shipment_id: z.ZodNullable<z.ZodString>;
97
97
  rate_request_id: z.ZodNullable<z.ZodString>;
98
- }, z.core.$strip>>;
99
- }, z.core.$strip>;
98
+ }, z.core.$loose>>;
99
+ }, z.core.$loose>;
100
100
  declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActionDefinition<{
101
101
  rate_options: {
102
102
  carrier_ids: string[];
@@ -106,6 +106,7 @@ declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActi
106
106
  calculate_tax_amount?: boolean | undefined;
107
107
  };
108
108
  shipments?: {
109
+ [x: string]: unknown;
109
110
  ship_to: {
110
111
  postal_code: string;
111
112
  country_code: string;
@@ -120,6 +121,7 @@ declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActi
120
121
  address_residential_indicator?: string | undefined;
121
122
  };
122
123
  packages: {
124
+ [x: string]: unknown;
123
125
  weight: {
124
126
  unit: "ounce" | "pound" | "gram" | "kilogram";
125
127
  value: number;
@@ -144,7 +146,7 @@ declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActi
144
146
  address_line3?: string | undefined;
145
147
  address_residential_indicator?: string | undefined;
146
148
  };
147
- customs?: Record<string, never> | undefined;
149
+ customs?: Record<string, unknown> | undefined;
148
150
  return_to?: {
149
151
  postal_code: string;
150
152
  country_code: string;
@@ -162,7 +164,7 @@ declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActi
162
164
  carrier_id?: string | undefined;
163
165
  confirmation?: string | undefined;
164
166
  service_code?: string | undefined;
165
- advanced_options?: Record<string, never> | undefined;
167
+ advanced_options?: Record<string, unknown> | undefined;
166
168
  validate_address?: string | undefined;
167
169
  insurance_provider?: string | undefined;
168
170
  external_shipment_id?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"get-bulk-rates.d.cts","names":[],"sources":["../../src/actions/get-bulk-rates.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuF3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,MAAA;;;;;;;;;;;;;;;;;;uBAAA,MAAA"}
1
+ {"version":3,"file":"get-bulk-rates.d.cts","names":[],"sources":["../../src/actions/get-bulk-rates.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuF3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,MAAA;;;;;;;;;;;;;;;;;;uBAAA,MAAA"}
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/get-bulk-rates.d.ts
4
4
  declare const ShipengineGetBulkRatesInput: z.ZodObject<{
5
5
  shipments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
- customs: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
6
+ customs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
7
  ship_to: z.ZodObject<{
8
8
  name: z.ZodOptional<z.ZodString>;
9
9
  phone: z.ZodOptional<z.ZodString>;
@@ -36,7 +36,7 @@ declare const ShipengineGetBulkRatesInput: z.ZodObject<{
36
36
  height: z.ZodNumber;
37
37
  length: z.ZodNumber;
38
38
  }, z.core.$strip>>;
39
- }, z.core.$strip>>;
39
+ }, z.core.$loose>>;
40
40
  return_to: z.ZodOptional<z.ZodObject<{
41
41
  name: z.ZodOptional<z.ZodString>;
42
42
  phone: z.ZodOptional<z.ZodString>;
@@ -67,11 +67,11 @@ declare const ShipengineGetBulkRatesInput: z.ZodObject<{
67
67
  carrier_id: z.ZodOptional<z.ZodString>;
68
68
  confirmation: z.ZodOptional<z.ZodString>;
69
69
  service_code: z.ZodOptional<z.ZodString>;
70
- advanced_options: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
70
+ advanced_options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
71
71
  validate_address: z.ZodOptional<z.ZodString>;
72
72
  insurance_provider: z.ZodOptional<z.ZodString>;
73
73
  external_shipment_id: z.ZodOptional<z.ZodString>;
74
- }, z.core.$strip>>>;
74
+ }, z.core.$loose>>>;
75
75
  rate_options: z.ZodObject<{
76
76
  carrier_ids: z.ZodArray<z.ZodString>;
77
77
  package_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -90,13 +90,13 @@ declare const ShipengineGetBulkRatesOutput: z.ZodObject<{
90
90
  error_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
91
  error_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
92
  error_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
- }, z.core.$strip>>;
93
+ }, z.core.$loose>>;
94
94
  status: z.ZodNullable<z.ZodString>;
95
95
  created_at: z.ZodNullable<z.ZodString>;
96
96
  shipment_id: z.ZodNullable<z.ZodString>;
97
97
  rate_request_id: z.ZodNullable<z.ZodString>;
98
- }, z.core.$strip>>;
99
- }, z.core.$strip>;
98
+ }, z.core.$loose>>;
99
+ }, z.core.$loose>;
100
100
  declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActionDefinition<{
101
101
  rate_options: {
102
102
  carrier_ids: string[];
@@ -106,6 +106,7 @@ declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActi
106
106
  calculate_tax_amount?: boolean | undefined;
107
107
  };
108
108
  shipments?: {
109
+ [x: string]: unknown;
109
110
  ship_to: {
110
111
  postal_code: string;
111
112
  country_code: string;
@@ -120,6 +121,7 @@ declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActi
120
121
  address_residential_indicator?: string | undefined;
121
122
  };
122
123
  packages: {
124
+ [x: string]: unknown;
123
125
  weight: {
124
126
  unit: "ounce" | "pound" | "gram" | "kilogram";
125
127
  value: number;
@@ -144,7 +146,7 @@ declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActi
144
146
  address_line3?: string | undefined;
145
147
  address_residential_indicator?: string | undefined;
146
148
  };
147
- customs?: Record<string, never> | undefined;
149
+ customs?: Record<string, unknown> | undefined;
148
150
  return_to?: {
149
151
  postal_code: string;
150
152
  country_code: string;
@@ -162,7 +164,7 @@ declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActi
162
164
  carrier_id?: string | undefined;
163
165
  confirmation?: string | undefined;
164
166
  service_code?: string | undefined;
165
- advanced_options?: Record<string, never> | undefined;
167
+ advanced_options?: Record<string, unknown> | undefined;
166
168
  validate_address?: string | undefined;
167
169
  insurance_provider?: string | undefined;
168
170
  external_shipment_id?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"get-bulk-rates.d.mts","names":[],"sources":["../../src/actions/get-bulk-rates.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuF3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,MAAA;;;;;;;;;;;;;;;;;;uBAAA,MAAA"}
1
+ {"version":3,"file":"get-bulk-rates.d.mts","names":[],"sources":["../../src/actions/get-bulk-rates.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuF3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,MAAA;;;;;;;;;;;;;;;;;;uBAAA,MAAA"}
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/get-bulk-rates.ts
4
4
  const ShipengineGetBulkRatesInput = z.object({
5
5
  shipments: z.array(z.object({
6
- customs: z.object({}).describe("Customs information for international shipments").optional(),
6
+ customs: z.record(z.string(), z.unknown()).describe("Customs information for international shipments").optional(),
7
7
  ship_to: z.object({
8
8
  name: z.string().describe("Recipient or sender name").optional(),
9
9
  phone: z.string().describe("Phone number").optional(),
@@ -33,7 +33,7 @@ const ShipengineGetBulkRatesInput = z.object({
33
33
  height: z.number().describe("Height of the package; must be greater than 0."),
34
34
  length: z.number().describe("Length of the package; must be greater than 0.")
35
35
  }).describe("Dimensions of a package.").optional()
36
- }).describe("Package information for a shipment.")).describe("List of packages in this shipment"),
36
+ }).passthrough().describe("Package information for a shipment.")).describe("List of packages in this shipment"),
37
37
  return_to: z.object({
38
38
  name: z.string().describe("Recipient or sender name").optional(),
39
39
  phone: z.string().describe("Phone number").optional(),
@@ -64,11 +64,11 @@ const ShipengineGetBulkRatesInput = z.object({
64
64
  carrier_id: z.string().describe("Carrier ID for this shipment (optional if using rate_options.carrier_ids)").optional(),
65
65
  confirmation: z.string().describe("Delivery confirmation type (e.g., 'delivery', 'signature', 'adult_signature', 'direct_signature')").optional(),
66
66
  service_code: z.string().describe("Service code for this shipment (optional if using rate_options.service_codes)").optional(),
67
- advanced_options: z.object({}).describe("Advanced shipping options").optional(),
67
+ advanced_options: z.record(z.string(), z.unknown()).describe("Advanced shipping options").optional(),
68
68
  validate_address: z.string().describe("Address validation level. Options: 'no_validation', 'validate_only', 'validate_and_clean'").optional(),
69
69
  insurance_provider: z.string().describe("Insurance provider (e.g., 'shipsurance', 'carrier', 'none')").optional(),
70
70
  external_shipment_id: z.string().describe("External reference ID for this shipment").optional()
71
- }).describe("Shipment details for bulk rate request.")).describe("List of new shipment details to get rates for. Use this OR shipment_ids, not both.").optional(),
71
+ }).passthrough().describe("Shipment details for bulk rate request.")).describe("List of new shipment details to get rates for. Use this OR shipment_ids, not both.").optional(),
72
72
  rate_options: z.object({
73
73
  carrier_ids: z.array(z.string()).describe("List of carrier IDs to get rates from. Required field - specify at least one carrier ID."),
74
74
  package_types: z.array(z.string()).describe("List of package types to get rates for. Leave empty to get rates for all package types.").optional(),
@@ -85,20 +85,20 @@ const ShipengineGetBulkRates_ErrorDetailSchema = z.object({
85
85
  error_code: z.string().describe("Error code identifying the specific error").nullable().optional(),
86
86
  error_type: z.string().describe("Type of error (e.g., 'validation', 'business_rule')").nullable().optional(),
87
87
  error_source: z.string().describe("Source of the error (e.g., 'shipengine', 'carrier')").nullable().optional()
88
- }).describe("Error details for a bulk rate response.");
88
+ }).passthrough().describe("Error details for a bulk rate response.");
89
89
  const ShipengineGetBulkRates_BulkRateSchema = z.object({
90
90
  errors: z.array(ShipengineGetBulkRates_ErrorDetailSchema).describe("An array of errors that were returned while retrieving the rate"),
91
91
  status: z.string().describe("Status of the rate request (e.g., 'working', 'completed', 'error')").nullable(),
92
92
  created_at: z.string().describe("Timestamp when the rate request was created (ISO 8601 format)").nullable(),
93
93
  shipment_id: z.string().describe("A string that uniquely identifies the shipment").nullable(),
94
94
  rate_request_id: z.string().describe("A string that uniquely identifies the rate request").nullable()
95
- }).describe("A bulk rate response for a single shipment.");
95
+ }).passthrough().describe("A bulk rate response for a single shipment.");
96
96
  const shipengineGetBulkRates = action("SHIPENGINE_GET_BULK_RATES", {
97
97
  slug: "shipengine-get-bulk-rates",
98
98
  name: "Get Bulk Rates",
99
99
  description: "Tool to get shipping rates for multiple shipments in a single request. Use when you need to compare rates across multiple carriers or shipments efficiently. The request is processed asynchronously - use the returned rate_request_id to retrieve the actual rates once processing is complete.",
100
100
  input: ShipengineGetBulkRatesInput,
101
- output: z.object({ rates: z.array(ShipengineGetBulkRates_BulkRateSchema).describe("List of bulk rate responses, one for each shipment. Use the rate_request_id to poll for completed rates.") }).describe("Response model for bulk rate requests.\nReturns a list of rate request statuses.")
101
+ output: z.object({ rates: z.array(ShipengineGetBulkRates_BulkRateSchema).describe("List of bulk rate responses, one for each shipment. Use the rate_request_id to poll for completed rates.") }).passthrough().describe("Response model for bulk rate requests.\nReturns a list of rate request statuses.")
102
102
  });
103
103
  //#endregion
104
104
  export { shipengineGetBulkRates };
@@ -1 +1 @@
1
- {"version":3,"file":"get-bulk-rates.mjs","names":[],"sources":["../../src/actions/get-bulk-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBulkRatesInput = z.object({\n shipments: z.array(z.object({\n customs: z.object({}).describe(\"Customs information for international shipments\").optional(),\n ship_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Destination address\"),\n packages: z.array(z.object({\n weight: z.object({\n unit: z.enum([\"ounce\", \"pound\", \"gram\", \"kilogram\"]).describe(\"Unit of weight measurement.\"),\n value: z.number().describe(\"Weight value; must be non-negative.\"),\n}).describe(\"Package weight details\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of a package.\").optional(),\n}).describe(\"Package information for a shipment.\")).describe(\"List of packages in this shipment\"),\n return_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Address information for shipment origin or destination.\").optional(),\n ship_date: z.string().describe(\"Ship date in ISO 8601 format (YYYY-MM-DD). Defaults to today if not provided.\").optional(),\n ship_from: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Origin address\"),\n carrier_id: z.string().describe(\"Carrier ID for this shipment (optional if using rate_options.carrier_ids)\").optional(),\n confirmation: z.string().describe(\"Delivery confirmation type (e.g., 'delivery', 'signature', 'adult_signature', 'direct_signature')\").optional(),\n service_code: z.string().describe(\"Service code for this shipment (optional if using rate_options.service_codes)\").optional(),\n advanced_options: z.object({}).describe(\"Advanced shipping options\").optional(),\n validate_address: z.string().describe(\"Address validation level. Options: 'no_validation', 'validate_only', 'validate_and_clean'\").optional(),\n insurance_provider: z.string().describe(\"Insurance provider (e.g., 'shipsurance', 'carrier', 'none')\").optional(),\n external_shipment_id: z.string().describe(\"External reference ID for this shipment\").optional(),\n}).describe(\"Shipment details for bulk rate request.\")).describe(\"List of new shipment details to get rates for. Use this OR shipment_ids, not both.\").optional(),\n rate_options: z.object({\n carrier_ids: z.array(z.string()).describe(\"List of carrier IDs to get rates from. Required field - specify at least one carrier ID.\"),\n package_types: z.array(z.string()).describe(\"List of package types to get rates for. Leave empty to get rates for all package types.\").optional(),\n service_codes: z.array(z.string()).describe(\"List of service codes to filter rates. If not provided, all services will be included.\").optional(),\n preferred_currency: z.string().describe(\"Preferred currency for rate amounts (3-letter ISO 4217 currency code).\").optional(),\n calculate_tax_amount: z.boolean().describe(\"Whether to calculate tax amount for the shipment. Set to true to include tax calculations.\").optional(),\n}).describe(\"Rate options including carrier IDs, service codes, and other preferences for fetching rates\"),\n shipment_ids: z.array(z.string()).describe(\"List of existing ShipEngine shipment IDs to get rates for. Each ID must start with 'se-'. Use this OR shipments, not both.\").optional(),\n ship_to_service_point_id: z.string().describe(\"A unique identifier for a carrier service point where the shipment will be delivered by the carrier. This will take precedence over a shipment's ship to address.\").optional(),\n ship_from_service_point_id: z.string().describe(\"A unique identifier for a carrier drop off point where a merchant plans to deliver packages. This will take precedence over a shipment's ship from address.\").optional(),\n}).describe(\"Request model for getting bulk shipping rates.\\nMust provide either shipment_ids (for existing shipments) OR shipments (new shipment details).\");\nconst ShipengineGetBulkRates_ErrorDetailSchema = z.object({\n message: z.string().describe(\"Human-readable error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code identifying the specific error\").nullable().optional(),\n error_type: z.string().describe(\"Type of error (e.g., 'validation', 'business_rule')\").nullable().optional(),\n error_source: z.string().describe(\"Source of the error (e.g., 'shipengine', 'carrier')\").nullable().optional(),\n}).describe(\"Error details for a bulk rate response.\");\nconst ShipengineGetBulkRates_BulkRateSchema = z.object({\n errors: z.array(ShipengineGetBulkRates_ErrorDetailSchema).describe(\"An array of errors that were returned while retrieving the rate\"),\n status: z.string().describe(\"Status of the rate request (e.g., 'working', 'completed', 'error')\").nullable(),\n created_at: z.string().describe(\"Timestamp when the rate request was created (ISO 8601 format)\").nullable(),\n shipment_id: z.string().describe(\"A string that uniquely identifies the shipment\").nullable(),\n rate_request_id: z.string().describe(\"A string that uniquely identifies the rate request\").nullable(),\n}).describe(\"A bulk rate response for a single shipment.\");\nexport const ShipengineGetBulkRatesOutput = z.object({\n rates: z.array(ShipengineGetBulkRates_BulkRateSchema).describe(\"List of bulk rate responses, one for each shipment. Use the rate_request_id to poll for completed rates.\"),\n}).describe(\"Response model for bulk rate requests.\\nReturns a list of rate request statuses.\");\n\nexport const shipengineGetBulkRates = action(\"SHIPENGINE_GET_BULK_RATES\", {\n slug: \"shipengine-get-bulk-rates\",\n name: \"Get Bulk Rates\",\n description: \"Tool to get shipping rates for multiple shipments in a single request. Use when you need to compare rates across multiple carriers or shipments efficiently. The request is processed asynchronously - use the returned rate_request_id to retrieve the actual rates once processing is complete.\",\n input: ShipengineGetBulkRatesInput,\n output: ShipengineGetBulkRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,WAAW,EAAE,MAAM,EAAE,OAAO;EAC5B,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO;GAClB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GACpD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;GACrD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GAC3D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;GAC/D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GACnD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;GAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;GAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;GACrD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,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8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,wCAAwC,EAAE,OAAO;CACrD,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iEAAiE;CACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0GAA0G,EAC3K,CAAC,CAAC,CAAC,SAAS,kFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-bulk-rates.mjs","names":[],"sources":["../../src/actions/get-bulk-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBulkRatesInput = z.object({\n shipments: z.array(z.object({\n customs: z.record(z.string(), z.unknown()).describe(\"Customs information for international shipments\").optional(),\n ship_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Destination address\"),\n packages: z.array(z.object({\n weight: z.object({\n unit: z.enum([\"ounce\", \"pound\", \"gram\", \"kilogram\"]).describe(\"Unit of weight measurement.\"),\n value: z.number().describe(\"Weight value; must be non-negative.\"),\n}).describe(\"Package weight details\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of a package.\").optional(),\n}).passthrough().describe(\"Package information for a shipment.\")).describe(\"List of packages in this shipment\"),\n return_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Address information for shipment origin or destination.\").optional(),\n ship_date: z.string().describe(\"Ship date in ISO 8601 format (YYYY-MM-DD). Defaults to today if not provided.\").optional(),\n ship_from: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Origin address\"),\n carrier_id: z.string().describe(\"Carrier ID for this shipment (optional if using rate_options.carrier_ids)\").optional(),\n confirmation: z.string().describe(\"Delivery confirmation type (e.g., 'delivery', 'signature', 'adult_signature', 'direct_signature')\").optional(),\n service_code: z.string().describe(\"Service code for this shipment (optional if using rate_options.service_codes)\").optional(),\n advanced_options: z.record(z.string(), z.unknown()).describe(\"Advanced shipping options\").optional(),\n validate_address: z.string().describe(\"Address validation level. Options: 'no_validation', 'validate_only', 'validate_and_clean'\").optional(),\n insurance_provider: z.string().describe(\"Insurance provider (e.g., 'shipsurance', 'carrier', 'none')\").optional(),\n external_shipment_id: z.string().describe(\"External reference ID for this shipment\").optional(),\n}).passthrough().describe(\"Shipment details for bulk rate request.\")).describe(\"List of new shipment details to get rates for. Use this OR shipment_ids, not both.\").optional(),\n rate_options: z.object({\n carrier_ids: z.array(z.string()).describe(\"List of carrier IDs to get rates from. Required field - specify at least one carrier ID.\"),\n package_types: z.array(z.string()).describe(\"List of package types to get rates for. Leave empty to get rates for all package types.\").optional(),\n service_codes: z.array(z.string()).describe(\"List of service codes to filter rates. If not provided, all services will be included.\").optional(),\n preferred_currency: z.string().describe(\"Preferred currency for rate amounts (3-letter ISO 4217 currency code).\").optional(),\n calculate_tax_amount: z.boolean().describe(\"Whether to calculate tax amount for the shipment. Set to true to include tax calculations.\").optional(),\n}).describe(\"Rate options including carrier IDs, service codes, and other preferences for fetching rates\"),\n shipment_ids: z.array(z.string()).describe(\"List of existing ShipEngine shipment IDs to get rates for. Each ID must start with 'se-'. Use this OR shipments, not both.\").optional(),\n ship_to_service_point_id: z.string().describe(\"A unique identifier for a carrier service point where the shipment will be delivered by the carrier. This will take precedence over a shipment's ship to address.\").optional(),\n ship_from_service_point_id: z.string().describe(\"A unique identifier for a carrier drop off point where a merchant plans to deliver packages. This will take precedence over a shipment's ship from address.\").optional(),\n}).describe(\"Request model for getting bulk shipping rates.\\nMust provide either shipment_ids (for existing shipments) OR shipments (new shipment details).\");\nconst ShipengineGetBulkRates_ErrorDetailSchema = z.object({\n message: z.string().describe(\"Human-readable error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code identifying the specific error\").nullable().optional(),\n error_type: z.string().describe(\"Type of error (e.g., 'validation', 'business_rule')\").nullable().optional(),\n error_source: z.string().describe(\"Source of the error (e.g., 'shipengine', 'carrier')\").nullable().optional(),\n}).passthrough().describe(\"Error details for a bulk rate response.\");\nconst ShipengineGetBulkRates_BulkRateSchema = z.object({\n errors: z.array(ShipengineGetBulkRates_ErrorDetailSchema).describe(\"An array of errors that were returned while retrieving the rate\"),\n status: z.string().describe(\"Status of the rate request (e.g., 'working', 'completed', 'error')\").nullable(),\n created_at: z.string().describe(\"Timestamp when the rate request was created (ISO 8601 format)\").nullable(),\n shipment_id: z.string().describe(\"A string that uniquely identifies the shipment\").nullable(),\n rate_request_id: z.string().describe(\"A string that uniquely identifies the rate request\").nullable(),\n}).passthrough().describe(\"A bulk rate response for a single shipment.\");\nexport const ShipengineGetBulkRatesOutput = z.object({\n rates: z.array(ShipengineGetBulkRates_BulkRateSchema).describe(\"List of bulk rate responses, one for each shipment. Use the rate_request_id to poll for completed rates.\"),\n}).passthrough().describe(\"Response model for bulk rate requests.\\nReturns a list of rate request statuses.\");\n\nexport const shipengineGetBulkRates = action(\"SHIPENGINE_GET_BULK_RATES\", {\n slug: \"shipengine-get-bulk-rates\",\n name: \"Get Bulk Rates\",\n description: \"Tool to get shipping rates for multiple shipments in a single request. Use when you need to compare rates across multiple carriers or shipments efficiently. The request is processed asynchronously - use the returned rate_request_id to retrieve the actual rates once processing is complete.\",\n input: ShipengineGetBulkRatesInput,\n output: ShipengineGetBulkRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,WAAW,EAAE,MAAM,EAAE,OAAO;EAC5B,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,OAAO;GAClB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GACpD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;GACrD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GAC3D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;GAC/D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GACnD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;GAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;GAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;GACrD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;GACvD,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EACxL,CAAC,CAAC,CAAC,SAAS,qBAAqB;EAC/B,UAAU,EAAE,MAAM,EAAE,OAAO;G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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,wCAAwC,EAAE,OAAO;CACrD,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iEAAiE;CACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0GAA0G,EAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAOhB;AACV,CAAC"}
@@ -5,11 +5,11 @@ const ShipengineGetInsuranceBalanceInput = zod.z.object({}).describe("Request mo
5
5
  const ShipengineGetInsuranceBalance_BalanceDetailsSchema = zod.z.object({
6
6
  amount: zod.z.number().describe("Current balance amount available in the insurance fund").nullable(),
7
7
  currency: zod.z.string().describe("Currency code for the balance amount (e.g., 'USD', 'EUR')").nullable()
8
- }).describe("Balance details");
8
+ }).passthrough().describe("Balance details");
9
9
  const ShipengineGetInsuranceBalanceOutput = zod.z.object({
10
10
  balance: ShipengineGetInsuranceBalance_BalanceDetailsSchema.nullable(),
11
11
  postage_payment_id: zod.z.string().describe("Postage payment identifier if available").nullable().optional()
12
- }).describe("Response model containing the current insurance balance.");
12
+ }).passthrough().describe("Response model containing the current insurance balance.");
13
13
  const shipengineGetInsuranceBalance = require_action.action("SHIPENGINE_GET_INSURANCE_BALANCE", {
14
14
  slug: "shipengine-get-insurance-balance",
15
15
  name: "Get Insurance Balance",
@@ -1 +1 @@
1
- {"version":3,"file":"get-insurance-balance.cjs","names":["z","action"],"sources":["../../src/actions/get-insurance-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetInsuranceBalanceInput = z.object({}).describe(\"Request model for getting insurance funds balance. No parameters are required.\");\nconst ShipengineGetInsuranceBalance_BalanceDetailsSchema = z.object({\n amount: z.number().describe(\"Current balance amount available in the insurance fund\").nullable(),\n currency: z.string().describe(\"Currency code for the balance amount (e.g., 'USD', 'EUR')\").nullable(),\n}).describe(\"Balance details\");\nexport const ShipengineGetInsuranceBalanceOutput = z.object({\n balance: ShipengineGetInsuranceBalance_BalanceDetailsSchema.nullable(),\n postage_payment_id: z.string().describe(\"Postage payment identifier if available\").nullable().optional(),\n}).describe(\"Response model containing the current insurance balance.\");\n\nexport const shipengineGetInsuranceBalance = action(\"SHIPENGINE_GET_INSURANCE_BALANCE\", {\n slug: \"shipengine-get-insurance-balance\",\n name: \"Get Insurance Balance\",\n description: \"Tool to retrieve the current Shipsurance insurance funds balance. Use when you need to check available insurance balance before purchasing shipment insurance.\",\n input: ShipengineGetInsuranceBalanceInput,\n output: ShipengineGetInsuranceBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACxJ,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,iBAAiB;AAC7B,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAAS,mDAAmD,SAAS;CACrE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-insurance-balance.cjs","names":["z","action"],"sources":["../../src/actions/get-insurance-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetInsuranceBalanceInput = z.object({}).describe(\"Request model for getting insurance funds balance. No parameters are required.\");\nconst ShipengineGetInsuranceBalance_BalanceDetailsSchema = z.object({\n amount: z.number().describe(\"Current balance amount available in the insurance fund\").nullable(),\n currency: z.string().describe(\"Currency code for the balance amount (e.g., 'USD', 'EUR')\").nullable(),\n}).passthrough().describe(\"Balance details\");\nexport const ShipengineGetInsuranceBalanceOutput = z.object({\n balance: ShipengineGetInsuranceBalance_BalanceDetailsSchema.nullable(),\n postage_payment_id: z.string().describe(\"Postage payment identifier if available\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the current insurance balance.\");\n\nexport const shipengineGetInsuranceBalance = action(\"SHIPENGINE_GET_INSURANCE_BALANCE\", {\n slug: \"shipengine-get-insurance-balance\",\n name: \"Get Insurance Balance\",\n description: \"Tool to retrieve the current Shipsurance insurance funds balance. Use when you need to check available insurance balance before purchasing shipment insurance.\",\n input: ShipengineGetInsuranceBalanceInput,\n output: ShipengineGetInsuranceBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACxJ,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iBAAiB;AAC3C,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAAS,mDAAmD,SAAS;CACrE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,9 +6,9 @@ declare const ShipengineGetInsuranceBalanceOutput: z.ZodObject<{
6
6
  balance: z.ZodNullable<z.ZodObject<{
7
7
  amount: z.ZodNullable<z.ZodNumber>;
8
8
  currency: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>>;
9
+ }, z.core.$loose>>;
10
10
  postage_payment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const shipengineGetInsuranceBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { shipengineGetInsuranceBalance };
@@ -6,9 +6,9 @@ declare const ShipengineGetInsuranceBalanceOutput: z.ZodObject<{
6
6
  balance: z.ZodNullable<z.ZodObject<{
7
7
  amount: z.ZodNullable<z.ZodNumber>;
8
8
  currency: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>>;
9
+ }, z.core.$loose>>;
10
10
  postage_payment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const shipengineGetInsuranceBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { shipengineGetInsuranceBalance };
@@ -5,7 +5,7 @@ const ShipengineGetInsuranceBalanceInput = z.object({}).describe("Request model
5
5
  const ShipengineGetInsuranceBalance_BalanceDetailsSchema = z.object({
6
6
  amount: z.number().describe("Current balance amount available in the insurance fund").nullable(),
7
7
  currency: z.string().describe("Currency code for the balance amount (e.g., 'USD', 'EUR')").nullable()
8
- }).describe("Balance details");
8
+ }).passthrough().describe("Balance details");
9
9
  const shipengineGetInsuranceBalance = action("SHIPENGINE_GET_INSURANCE_BALANCE", {
10
10
  slug: "shipengine-get-insurance-balance",
11
11
  name: "Get Insurance Balance",
@@ -14,7 +14,7 @@ const shipengineGetInsuranceBalance = action("SHIPENGINE_GET_INSURANCE_BALANCE",
14
14
  output: z.object({
15
15
  balance: ShipengineGetInsuranceBalance_BalanceDetailsSchema.nullable(),
16
16
  postage_payment_id: z.string().describe("Postage payment identifier if available").nullable().optional()
17
- }).describe("Response model containing the current insurance balance.")
17
+ }).passthrough().describe("Response model containing the current insurance balance.")
18
18
  });
19
19
  //#endregion
20
20
  export { shipengineGetInsuranceBalance };
@@ -1 +1 @@
1
- {"version":3,"file":"get-insurance-balance.mjs","names":[],"sources":["../../src/actions/get-insurance-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetInsuranceBalanceInput = z.object({}).describe(\"Request model for getting insurance funds balance. No parameters are required.\");\nconst ShipengineGetInsuranceBalance_BalanceDetailsSchema = z.object({\n amount: z.number().describe(\"Current balance amount available in the insurance fund\").nullable(),\n currency: z.string().describe(\"Currency code for the balance amount (e.g., 'USD', 'EUR')\").nullable(),\n}).describe(\"Balance details\");\nexport const ShipengineGetInsuranceBalanceOutput = z.object({\n balance: ShipengineGetInsuranceBalance_BalanceDetailsSchema.nullable(),\n postage_payment_id: z.string().describe(\"Postage payment identifier if available\").nullable().optional(),\n}).describe(\"Response model containing the current insurance balance.\");\n\nexport const shipengineGetInsuranceBalance = action(\"SHIPENGINE_GET_INSURANCE_BALANCE\", {\n slug: \"shipengine-get-insurance-balance\",\n name: \"Get Insurance Balance\",\n description: \"Tool to retrieve the current Shipsurance insurance funds balance. Use when you need to check available insurance balance before purchasing shipment insurance.\",\n input: ShipengineGetInsuranceBalanceInput,\n output: ShipengineGetInsuranceBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACxJ,MAAM,qDAAqD,EAAE,OAAO;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,iBAAiB;AAM7B,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,mDAAmD,SAAS;EACrE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-insurance-balance.mjs","names":[],"sources":["../../src/actions/get-insurance-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetInsuranceBalanceInput = z.object({}).describe(\"Request model for getting insurance funds balance. No parameters are required.\");\nconst ShipengineGetInsuranceBalance_BalanceDetailsSchema = z.object({\n amount: z.number().describe(\"Current balance amount available in the insurance fund\").nullable(),\n currency: z.string().describe(\"Currency code for the balance amount (e.g., 'USD', 'EUR')\").nullable(),\n}).passthrough().describe(\"Balance details\");\nexport const ShipengineGetInsuranceBalanceOutput = z.object({\n balance: ShipengineGetInsuranceBalance_BalanceDetailsSchema.nullable(),\n postage_payment_id: z.string().describe(\"Postage payment identifier if available\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the current insurance balance.\");\n\nexport const shipengineGetInsuranceBalance = action(\"SHIPENGINE_GET_INSURANCE_BALANCE\", {\n slug: \"shipengine-get-insurance-balance\",\n name: \"Get Insurance Balance\",\n description: \"Tool to retrieve the current Shipsurance insurance funds balance. Use when you need to check available insurance balance before purchasing shipment insurance.\",\n input: ShipengineGetInsuranceBalanceInput,\n output: ShipengineGetInsuranceBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACxJ,MAAM,qDAAqD,EAAE,OAAO;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iBAAiB;AAM3C,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,mDAAmD,SAAS;EACrE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -6,8 +6,8 @@ const ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema
6
6
  name: zod.z.string().describe("The credential field name (e.g., account_number, username, password, secret, securitycode).").nullable().optional(),
7
7
  type: zod.z.string().describe("The data type of the credential field (e.g., string, password).").nullable().optional(),
8
8
  title: zod.z.string().describe("Display title for the credential field, shown to users in forms.").nullable().optional()
9
- }).describe("Details about a credential field required to connect an LTL carrier.");
10
- const ShipengineGetLtlCarrierCredentialRequirementsOutput = zod.z.object({ credential_requirements: zod.z.array(ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema).describe("List of credential fields required to connect the specified LTL carrier.") }).describe("Response containing credential requirements for an LTL carrier.");
9
+ }).passthrough().describe("Details about a credential field required to connect an LTL carrier.");
10
+ const ShipengineGetLtlCarrierCredentialRequirementsOutput = zod.z.object({ credential_requirements: zod.z.array(ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema).describe("List of credential fields required to connect the specified LTL carrier.") }).passthrough().describe("Response containing credential requirements for an LTL carrier.");
11
11
  const shipengineGetLtlCarrierCredentialRequirements = require_action.action("SHIPENGINE_GET_LTL_CARRIER_CREDENTIAL_REQUIREMENTS", {
12
12
  slug: "shipengine-get-ltl-carrier-credential-requirements",
13
13
  name: "Get LTL Carrier Credential Requirements",
@@ -1 +1 @@
1
- {"version":3,"file":"get-ltl-carrier-credential-requirements.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-credential-requirements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierCredentialRequirementsInput = z.object({\n carrier_code: z.string().describe(\"The SCAC (Standard Carrier Alpha Code) for the LTL carrier. Common codes: FXFR (FedEx Freight), FWDN (Forward Air), AACT (AAA Cooper), ABFS (ABF Freight).\"),\n}).describe(\"Request parameters for retrieving credential requirements for an LTL carrier.\");\nconst ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema = z.object({\n name: z.string().describe(\"The credential field name (e.g., account_number, username, password, secret, securitycode).\").nullable().optional(),\n type: z.string().describe(\"The data type of the credential field (e.g., string, password).\").nullable().optional(),\n title: z.string().describe(\"Display title for the credential field, shown to users in forms.\").nullable().optional(),\n}).describe(\"Details about a credential field required to connect an LTL carrier.\");\nexport const ShipengineGetLtlCarrierCredentialRequirementsOutput = z.object({\n credential_requirements: z.array(ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema).describe(\"List of credential fields required to connect the specified LTL carrier.\"),\n}).describe(\"Response containing credential requirements for an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierCredentialRequirements = action(\"SHIPENGINE_GET_LTL_CARRIER_CREDENTIAL_REQUIREMENTS\", {\n slug: \"shipengine-get-ltl-carrier-credential-requirements\",\n name: \"Get LTL Carrier Credential Requirements\",\n description: \"Tool to retrieve credential requirements for connecting an LTL carrier. Use when you need to discover what credentials (e.g., account number, username, password) are required before connecting a specific LTL carrier.\",\n input: ShipengineGetLtlCarrierCredentialRequirementsInput,\n output: ShipengineGetLtlCarrierCredentialRequirementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qDAAqDA,IAAAA,EAAE,OAAO,EACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,EAChM,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,4EAA4EA,IAAAA,EAAE,OAAO;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,sDAAsDA,IAAAA,EAAE,OAAO,EAC1E,yBAAyBA,IAAAA,EAAE,MAAM,yEAAyE,CAAC,CAAC,SAAS,0EAA0E,EACjM,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,gDAAgDC,eAAAA,OAAO,sDAAsD;CACxH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-ltl-carrier-credential-requirements.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-credential-requirements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierCredentialRequirementsInput = z.object({\n carrier_code: z.string().describe(\"The SCAC (Standard Carrier Alpha Code) for the LTL carrier. Common codes: FXFR (FedEx Freight), FWDN (Forward Air), AACT (AAA Cooper), ABFS (ABF Freight).\"),\n}).describe(\"Request parameters for retrieving credential requirements for an LTL carrier.\");\nconst ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema = z.object({\n name: z.string().describe(\"The credential field name (e.g., account_number, username, password, secret, securitycode).\").nullable().optional(),\n type: z.string().describe(\"The data type of the credential field (e.g., string, password).\").nullable().optional(),\n title: z.string().describe(\"Display title for the credential field, shown to users in forms.\").nullable().optional(),\n}).passthrough().describe(\"Details about a credential field required to connect an LTL carrier.\");\nexport const ShipengineGetLtlCarrierCredentialRequirementsOutput = z.object({\n credential_requirements: z.array(ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema).describe(\"List of credential fields required to connect the specified LTL carrier.\"),\n}).passthrough().describe(\"Response containing credential requirements for an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierCredentialRequirements = action(\"SHIPENGINE_GET_LTL_CARRIER_CREDENTIAL_REQUIREMENTS\", {\n slug: \"shipengine-get-ltl-carrier-credential-requirements\",\n name: \"Get LTL Carrier Credential Requirements\",\n description: \"Tool to retrieve credential requirements for connecting an LTL carrier. Use when you need to discover what credentials (e.g., account number, username, password) are required before connecting a specific LTL carrier.\",\n input: ShipengineGetLtlCarrierCredentialRequirementsInput,\n output: ShipengineGetLtlCarrierCredentialRequirementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qDAAqDA,IAAAA,EAAE,OAAO,EACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,EAChM,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,4EAA4EA,IAAAA,EAAE,OAAO;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAChG,MAAa,sDAAsDA,IAAAA,EAAE,OAAO,EAC1E,yBAAyBA,IAAAA,EAAE,MAAM,yEAAyE,CAAC,CAAC,SAAS,0EAA0E,EACjM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,gDAAgDC,eAAAA,OAAO,sDAAsD;CACxH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,8 +9,8 @@ declare const ShipengineGetLtlCarrierCredentialRequirementsOutput: z.ZodObject<{
9
9
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
14
  declare const shipengineGetLtlCarrierCredentialRequirements: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  carrier_code: string;
16
16
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -9,8 +9,8 @@ declare const ShipengineGetLtlCarrierCredentialRequirementsOutput: z.ZodObject<{
9
9
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
14
  declare const shipengineGetLtlCarrierCredentialRequirements: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  carrier_code: string;
16
16
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,13 +6,13 @@ const ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema
6
6
  name: z.string().describe("The credential field name (e.g., account_number, username, password, secret, securitycode).").nullable().optional(),
7
7
  type: z.string().describe("The data type of the credential field (e.g., string, password).").nullable().optional(),
8
8
  title: z.string().describe("Display title for the credential field, shown to users in forms.").nullable().optional()
9
- }).describe("Details about a credential field required to connect an LTL carrier.");
9
+ }).passthrough().describe("Details about a credential field required to connect an LTL carrier.");
10
10
  const shipengineGetLtlCarrierCredentialRequirements = action("SHIPENGINE_GET_LTL_CARRIER_CREDENTIAL_REQUIREMENTS", {
11
11
  slug: "shipengine-get-ltl-carrier-credential-requirements",
12
12
  name: "Get LTL Carrier Credential Requirements",
13
13
  description: "Tool to retrieve credential requirements for connecting an LTL carrier. Use when you need to discover what credentials (e.g., account number, username, password) are required before connecting a specific LTL carrier.",
14
14
  input: ShipengineGetLtlCarrierCredentialRequirementsInput,
15
- output: z.object({ credential_requirements: z.array(ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema).describe("List of credential fields required to connect the specified LTL carrier.") }).describe("Response containing credential requirements for an LTL carrier.")
15
+ output: z.object({ credential_requirements: z.array(ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema).describe("List of credential fields required to connect the specified LTL carrier.") }).passthrough().describe("Response containing credential requirements for an LTL carrier.")
16
16
  });
17
17
  //#endregion
18
18
  export { shipengineGetLtlCarrierCredentialRequirements };
@@ -1 +1 @@
1
- {"version":3,"file":"get-ltl-carrier-credential-requirements.mjs","names":[],"sources":["../../src/actions/get-ltl-carrier-credential-requirements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierCredentialRequirementsInput = z.object({\n carrier_code: z.string().describe(\"The SCAC (Standard Carrier Alpha Code) for the LTL carrier. Common codes: FXFR (FedEx Freight), FWDN (Forward Air), AACT (AAA Cooper), ABFS (ABF Freight).\"),\n}).describe(\"Request parameters for retrieving credential requirements for an LTL carrier.\");\nconst ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema = z.object({\n name: z.string().describe(\"The credential field name (e.g., account_number, username, password, secret, securitycode).\").nullable().optional(),\n type: z.string().describe(\"The data type of the credential field (e.g., string, password).\").nullable().optional(),\n title: z.string().describe(\"Display title for the credential field, shown to users in forms.\").nullable().optional(),\n}).describe(\"Details about a credential field required to connect an LTL carrier.\");\nexport const ShipengineGetLtlCarrierCredentialRequirementsOutput = z.object({\n credential_requirements: z.array(ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema).describe(\"List of credential fields required to connect the specified LTL carrier.\"),\n}).describe(\"Response containing credential requirements for an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierCredentialRequirements = action(\"SHIPENGINE_GET_LTL_CARRIER_CREDENTIAL_REQUIREMENTS\", {\n slug: \"shipengine-get-ltl-carrier-credential-requirements\",\n name: \"Get LTL Carrier Credential Requirements\",\n description: \"Tool to retrieve credential requirements for connecting an LTL carrier. Use when you need to discover what credentials (e.g., account number, username, password) are required before connecting a specific LTL carrier.\",\n input: ShipengineGetLtlCarrierCredentialRequirementsInput,\n output: ShipengineGetLtlCarrierCredentialRequirementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qDAAqD,EAAE,OAAO,EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,EAChM,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,4EAA4E,EAAE,OAAO;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAKlF,MAAa,gDAAgD,OAAO,sDAAsD;CACxH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiE,EAAE,OAAO,EAC1E,yBAAyB,EAAE,MAAM,yEAAyE,CAAC,CAAC,SAAS,0EAA0E,EACjM,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-ltl-carrier-credential-requirements.mjs","names":[],"sources":["../../src/actions/get-ltl-carrier-credential-requirements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierCredentialRequirementsInput = z.object({\n carrier_code: z.string().describe(\"The SCAC (Standard Carrier Alpha Code) for the LTL carrier. Common codes: FXFR (FedEx Freight), FWDN (Forward Air), AACT (AAA Cooper), ABFS (ABF Freight).\"),\n}).describe(\"Request parameters for retrieving credential requirements for an LTL carrier.\");\nconst ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema = z.object({\n name: z.string().describe(\"The credential field name (e.g., account_number, username, password, secret, securitycode).\").nullable().optional(),\n type: z.string().describe(\"The data type of the credential field (e.g., string, password).\").nullable().optional(),\n title: z.string().describe(\"Display title for the credential field, shown to users in forms.\").nullable().optional(),\n}).passthrough().describe(\"Details about a credential field required to connect an LTL carrier.\");\nexport const ShipengineGetLtlCarrierCredentialRequirementsOutput = z.object({\n credential_requirements: z.array(ShipengineGetLtlCarrierCredentialRequirements_CredentialRequirementSchema).describe(\"List of credential fields required to connect the specified LTL carrier.\"),\n}).passthrough().describe(\"Response containing credential requirements for an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierCredentialRequirements = action(\"SHIPENGINE_GET_LTL_CARRIER_CREDENTIAL_REQUIREMENTS\", {\n slug: \"shipengine-get-ltl-carrier-credential-requirements\",\n name: \"Get LTL Carrier Credential Requirements\",\n description: \"Tool to retrieve credential requirements for connecting an LTL carrier. Use when you need to discover what credentials (e.g., account number, username, password) are required before connecting a specific LTL carrier.\",\n input: ShipengineGetLtlCarrierCredentialRequirementsInput,\n output: ShipengineGetLtlCarrierCredentialRequirementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qDAAqD,EAAE,OAAO,EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,EAChM,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,4EAA4E,EAAE,OAAO;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAKhG,MAAa,gDAAgD,OAAO,sDAAsD;CACxH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiE,EAAE,OAAO,EAC1E,yBAAyB,EAAE,MAAM,yEAAyE,CAAC,CAAC,SAAS,0EAA0E,EACjM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema = zod.z.enum([
11
11
  "spot_quote",
12
12
  "tracking"
13
13
  ]).describe("Types of features that an LTL carrier may support.");
14
- const ShipengineGetLtlCarrierFeaturesOutput = zod.z.object({ features: zod.z.array(ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema).describe("List of features supported by the carrier. Possible values: auto_pro (automatic PRO number generation), connect (can be connected programmatically), documents (document retrieval support), quote (contracted rate quotes), scheduled_pickup (electronic pickup scheduling), spot_quote (last-minute quotes), tracking (shipment tracking).") }).describe("Response containing features supported by an LTL carrier.");
14
+ const ShipengineGetLtlCarrierFeaturesOutput = zod.z.object({ features: zod.z.array(ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema).describe("List of features supported by the carrier. Possible values: auto_pro (automatic PRO number generation), connect (can be connected programmatically), documents (document retrieval support), quote (contracted rate quotes), scheduled_pickup (electronic pickup scheduling), spot_quote (last-minute quotes), tracking (shipment tracking).") }).passthrough().describe("Response containing features supported by an LTL carrier.");
15
15
  const shipengineGetLtlCarrierFeatures = require_action.action("SHIPENGINE_GET_LTL_CARRIER_FEATURES", {
16
16
  slug: "shipengine-get-ltl-carrier-features",
17
17
  name: "Get LTL Carrier Features",
@@ -1 +1 @@
1
- {"version":3,"file":"get-ltl-carrier-features.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-features.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierFeaturesInput = z.object({\n carrier_code: z.string().describe(\"The Standard Carrier Alpha Code (SCAC) identifying the LTL carrier. Examples: 'fxfr' (FedEx Freight), 'fwdn' (Forward Air), 'midw' (Midwest Motor Express), 'aact' (AAA Cooper Transportation). For testing, use: 'TEST' (success), 'WARN' (warnings), 'FAIL' (errors).\"),\n}).describe(\"Request parameters for retrieving features supported by an LTL carrier.\");\nconst ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema = z.enum([\"auto_pro\", \"connect\", \"documents\", \"quote\", \"scheduled_pickup\", \"spot_quote\", \"tracking\"]).describe(\"Types of features that an LTL carrier may support.\");\nexport const ShipengineGetLtlCarrierFeaturesOutput = z.object({\n features: z.array(ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema).describe(\"List of features supported by the carrier. Possible values: auto_pro (automatic PRO number generation), connect (can be connected programmatically), documents (document retrieval support), quote (contracted rate quotes), scheduled_pickup (electronic pickup scheduling), spot_quote (last-minute quotes), tracking (shipment tracking).\"),\n}).describe(\"Response containing features supported by an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierFeatures = action(\"SHIPENGINE_GET_LTL_CARRIER_FEATURES\", {\n slug: \"shipengine-get-ltl-carrier-features\",\n name: \"Get LTL Carrier Features\",\n description: \"Tool to retrieve features supported by an LTL carrier. Use when you need to discover what capabilities (e.g., tracking, quotes, scheduled pickups) are available for a specific LTL carrier before creating shipments.\",\n input: ShipengineGetLtlCarrierFeaturesInput,\n output: ShipengineGetLtlCarrierFeaturesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yQAAyQ,EAC7S,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,uDAAuDA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAW;CAAa;CAAS;CAAoB;CAAc;AAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC9N,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,UAAUA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,8UAA8U,EACja,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-ltl-carrier-features.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-features.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierFeaturesInput = z.object({\n carrier_code: z.string().describe(\"The Standard Carrier Alpha Code (SCAC) identifying the LTL carrier. Examples: 'fxfr' (FedEx Freight), 'fwdn' (Forward Air), 'midw' (Midwest Motor Express), 'aact' (AAA Cooper Transportation). For testing, use: 'TEST' (success), 'WARN' (warnings), 'FAIL' (errors).\"),\n}).describe(\"Request parameters for retrieving features supported by an LTL carrier.\");\nconst ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema = z.enum([\"auto_pro\", \"connect\", \"documents\", \"quote\", \"scheduled_pickup\", \"spot_quote\", \"tracking\"]).describe(\"Types of features that an LTL carrier may support.\");\nexport const ShipengineGetLtlCarrierFeaturesOutput = z.object({\n features: z.array(ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema).describe(\"List of features supported by the carrier. Possible values: auto_pro (automatic PRO number generation), connect (can be connected programmatically), documents (document retrieval support), quote (contracted rate quotes), scheduled_pickup (electronic pickup scheduling), spot_quote (last-minute quotes), tracking (shipment tracking).\"),\n}).passthrough().describe(\"Response containing features supported by an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierFeatures = action(\"SHIPENGINE_GET_LTL_CARRIER_FEATURES\", {\n slug: \"shipengine-get-ltl-carrier-features\",\n name: \"Get LTL Carrier Features\",\n description: \"Tool to retrieve features supported by an LTL carrier. Use when you need to discover what capabilities (e.g., tracking, quotes, scheduled pickups) are available for a specific LTL carrier before creating shipments.\",\n input: ShipengineGetLtlCarrierFeaturesInput,\n output: ShipengineGetLtlCarrierFeaturesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yQAAyQ,EAC7S,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,uDAAuDA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAW;CAAa;CAAS;CAAoB;CAAc;AAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC9N,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,UAAUA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,8UAA8U,EACja,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,7 +14,7 @@ declare const ShipengineGetLtlCarrierFeaturesOutput: z.ZodObject<{
14
14
  spot_quote: "spot_quote";
15
15
  tracking: "tracking";
16
16
  }>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const shipengineGetLtlCarrierFeatures: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  carrier_code: string;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;