@keystrokehq/shipengine 0.1.5 → 0.1.6

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 (541) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-tag-to-shipment.cjs +1 -0
  4. package/dist/actions/add-tag-to-shipment.cjs.map +1 -1
  5. package/dist/actions/add-tag-to-shipment.d.cts +3 -16
  6. package/dist/actions/add-tag-to-shipment.d.cts.map +1 -1
  7. package/dist/actions/add-tag-to-shipment.d.mts +3 -16
  8. package/dist/actions/add-tag-to-shipment.d.mts.map +1 -1
  9. package/dist/actions/add-tag-to-shipment.mjs +1 -0
  10. package/dist/actions/add-tag-to-shipment.mjs.map +1 -1
  11. package/dist/actions/add-to-batch.cjs +1 -0
  12. package/dist/actions/add-to-batch.cjs.map +1 -1
  13. package/dist/actions/add-to-batch.d.cts +3 -17
  14. package/dist/actions/add-to-batch.d.cts.map +1 -1
  15. package/dist/actions/add-to-batch.d.mts +3 -17
  16. package/dist/actions/add-to-batch.d.mts.map +1 -1
  17. package/dist/actions/add-to-batch.mjs +1 -0
  18. package/dist/actions/add-to-batch.mjs.map +1 -1
  19. package/dist/actions/cancel-shipment.cjs +1 -0
  20. package/dist/actions/cancel-shipment.cjs.map +1 -1
  21. package/dist/actions/cancel-shipment.d.cts +3 -15
  22. package/dist/actions/cancel-shipment.d.cts.map +1 -1
  23. package/dist/actions/cancel-shipment.d.mts +3 -15
  24. package/dist/actions/cancel-shipment.d.mts.map +1 -1
  25. package/dist/actions/cancel-shipment.mjs +1 -0
  26. package/dist/actions/cancel-shipment.mjs.map +1 -1
  27. package/dist/actions/connect-ltl-carrier.cjs +1 -0
  28. package/dist/actions/connect-ltl-carrier.cjs.map +1 -1
  29. package/dist/actions/connect-ltl-carrier.d.cts +3 -16
  30. package/dist/actions/connect-ltl-carrier.d.cts.map +1 -1
  31. package/dist/actions/connect-ltl-carrier.d.mts +3 -16
  32. package/dist/actions/connect-ltl-carrier.d.mts.map +1 -1
  33. package/dist/actions/connect-ltl-carrier.mjs +1 -0
  34. package/dist/actions/connect-ltl-carrier.mjs.map +1 -1
  35. package/dist/actions/connect-shipsurance.cjs +1 -0
  36. package/dist/actions/connect-shipsurance.cjs.map +1 -1
  37. package/dist/actions/connect-shipsurance.d.cts +3 -16
  38. package/dist/actions/connect-shipsurance.d.cts.map +1 -1
  39. package/dist/actions/connect-shipsurance.d.mts +3 -16
  40. package/dist/actions/connect-shipsurance.d.mts.map +1 -1
  41. package/dist/actions/connect-shipsurance.mjs +1 -0
  42. package/dist/actions/connect-shipsurance.mjs.map +1 -1
  43. package/dist/actions/create-account-image.cjs +1 -0
  44. package/dist/actions/create-account-image.cjs.map +1 -1
  45. package/dist/actions/create-account-image.d.cts +3 -17
  46. package/dist/actions/create-account-image.d.cts.map +1 -1
  47. package/dist/actions/create-account-image.d.mts +3 -17
  48. package/dist/actions/create-account-image.d.mts.map +1 -1
  49. package/dist/actions/create-account-image.mjs +1 -0
  50. package/dist/actions/create-account-image.mjs.map +1 -1
  51. package/dist/actions/create-package-type.cjs +1 -0
  52. package/dist/actions/create-package-type.cjs.map +1 -1
  53. package/dist/actions/create-package-type.d.cts +3 -23
  54. package/dist/actions/create-package-type.d.cts.map +1 -1
  55. package/dist/actions/create-package-type.d.mts +3 -23
  56. package/dist/actions/create-package-type.d.mts.map +1 -1
  57. package/dist/actions/create-package-type.mjs +1 -0
  58. package/dist/actions/create-package-type.mjs.map +1 -1
  59. package/dist/actions/create-tag.cjs +1 -0
  60. package/dist/actions/create-tag.cjs.map +1 -1
  61. package/dist/actions/create-tag.d.cts +3 -15
  62. package/dist/actions/create-tag.d.cts.map +1 -1
  63. package/dist/actions/create-tag.d.mts +3 -15
  64. package/dist/actions/create-tag.d.mts.map +1 -1
  65. package/dist/actions/create-tag.mjs +1 -0
  66. package/dist/actions/create-tag.mjs.map +1 -1
  67. package/dist/actions/create-tag2.cjs +1 -0
  68. package/dist/actions/create-tag2.cjs.map +1 -1
  69. package/dist/actions/create-tag2.d.cts +3 -15
  70. package/dist/actions/create-tag2.d.cts.map +1 -1
  71. package/dist/actions/create-tag2.d.mts +3 -15
  72. package/dist/actions/create-tag2.d.mts.map +1 -1
  73. package/dist/actions/create-tag2.mjs +1 -0
  74. package/dist/actions/create-tag2.mjs.map +1 -1
  75. package/dist/actions/create-warehouse.cjs +1 -0
  76. package/dist/actions/create-warehouse.cjs.map +1 -1
  77. package/dist/actions/create-warehouse.d.cts +3 -42
  78. package/dist/actions/create-warehouse.d.cts.map +1 -1
  79. package/dist/actions/create-warehouse.d.mts +3 -42
  80. package/dist/actions/create-warehouse.d.mts.map +1 -1
  81. package/dist/actions/create-warehouse.mjs +1 -0
  82. package/dist/actions/create-warehouse.mjs.map +1 -1
  83. package/dist/actions/create-webhook.cjs +1 -0
  84. package/dist/actions/create-webhook.cjs.map +1 -1
  85. package/dist/actions/create-webhook.d.cts +3 -16
  86. package/dist/actions/create-webhook.d.cts.map +1 -1
  87. package/dist/actions/create-webhook.d.mts +3 -16
  88. package/dist/actions/create-webhook.d.mts.map +1 -1
  89. package/dist/actions/create-webhook.mjs +1 -0
  90. package/dist/actions/create-webhook.mjs.map +1 -1
  91. package/dist/actions/delete-account-image-by-id.cjs +1 -0
  92. package/dist/actions/delete-account-image-by-id.cjs.map +1 -1
  93. package/dist/actions/delete-account-image-by-id.d.cts +3 -15
  94. package/dist/actions/delete-account-image-by-id.d.cts.map +1 -1
  95. package/dist/actions/delete-account-image-by-id.d.mts +3 -15
  96. package/dist/actions/delete-account-image-by-id.d.mts.map +1 -1
  97. package/dist/actions/delete-account-image-by-id.mjs +1 -0
  98. package/dist/actions/delete-account-image-by-id.mjs.map +1 -1
  99. package/dist/actions/delete-batch.cjs +1 -0
  100. package/dist/actions/delete-batch.cjs.map +1 -1
  101. package/dist/actions/delete-batch.d.cts +3 -15
  102. package/dist/actions/delete-batch.d.cts.map +1 -1
  103. package/dist/actions/delete-batch.d.mts +3 -15
  104. package/dist/actions/delete-batch.d.mts.map +1 -1
  105. package/dist/actions/delete-batch.mjs +1 -0
  106. package/dist/actions/delete-batch.mjs.map +1 -1
  107. package/dist/actions/delete-package.cjs +1 -0
  108. package/dist/actions/delete-package.cjs.map +1 -1
  109. package/dist/actions/delete-package.d.cts +3 -15
  110. package/dist/actions/delete-package.d.cts.map +1 -1
  111. package/dist/actions/delete-package.d.mts +3 -15
  112. package/dist/actions/delete-package.d.mts.map +1 -1
  113. package/dist/actions/delete-package.mjs +1 -0
  114. package/dist/actions/delete-package.mjs.map +1 -1
  115. package/dist/actions/delete-warehouse.cjs +1 -0
  116. package/dist/actions/delete-warehouse.cjs.map +1 -1
  117. package/dist/actions/delete-warehouse.d.cts +3 -15
  118. package/dist/actions/delete-warehouse.d.cts.map +1 -1
  119. package/dist/actions/delete-warehouse.d.mts +3 -15
  120. package/dist/actions/delete-warehouse.d.mts.map +1 -1
  121. package/dist/actions/delete-warehouse.mjs +1 -0
  122. package/dist/actions/delete-warehouse.mjs.map +1 -1
  123. package/dist/actions/delete-webhook.cjs +1 -0
  124. package/dist/actions/delete-webhook.cjs.map +1 -1
  125. package/dist/actions/delete-webhook.d.cts +3 -15
  126. package/dist/actions/delete-webhook.d.cts.map +1 -1
  127. package/dist/actions/delete-webhook.d.mts +3 -15
  128. package/dist/actions/delete-webhook.d.mts.map +1 -1
  129. package/dist/actions/delete-webhook.mjs +1 -0
  130. package/dist/actions/delete-webhook.mjs.map +1 -1
  131. package/dist/actions/disconnect-carrier.cjs +1 -0
  132. package/dist/actions/disconnect-carrier.cjs.map +1 -1
  133. package/dist/actions/disconnect-carrier.d.cts +3 -16
  134. package/dist/actions/disconnect-carrier.d.cts.map +1 -1
  135. package/dist/actions/disconnect-carrier.d.mts +3 -16
  136. package/dist/actions/disconnect-carrier.d.mts.map +1 -1
  137. package/dist/actions/disconnect-carrier.mjs +1 -0
  138. package/dist/actions/disconnect-carrier.mjs.map +1 -1
  139. package/dist/actions/disconnect-shipsurance.cjs +1 -0
  140. package/dist/actions/disconnect-shipsurance.cjs.map +1 -1
  141. package/dist/actions/disconnect-shipsurance.d.cts +3 -13
  142. package/dist/actions/disconnect-shipsurance.d.cts.map +1 -1
  143. package/dist/actions/disconnect-shipsurance.d.mts +3 -13
  144. package/dist/actions/disconnect-shipsurance.d.mts.map +1 -1
  145. package/dist/actions/disconnect-shipsurance.mjs +1 -0
  146. package/dist/actions/disconnect-shipsurance.mjs.map +1 -1
  147. package/dist/actions/download-file.cjs +1 -0
  148. package/dist/actions/download-file.cjs.map +1 -1
  149. package/dist/actions/download-file.d.cts +3 -19
  150. package/dist/actions/download-file.d.cts.map +1 -1
  151. package/dist/actions/download-file.d.mts +3 -19
  152. package/dist/actions/download-file.d.mts.map +1 -1
  153. package/dist/actions/download-file.mjs +1 -0
  154. package/dist/actions/download-file.mjs.map +1 -1
  155. package/dist/actions/get-account-image-by-id.cjs +1 -0
  156. package/dist/actions/get-account-image-by-id.cjs.map +1 -1
  157. package/dist/actions/get-account-image-by-id.d.cts +3 -15
  158. package/dist/actions/get-account-image-by-id.d.cts.map +1 -1
  159. package/dist/actions/get-account-image-by-id.d.mts +3 -15
  160. package/dist/actions/get-account-image-by-id.d.mts.map +1 -1
  161. package/dist/actions/get-account-image-by-id.mjs +1 -0
  162. package/dist/actions/get-account-image-by-id.mjs.map +1 -1
  163. package/dist/actions/get-batch-by-external-id.cjs +1 -0
  164. package/dist/actions/get-batch-by-external-id.cjs.map +1 -1
  165. package/dist/actions/get-batch-by-external-id.d.cts +3 -15
  166. package/dist/actions/get-batch-by-external-id.d.cts.map +1 -1
  167. package/dist/actions/get-batch-by-external-id.d.mts +3 -15
  168. package/dist/actions/get-batch-by-external-id.d.mts.map +1 -1
  169. package/dist/actions/get-batch-by-external-id.mjs +1 -0
  170. package/dist/actions/get-batch-by-external-id.mjs.map +1 -1
  171. package/dist/actions/get-batch-by-id.cjs +1 -0
  172. package/dist/actions/get-batch-by-id.cjs.map +1 -1
  173. package/dist/actions/get-batch-by-id.d.cts +3 -15
  174. package/dist/actions/get-batch-by-id.d.cts.map +1 -1
  175. package/dist/actions/get-batch-by-id.d.mts +3 -15
  176. package/dist/actions/get-batch-by-id.d.mts.map +1 -1
  177. package/dist/actions/get-batch-by-id.mjs +1 -0
  178. package/dist/actions/get-batch-by-id.mjs.map +1 -1
  179. package/dist/actions/get-batch-errors.cjs +1 -0
  180. package/dist/actions/get-batch-errors.cjs.map +1 -1
  181. package/dist/actions/get-batch-errors.d.cts +3 -17
  182. package/dist/actions/get-batch-errors.d.cts.map +1 -1
  183. package/dist/actions/get-batch-errors.d.mts +3 -17
  184. package/dist/actions/get-batch-errors.d.mts.map +1 -1
  185. package/dist/actions/get-batch-errors.mjs +1 -0
  186. package/dist/actions/get-batch-errors.mjs.map +1 -1
  187. package/dist/actions/get-bulk-rates.cjs +1 -0
  188. package/dist/actions/get-bulk-rates.cjs.map +1 -1
  189. package/dist/actions/get-bulk-rates.d.cts +3 -88
  190. package/dist/actions/get-bulk-rates.d.cts.map +1 -1
  191. package/dist/actions/get-bulk-rates.d.mts +3 -88
  192. package/dist/actions/get-bulk-rates.d.mts.map +1 -1
  193. package/dist/actions/get-bulk-rates.mjs +1 -0
  194. package/dist/actions/get-bulk-rates.mjs.map +1 -1
  195. package/dist/actions/get-insurance-balance.cjs +1 -0
  196. package/dist/actions/get-insurance-balance.cjs.map +1 -1
  197. package/dist/actions/get-insurance-balance.d.cts +3 -13
  198. package/dist/actions/get-insurance-balance.d.cts.map +1 -1
  199. package/dist/actions/get-insurance-balance.d.mts +3 -13
  200. package/dist/actions/get-insurance-balance.d.mts.map +1 -1
  201. package/dist/actions/get-insurance-balance.mjs +1 -0
  202. package/dist/actions/get-insurance-balance.mjs.map +1 -1
  203. package/dist/actions/get-ltl-carrier-credential-requirements.cjs +1 -0
  204. package/dist/actions/get-ltl-carrier-credential-requirements.cjs.map +1 -1
  205. package/dist/actions/get-ltl-carrier-credential-requirements.d.cts +3 -15
  206. package/dist/actions/get-ltl-carrier-credential-requirements.d.cts.map +1 -1
  207. package/dist/actions/get-ltl-carrier-credential-requirements.d.mts +3 -15
  208. package/dist/actions/get-ltl-carrier-credential-requirements.d.mts.map +1 -1
  209. package/dist/actions/get-ltl-carrier-credential-requirements.mjs +1 -0
  210. package/dist/actions/get-ltl-carrier-credential-requirements.mjs.map +1 -1
  211. package/dist/actions/get-ltl-carrier-features.cjs +1 -0
  212. package/dist/actions/get-ltl-carrier-features.cjs.map +1 -1
  213. package/dist/actions/get-ltl-carrier-features.d.cts +3 -15
  214. package/dist/actions/get-ltl-carrier-features.d.cts.map +1 -1
  215. package/dist/actions/get-ltl-carrier-features.d.mts +3 -15
  216. package/dist/actions/get-ltl-carrier-features.d.mts.map +1 -1
  217. package/dist/actions/get-ltl-carrier-features.mjs +1 -0
  218. package/dist/actions/get-ltl-carrier-features.mjs.map +1 -1
  219. package/dist/actions/get-ltl-carrier-options.cjs +1 -0
  220. package/dist/actions/get-ltl-carrier-options.cjs.map +1 -1
  221. package/dist/actions/get-ltl-carrier-options.d.cts +3 -15
  222. package/dist/actions/get-ltl-carrier-options.d.cts.map +1 -1
  223. package/dist/actions/get-ltl-carrier-options.d.mts +3 -15
  224. package/dist/actions/get-ltl-carrier-options.d.mts.map +1 -1
  225. package/dist/actions/get-ltl-carrier-options.mjs +1 -0
  226. package/dist/actions/get-ltl-carrier-options.mjs.map +1 -1
  227. package/dist/actions/get-ltl-carrier-packages.cjs +1 -0
  228. package/dist/actions/get-ltl-carrier-packages.cjs.map +1 -1
  229. package/dist/actions/get-ltl-carrier-packages.d.cts +3 -15
  230. package/dist/actions/get-ltl-carrier-packages.d.cts.map +1 -1
  231. package/dist/actions/get-ltl-carrier-packages.d.mts +3 -15
  232. package/dist/actions/get-ltl-carrier-packages.d.mts.map +1 -1
  233. package/dist/actions/get-ltl-carrier-packages.mjs +1 -0
  234. package/dist/actions/get-ltl-carrier-packages.mjs.map +1 -1
  235. package/dist/actions/get-ltl-carrier-services.cjs +1 -0
  236. package/dist/actions/get-ltl-carrier-services.cjs.map +1 -1
  237. package/dist/actions/get-ltl-carrier-services.d.cts +3 -15
  238. package/dist/actions/get-ltl-carrier-services.d.cts.map +1 -1
  239. package/dist/actions/get-ltl-carrier-services.d.mts +3 -15
  240. package/dist/actions/get-ltl-carrier-services.d.mts.map +1 -1
  241. package/dist/actions/get-ltl-carrier-services.mjs +1 -0
  242. package/dist/actions/get-ltl-carrier-services.mjs.map +1 -1
  243. package/dist/actions/get-package-by-id.cjs +1 -0
  244. package/dist/actions/get-package-by-id.cjs.map +1 -1
  245. package/dist/actions/get-package-by-id.d.cts +3 -15
  246. package/dist/actions/get-package-by-id.d.cts.map +1 -1
  247. package/dist/actions/get-package-by-id.d.mts +3 -15
  248. package/dist/actions/get-package-by-id.d.mts.map +1 -1
  249. package/dist/actions/get-package-by-id.mjs +1 -0
  250. package/dist/actions/get-package-by-id.mjs.map +1 -1
  251. package/dist/actions/get-shipment-by-external-id.cjs +1 -0
  252. package/dist/actions/get-shipment-by-external-id.cjs.map +1 -1
  253. package/dist/actions/get-shipment-by-external-id.d.cts +3 -15
  254. package/dist/actions/get-shipment-by-external-id.d.cts.map +1 -1
  255. package/dist/actions/get-shipment-by-external-id.d.mts +3 -15
  256. package/dist/actions/get-shipment-by-external-id.d.mts.map +1 -1
  257. package/dist/actions/get-shipment-by-external-id.mjs +1 -0
  258. package/dist/actions/get-shipment-by-external-id.mjs.map +1 -1
  259. package/dist/actions/get-shipment-by-id.cjs +1 -0
  260. package/dist/actions/get-shipment-by-id.cjs.map +1 -1
  261. package/dist/actions/get-shipment-by-id.d.cts +3 -15
  262. package/dist/actions/get-shipment-by-id.d.cts.map +1 -1
  263. package/dist/actions/get-shipment-by-id.d.mts +3 -15
  264. package/dist/actions/get-shipment-by-id.d.mts.map +1 -1
  265. package/dist/actions/get-shipment-by-id.mjs +1 -0
  266. package/dist/actions/get-shipment-by-id.mjs.map +1 -1
  267. package/dist/actions/get-shipment-rates.cjs +1 -0
  268. package/dist/actions/get-shipment-rates.cjs.map +1 -1
  269. package/dist/actions/get-shipment-rates.d.cts +3 -16
  270. package/dist/actions/get-shipment-rates.d.cts.map +1 -1
  271. package/dist/actions/get-shipment-rates.d.mts +3 -16
  272. package/dist/actions/get-shipment-rates.d.mts.map +1 -1
  273. package/dist/actions/get-shipment-rates.mjs +1 -0
  274. package/dist/actions/get-shipment-rates.mjs.map +1 -1
  275. package/dist/actions/get-tracking-info.cjs +1 -0
  276. package/dist/actions/get-tracking-info.cjs.map +1 -1
  277. package/dist/actions/get-tracking-info.d.cts +3 -16
  278. package/dist/actions/get-tracking-info.d.cts.map +1 -1
  279. package/dist/actions/get-tracking-info.d.mts +3 -16
  280. package/dist/actions/get-tracking-info.d.mts.map +1 -1
  281. package/dist/actions/get-tracking-info.mjs +1 -0
  282. package/dist/actions/get-tracking-info.mjs.map +1 -1
  283. package/dist/actions/get-warehouse-by-id.cjs +1 -0
  284. package/dist/actions/get-warehouse-by-id.cjs.map +1 -1
  285. package/dist/actions/get-warehouse-by-id.d.cts +3 -15
  286. package/dist/actions/get-warehouse-by-id.d.cts.map +1 -1
  287. package/dist/actions/get-warehouse-by-id.d.mts +3 -15
  288. package/dist/actions/get-warehouse-by-id.d.mts.map +1 -1
  289. package/dist/actions/get-warehouse-by-id.mjs +1 -0
  290. package/dist/actions/get-warehouse-by-id.mjs.map +1 -1
  291. package/dist/actions/get-webhook-by-id.cjs +1 -0
  292. package/dist/actions/get-webhook-by-id.cjs.map +1 -1
  293. package/dist/actions/get-webhook-by-id.d.cts +3 -15
  294. package/dist/actions/get-webhook-by-id.d.cts.map +1 -1
  295. package/dist/actions/get-webhook-by-id.d.mts +3 -15
  296. package/dist/actions/get-webhook-by-id.d.mts.map +1 -1
  297. package/dist/actions/get-webhook-by-id.mjs +1 -0
  298. package/dist/actions/get-webhook-by-id.mjs.map +1 -1
  299. package/dist/actions/list-account-images.cjs +1 -0
  300. package/dist/actions/list-account-images.cjs.map +1 -1
  301. package/dist/actions/list-account-images.d.cts +3 -13
  302. package/dist/actions/list-account-images.d.cts.map +1 -1
  303. package/dist/actions/list-account-images.d.mts +3 -13
  304. package/dist/actions/list-account-images.d.mts.map +1 -1
  305. package/dist/actions/list-account-images.mjs +1 -0
  306. package/dist/actions/list-account-images.mjs.map +1 -1
  307. package/dist/actions/list-account-settings.cjs +1 -0
  308. package/dist/actions/list-account-settings.cjs.map +1 -1
  309. package/dist/actions/list-account-settings.d.cts +3 -13
  310. package/dist/actions/list-account-settings.d.cts.map +1 -1
  311. package/dist/actions/list-account-settings.d.mts +3 -13
  312. package/dist/actions/list-account-settings.d.mts.map +1 -1
  313. package/dist/actions/list-account-settings.mjs +1 -0
  314. package/dist/actions/list-account-settings.mjs.map +1 -1
  315. package/dist/actions/list-batches2.cjs +1 -0
  316. package/dist/actions/list-batches2.cjs.map +1 -1
  317. package/dist/actions/list-batches2.d.cts +3 -24
  318. package/dist/actions/list-batches2.d.cts.map +1 -1
  319. package/dist/actions/list-batches2.d.mts +3 -24
  320. package/dist/actions/list-batches2.d.mts.map +1 -1
  321. package/dist/actions/list-batches2.mjs +1 -0
  322. package/dist/actions/list-batches2.mjs.map +1 -1
  323. package/dist/actions/list-carrier-package-types.cjs +1 -0
  324. package/dist/actions/list-carrier-package-types.cjs.map +1 -1
  325. package/dist/actions/list-carrier-package-types.d.cts +3 -15
  326. package/dist/actions/list-carrier-package-types.d.cts.map +1 -1
  327. package/dist/actions/list-carrier-package-types.d.mts +3 -15
  328. package/dist/actions/list-carrier-package-types.d.mts.map +1 -1
  329. package/dist/actions/list-carrier-package-types.mjs +1 -0
  330. package/dist/actions/list-carrier-package-types.mjs.map +1 -1
  331. package/dist/actions/list-labels2.cjs +1 -0
  332. package/dist/actions/list-labels2.cjs.map +1 -1
  333. package/dist/actions/list-labels2.d.cts +3 -28
  334. package/dist/actions/list-labels2.d.cts.map +1 -1
  335. package/dist/actions/list-labels2.d.mts +3 -28
  336. package/dist/actions/list-labels2.d.mts.map +1 -1
  337. package/dist/actions/list-labels2.mjs +1 -0
  338. package/dist/actions/list-labels2.mjs.map +1 -1
  339. package/dist/actions/list-ltl-carriers.cjs +1 -0
  340. package/dist/actions/list-ltl-carriers.cjs.map +1 -1
  341. package/dist/actions/list-ltl-carriers.d.cts +3 -13
  342. package/dist/actions/list-ltl-carriers.d.cts.map +1 -1
  343. package/dist/actions/list-ltl-carriers.d.mts +3 -13
  344. package/dist/actions/list-ltl-carriers.d.mts.map +1 -1
  345. package/dist/actions/list-ltl-carriers.mjs +1 -0
  346. package/dist/actions/list-ltl-carriers.mjs.map +1 -1
  347. package/dist/actions/list-manifests2.cjs +1 -0
  348. package/dist/actions/list-manifests2.cjs.map +1 -1
  349. package/dist/actions/list-manifests2.d.cts +3 -23
  350. package/dist/actions/list-manifests2.d.cts.map +1 -1
  351. package/dist/actions/list-manifests2.d.mts +3 -23
  352. package/dist/actions/list-manifests2.d.mts.map +1 -1
  353. package/dist/actions/list-manifests2.mjs +1 -0
  354. package/dist/actions/list-manifests2.mjs.map +1 -1
  355. package/dist/actions/list-packages.cjs +1 -0
  356. package/dist/actions/list-packages.cjs.map +1 -1
  357. package/dist/actions/list-packages.d.cts +3 -16
  358. package/dist/actions/list-packages.d.cts.map +1 -1
  359. package/dist/actions/list-packages.d.mts +3 -16
  360. package/dist/actions/list-packages.d.mts.map +1 -1
  361. package/dist/actions/list-packages.mjs +1 -0
  362. package/dist/actions/list-packages.mjs.map +1 -1
  363. package/dist/actions/list-pickups.cjs +1 -0
  364. package/dist/actions/list-pickups.cjs.map +1 -1
  365. package/dist/actions/list-pickups.d.cts +3 -20
  366. package/dist/actions/list-pickups.d.cts.map +1 -1
  367. package/dist/actions/list-pickups.d.mts +3 -20
  368. package/dist/actions/list-pickups.d.mts.map +1 -1
  369. package/dist/actions/list-pickups.mjs +1 -0
  370. package/dist/actions/list-pickups.mjs.map +1 -1
  371. package/dist/actions/list-shipments2.cjs +1 -0
  372. package/dist/actions/list-shipments2.cjs.map +1 -1
  373. package/dist/actions/list-shipments2.d.cts +3 -26
  374. package/dist/actions/list-shipments2.d.cts.map +1 -1
  375. package/dist/actions/list-shipments2.d.mts +3 -26
  376. package/dist/actions/list-shipments2.d.mts.map +1 -1
  377. package/dist/actions/list-shipments2.mjs +1 -0
  378. package/dist/actions/list-shipments2.mjs.map +1 -1
  379. package/dist/actions/list-tags2.cjs +1 -0
  380. package/dist/actions/list-tags2.cjs.map +1 -1
  381. package/dist/actions/list-tags2.d.cts +3 -13
  382. package/dist/actions/list-tags2.d.cts.map +1 -1
  383. package/dist/actions/list-tags2.d.mts +3 -13
  384. package/dist/actions/list-tags2.d.mts.map +1 -1
  385. package/dist/actions/list-tags2.mjs +1 -0
  386. package/dist/actions/list-tags2.mjs.map +1 -1
  387. package/dist/actions/list-warehouses.cjs +1 -0
  388. package/dist/actions/list-warehouses.cjs.map +1 -1
  389. package/dist/actions/list-warehouses.d.cts +3 -16
  390. package/dist/actions/list-warehouses.d.cts.map +1 -1
  391. package/dist/actions/list-warehouses.d.mts +3 -16
  392. package/dist/actions/list-warehouses.d.mts.map +1 -1
  393. package/dist/actions/list-warehouses.mjs +1 -0
  394. package/dist/actions/list-warehouses.mjs.map +1 -1
  395. package/dist/actions/list-webhook-events.cjs +1 -0
  396. package/dist/actions/list-webhook-events.cjs.map +1 -1
  397. package/dist/actions/list-webhook-events.d.cts +3 -13
  398. package/dist/actions/list-webhook-events.d.cts.map +1 -1
  399. package/dist/actions/list-webhook-events.d.mts +3 -13
  400. package/dist/actions/list-webhook-events.d.mts.map +1 -1
  401. package/dist/actions/list-webhook-events.mjs +1 -0
  402. package/dist/actions/list-webhook-events.mjs.map +1 -1
  403. package/dist/actions/list-webhooks.cjs +1 -0
  404. package/dist/actions/list-webhooks.cjs.map +1 -1
  405. package/dist/actions/list-webhooks.d.cts +3 -13
  406. package/dist/actions/list-webhooks.d.cts.map +1 -1
  407. package/dist/actions/list-webhooks.d.mts +3 -13
  408. package/dist/actions/list-webhooks.d.mts.map +1 -1
  409. package/dist/actions/list-webhooks.mjs +1 -0
  410. package/dist/actions/list-webhooks.mjs.map +1 -1
  411. package/dist/actions/parse-address.cjs +1 -0
  412. package/dist/actions/parse-address.cjs.map +1 -1
  413. package/dist/actions/parse-address.d.cts +3 -29
  414. package/dist/actions/parse-address.d.cts.map +1 -1
  415. package/dist/actions/parse-address.d.mts +3 -29
  416. package/dist/actions/parse-address.d.mts.map +1 -1
  417. package/dist/actions/parse-address.mjs +1 -0
  418. package/dist/actions/parse-address.mjs.map +1 -1
  419. package/dist/actions/process-batch-labels.cjs +1 -0
  420. package/dist/actions/process-batch-labels.cjs.map +1 -1
  421. package/dist/actions/process-batch-labels.d.cts +4 -20
  422. package/dist/actions/process-batch-labels.d.cts.map +1 -1
  423. package/dist/actions/process-batch-labels.d.mts +4 -20
  424. package/dist/actions/process-batch-labels.d.mts.map +1 -1
  425. package/dist/actions/process-batch-labels.mjs +1 -0
  426. package/dist/actions/process-batch-labels.mjs.map +1 -1
  427. package/dist/actions/remove-from-batch.cjs +1 -0
  428. package/dist/actions/remove-from-batch.cjs.map +1 -1
  429. package/dist/actions/remove-from-batch.d.cts +3 -17
  430. package/dist/actions/remove-from-batch.d.cts.map +1 -1
  431. package/dist/actions/remove-from-batch.d.mts +3 -17
  432. package/dist/actions/remove-from-batch.d.mts.map +1 -1
  433. package/dist/actions/remove-from-batch.mjs +1 -0
  434. package/dist/actions/remove-from-batch.mjs.map +1 -1
  435. package/dist/actions/remove-tag-from-shipment.cjs +1 -0
  436. package/dist/actions/remove-tag-from-shipment.cjs.map +1 -1
  437. package/dist/actions/remove-tag-from-shipment.d.cts +3 -16
  438. package/dist/actions/remove-tag-from-shipment.d.cts.map +1 -1
  439. package/dist/actions/remove-tag-from-shipment.d.mts +3 -16
  440. package/dist/actions/remove-tag-from-shipment.d.mts.map +1 -1
  441. package/dist/actions/remove-tag-from-shipment.mjs +1 -0
  442. package/dist/actions/remove-tag-from-shipment.mjs.map +1 -1
  443. package/dist/actions/start-tracking.cjs +1 -0
  444. package/dist/actions/start-tracking.cjs.map +1 -1
  445. package/dist/actions/start-tracking.d.cts +3 -17
  446. package/dist/actions/start-tracking.d.cts.map +1 -1
  447. package/dist/actions/start-tracking.d.mts +3 -17
  448. package/dist/actions/start-tracking.d.mts.map +1 -1
  449. package/dist/actions/start-tracking.mjs +1 -0
  450. package/dist/actions/start-tracking.mjs.map +1 -1
  451. package/dist/actions/stop-tracking.cjs +1 -0
  452. package/dist/actions/stop-tracking.cjs.map +1 -1
  453. package/dist/actions/stop-tracking.d.cts +3 -16
  454. package/dist/actions/stop-tracking.d.cts.map +1 -1
  455. package/dist/actions/stop-tracking.d.mts +3 -16
  456. package/dist/actions/stop-tracking.d.mts.map +1 -1
  457. package/dist/actions/stop-tracking.mjs +1 -0
  458. package/dist/actions/stop-tracking.mjs.map +1 -1
  459. package/dist/actions/track-ltl-shipment.cjs +1 -0
  460. package/dist/actions/track-ltl-shipment.cjs.map +1 -1
  461. package/dist/actions/track-ltl-shipment.d.cts +3 -16
  462. package/dist/actions/track-ltl-shipment.d.cts.map +1 -1
  463. package/dist/actions/track-ltl-shipment.d.mts +3 -16
  464. package/dist/actions/track-ltl-shipment.d.mts.map +1 -1
  465. package/dist/actions/track-ltl-shipment.mjs +1 -0
  466. package/dist/actions/track-ltl-shipment.mjs.map +1 -1
  467. package/dist/actions/update-account-image-by-id.cjs +1 -0
  468. package/dist/actions/update-account-image-by-id.cjs.map +1 -1
  469. package/dist/actions/update-account-image-by-id.d.cts +3 -18
  470. package/dist/actions/update-account-image-by-id.d.cts.map +1 -1
  471. package/dist/actions/update-account-image-by-id.d.mts +3 -18
  472. package/dist/actions/update-account-image-by-id.d.mts.map +1 -1
  473. package/dist/actions/update-account-image-by-id.mjs +1 -0
  474. package/dist/actions/update-account-image-by-id.mjs.map +1 -1
  475. package/dist/actions/update-ltl-connection.cjs +1 -0
  476. package/dist/actions/update-ltl-connection.cjs.map +1 -1
  477. package/dist/actions/update-ltl-connection.d.cts +3 -17
  478. package/dist/actions/update-ltl-connection.d.cts.map +1 -1
  479. package/dist/actions/update-ltl-connection.d.mts +3 -17
  480. package/dist/actions/update-ltl-connection.d.mts.map +1 -1
  481. package/dist/actions/update-ltl-connection.mjs +1 -0
  482. package/dist/actions/update-ltl-connection.mjs.map +1 -1
  483. package/dist/actions/update-package.cjs +1 -0
  484. package/dist/actions/update-package.cjs.map +1 -1
  485. package/dist/actions/update-package.d.cts +3 -24
  486. package/dist/actions/update-package.d.cts.map +1 -1
  487. package/dist/actions/update-package.d.mts +3 -24
  488. package/dist/actions/update-package.d.mts.map +1 -1
  489. package/dist/actions/update-package.mjs +1 -0
  490. package/dist/actions/update-package.mjs.map +1 -1
  491. package/dist/actions/update-shipment.cjs +1 -0
  492. package/dist/actions/update-shipment.cjs.map +1 -1
  493. package/dist/actions/update-shipment.d.cts +3 -124
  494. package/dist/actions/update-shipment.d.cts.map +1 -1
  495. package/dist/actions/update-shipment.d.mts +3 -124
  496. package/dist/actions/update-shipment.d.mts.map +1 -1
  497. package/dist/actions/update-shipment.mjs +1 -0
  498. package/dist/actions/update-shipment.mjs.map +1 -1
  499. package/dist/actions/update-shipments-tags.cjs +1 -0
  500. package/dist/actions/update-shipments-tags.cjs.map +1 -1
  501. package/dist/actions/update-shipments-tags.d.cts +3 -19
  502. package/dist/actions/update-shipments-tags.d.cts.map +1 -1
  503. package/dist/actions/update-shipments-tags.d.mts +3 -19
  504. package/dist/actions/update-shipments-tags.d.mts.map +1 -1
  505. package/dist/actions/update-shipments-tags.mjs +1 -0
  506. package/dist/actions/update-shipments-tags.mjs.map +1 -1
  507. package/dist/actions/update-warehouse.cjs +1 -0
  508. package/dist/actions/update-warehouse.cjs.map +1 -1
  509. package/dist/actions/update-warehouse.d.cts +3 -43
  510. package/dist/actions/update-warehouse.d.cts.map +1 -1
  511. package/dist/actions/update-warehouse.d.mts +3 -43
  512. package/dist/actions/update-warehouse.d.mts.map +1 -1
  513. package/dist/actions/update-warehouse.mjs +1 -0
  514. package/dist/actions/update-warehouse.mjs.map +1 -1
  515. package/dist/actions/update-webhook.cjs +1 -0
  516. package/dist/actions/update-webhook.cjs.map +1 -1
  517. package/dist/actions/update-webhook.d.cts +3 -23
  518. package/dist/actions/update-webhook.d.cts.map +1 -1
  519. package/dist/actions/update-webhook.d.mts +3 -23
  520. package/dist/actions/update-webhook.d.mts.map +1 -1
  521. package/dist/actions/update-webhook.mjs +1 -0
  522. package/dist/actions/update-webhook.mjs.map +1 -1
  523. package/dist/actions/validate-address.cjs +1 -0
  524. package/dist/actions/validate-address.cjs.map +1 -1
  525. package/dist/actions/validate-address.d.cts +3 -28
  526. package/dist/actions/validate-address.d.cts.map +1 -1
  527. package/dist/actions/validate-address.d.mts +3 -28
  528. package/dist/actions/validate-address.d.mts.map +1 -1
  529. package/dist/actions/validate-address.mjs +1 -0
  530. package/dist/actions/validate-address.mjs.map +1 -1
  531. package/dist/app.cjs +2 -2
  532. package/dist/app.cjs.map +1 -1
  533. package/dist/app.d.cts +4 -6
  534. package/dist/app.d.cts.map +1 -1
  535. package/dist/app.d.mts +4 -6
  536. package/dist/app.d.mts.map +1 -1
  537. package/dist/app.mjs +0 -1
  538. package/dist/app.mjs.map +1 -1
  539. package/dist/index.d.cts +1 -1
  540. package/dist/index.d.mts +1 -1
  541. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { shipengine } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-bulk-rates.d.ts
@@ -97,94 +99,7 @@ declare const ShipengineGetBulkRatesOutput: z.ZodObject<{
97
99
  rate_request_id: z.ZodNullable<z.ZodString>;
98
100
  }, z.core.$loose>>;
99
101
  }, z.core.$loose>;
100
- declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActionDefinition<{
101
- rate_options: {
102
- carrier_ids: string[];
103
- package_types?: string[] | undefined;
104
- service_codes?: string[] | undefined;
105
- preferred_currency?: string | undefined;
106
- calculate_tax_amount?: boolean | undefined;
107
- };
108
- shipments?: {
109
- [x: string]: unknown;
110
- ship_to: {
111
- postal_code: string;
112
- country_code: string;
113
- address_line1: string;
114
- city_locality: string;
115
- state_province: string;
116
- name?: string | undefined;
117
- phone?: string | undefined;
118
- company_name?: string | undefined;
119
- address_line2?: string | undefined;
120
- address_line3?: string | undefined;
121
- address_residential_indicator?: string | undefined;
122
- };
123
- packages: {
124
- [x: string]: unknown;
125
- weight: {
126
- unit: "ounce" | "pound" | "gram" | "kilogram";
127
- value: number;
128
- };
129
- dimensions?: {
130
- unit: "inch" | "centimeter";
131
- width: number;
132
- height: number;
133
- length: number;
134
- } | undefined;
135
- }[];
136
- ship_from: {
137
- postal_code: string;
138
- country_code: string;
139
- address_line1: string;
140
- city_locality: string;
141
- state_province: string;
142
- name?: string | undefined;
143
- phone?: string | undefined;
144
- company_name?: string | undefined;
145
- address_line2?: string | undefined;
146
- address_line3?: string | undefined;
147
- address_residential_indicator?: string | undefined;
148
- };
149
- customs?: Record<string, unknown> | undefined;
150
- return_to?: {
151
- postal_code: string;
152
- country_code: string;
153
- address_line1: string;
154
- city_locality: string;
155
- state_province: string;
156
- name?: string | undefined;
157
- phone?: string | undefined;
158
- company_name?: string | undefined;
159
- address_line2?: string | undefined;
160
- address_line3?: string | undefined;
161
- address_residential_indicator?: string | undefined;
162
- } | undefined;
163
- ship_date?: string | undefined;
164
- carrier_id?: string | undefined;
165
- confirmation?: string | undefined;
166
- service_code?: string | undefined;
167
- advanced_options?: Record<string, unknown> | undefined;
168
- validate_address?: string | undefined;
169
- insurance_provider?: string | undefined;
170
- external_shipment_id?: string | undefined;
171
- }[] | undefined;
172
- shipment_ids?: string[] | undefined;
173
- ship_to_service_point_id?: string | undefined;
174
- ship_from_service_point_id?: string | undefined;
175
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
176
- connectionId: z.ZodString;
177
- entityId: z.ZodString;
178
- instanceId: z.ZodString;
179
- }, z.core.$strip>, z.ZodObject<{
180
- generic_api_key: z.ZodString;
181
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
182
- connectionId: z.ZodString;
183
- entityId: z.ZodString;
184
- instanceId: z.ZodString;
185
- }, z.core.$strip>, z.ZodObject<{
186
- generic_api_key: z.ZodString;
187
- }, z.core.$strip>>]>;
102
+ declare const shipengineGetBulkRates: AppAction<typeof ShipengineGetBulkRatesInput, typeof ShipengineGetBulkRatesOutput, typeof shipengine.credential>;
188
103
  //#endregion
189
104
  export { shipengineGetBulkRates };
190
105
  //# sourceMappingURL=get-bulk-rates.d.cts.map
@@ -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"}
1
+ {"version":3,"file":"get-bulk-rates.d.cts","names":[],"sources":["../../src/actions/get-bulk-rates.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuF3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shipengine } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-bulk-rates.d.ts
@@ -97,94 +99,7 @@ declare const ShipengineGetBulkRatesOutput: z.ZodObject<{
97
99
  rate_request_id: z.ZodNullable<z.ZodString>;
98
100
  }, z.core.$loose>>;
99
101
  }, z.core.$loose>;
100
- declare const shipengineGetBulkRates: import("@keystrokehq/action").WorkflowActionDefinition<{
101
- rate_options: {
102
- carrier_ids: string[];
103
- package_types?: string[] | undefined;
104
- service_codes?: string[] | undefined;
105
- preferred_currency?: string | undefined;
106
- calculate_tax_amount?: boolean | undefined;
107
- };
108
- shipments?: {
109
- [x: string]: unknown;
110
- ship_to: {
111
- postal_code: string;
112
- country_code: string;
113
- address_line1: string;
114
- city_locality: string;
115
- state_province: string;
116
- name?: string | undefined;
117
- phone?: string | undefined;
118
- company_name?: string | undefined;
119
- address_line2?: string | undefined;
120
- address_line3?: string | undefined;
121
- address_residential_indicator?: string | undefined;
122
- };
123
- packages: {
124
- [x: string]: unknown;
125
- weight: {
126
- unit: "ounce" | "pound" | "gram" | "kilogram";
127
- value: number;
128
- };
129
- dimensions?: {
130
- unit: "inch" | "centimeter";
131
- width: number;
132
- height: number;
133
- length: number;
134
- } | undefined;
135
- }[];
136
- ship_from: {
137
- postal_code: string;
138
- country_code: string;
139
- address_line1: string;
140
- city_locality: string;
141
- state_province: string;
142
- name?: string | undefined;
143
- phone?: string | undefined;
144
- company_name?: string | undefined;
145
- address_line2?: string | undefined;
146
- address_line3?: string | undefined;
147
- address_residential_indicator?: string | undefined;
148
- };
149
- customs?: Record<string, unknown> | undefined;
150
- return_to?: {
151
- postal_code: string;
152
- country_code: string;
153
- address_line1: string;
154
- city_locality: string;
155
- state_province: string;
156
- name?: string | undefined;
157
- phone?: string | undefined;
158
- company_name?: string | undefined;
159
- address_line2?: string | undefined;
160
- address_line3?: string | undefined;
161
- address_residential_indicator?: string | undefined;
162
- } | undefined;
163
- ship_date?: string | undefined;
164
- carrier_id?: string | undefined;
165
- confirmation?: string | undefined;
166
- service_code?: string | undefined;
167
- advanced_options?: Record<string, unknown> | undefined;
168
- validate_address?: string | undefined;
169
- insurance_provider?: string | undefined;
170
- external_shipment_id?: string | undefined;
171
- }[] | undefined;
172
- shipment_ids?: string[] | undefined;
173
- ship_to_service_point_id?: string | undefined;
174
- ship_from_service_point_id?: string | undefined;
175
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
176
- connectionId: z.ZodString;
177
- entityId: z.ZodString;
178
- instanceId: z.ZodString;
179
- }, z.core.$strip>, z.ZodObject<{
180
- generic_api_key: z.ZodString;
181
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
182
- connectionId: z.ZodString;
183
- entityId: z.ZodString;
184
- instanceId: z.ZodString;
185
- }, z.core.$strip>, z.ZodObject<{
186
- generic_api_key: z.ZodString;
187
- }, z.core.$strip>>]>;
102
+ declare const shipengineGetBulkRates: AppAction<typeof ShipengineGetBulkRatesInput, typeof ShipengineGetBulkRatesOutput, typeof shipengine.credential>;
188
103
  //#endregion
189
104
  export { shipengineGetBulkRates };
190
105
  //# sourceMappingURL=get-bulk-rates.d.mts.map
@@ -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"}
1
+ {"version":3,"file":"get-bulk-rates.d.mts","names":[],"sources":["../../src/actions/get-bulk-rates.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuF3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-bulk-rates.ts
@@ -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.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,oBAAo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Y,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"}
1
+ {"version":3,"file":"get-bulk-rates.mjs","names":[],"sources":["../../src/actions/get-bulk-rates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\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: AppAction<\n typeof ShipengineGetBulkRatesInput,\n typeof ShipengineGetBulkRatesOutput,\n typeof shipengine.credential\n> = 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":";;;;AAMA,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,OA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,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0GAA0G,EAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-insurance-balance.ts
@@ -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}).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"}
1
+ {"version":3,"file":"get-insurance-balance.cjs","names":["z","action"],"sources":["../../src/actions/get-insurance-balance.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\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: AppAction<\n typeof ShipengineGetInsuranceBalanceInput,\n typeof ShipengineGetInsuranceBalanceOutput,\n typeof shipengine.credential\n> = 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":";;;;AAMA,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,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shipengine } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-insurance-balance.d.ts
@@ -9,19 +11,7 @@ declare const ShipengineGetInsuranceBalanceOutput: z.ZodObject<{
9
11
  }, z.core.$loose>>;
10
12
  postage_payment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  }, z.core.$loose>;
12
- declare const shipengineGetInsuranceBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
14
+ declare const shipengineGetInsuranceBalance: AppAction<typeof ShipengineGetInsuranceBalanceInput, typeof ShipengineGetInsuranceBalanceOutput, typeof shipengine.credential>;
25
15
  //#endregion
26
16
  export { shipengineGetInsuranceBalance };
27
17
  //# sourceMappingURL=get-insurance-balance.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-insurance-balance.d.cts","names":[],"sources":["../../src/actions/get-insurance-balance.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-insurance-balance.d.cts","names":[],"sources":["../../src/actions/get-insurance-balance.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shipengine } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-insurance-balance.d.ts
@@ -9,19 +11,7 @@ declare const ShipengineGetInsuranceBalanceOutput: z.ZodObject<{
9
11
  }, z.core.$loose>>;
10
12
  postage_payment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  }, z.core.$loose>;
12
- declare const shipengineGetInsuranceBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
14
+ declare const shipengineGetInsuranceBalance: AppAction<typeof ShipengineGetInsuranceBalanceInput, typeof ShipengineGetInsuranceBalanceOutput, typeof shipengine.credential>;
25
15
  //#endregion
26
16
  export { shipengineGetInsuranceBalance };
27
17
  //# sourceMappingURL=get-insurance-balance.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-insurance-balance.d.mts","names":[],"sources":["../../src/actions/get-insurance-balance.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-insurance-balance.d.mts","names":[],"sources":["../../src/actions/get-insurance-balance.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-insurance-balance.ts
@@ -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}).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"}
1
+ {"version":3,"file":"get-insurance-balance.mjs","names":[],"sources":["../../src/actions/get-insurance-balance.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\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: AppAction<\n typeof ShipengineGetInsuranceBalanceInput,\n typeof ShipengineGetInsuranceBalanceOutput,\n typeof shipengine.credential\n> = 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":";;;;AAMA,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,gCAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdiD,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,0DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-ltl-carrier-credential-requirements.ts
@@ -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}).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"}
1
+ {"version":3,"file":"get-ltl-carrier-credential-requirements.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-credential-requirements.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\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: AppAction<\n typeof ShipengineGetLtlCarrierCredentialRequirementsInput,\n typeof ShipengineGetLtlCarrierCredentialRequirementsOutput,\n typeof shipengine.credential\n> = 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":";;;;AAMA,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,gDAITC,eAAAA,OAAO,sDAAsD;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shipengine } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-ltl-carrier-credential-requirements.d.ts
@@ -11,21 +13,7 @@ declare const ShipengineGetLtlCarrierCredentialRequirementsOutput: z.ZodObject<{
11
13
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$loose>>;
13
15
  }, z.core.$loose>;
14
- declare const shipengineGetLtlCarrierCredentialRequirements: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- carrier_code: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
16
+ declare const shipengineGetLtlCarrierCredentialRequirements: AppAction<typeof ShipengineGetLtlCarrierCredentialRequirementsInput, typeof ShipengineGetLtlCarrierCredentialRequirementsOutput, typeof shipengine.credential>;
29
17
  //#endregion
30
18
  export { shipengineGetLtlCarrierCredentialRequirements };
31
19
  //# sourceMappingURL=get-ltl-carrier-credential-requirements.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-ltl-carrier-credential-requirements.d.cts","names":[],"sources":["../../src/actions/get-ltl-carrier-credential-requirements.ts"],"mappings":";;;cAIa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;cAQlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;cAInD,6CAAA,gCAA6C,wBAAA"}
1
+ {"version":3,"file":"get-ltl-carrier-credential-requirements.d.cts","names":[],"sources":["../../src/actions/get-ltl-carrier-credential-requirements.ts"],"mappings":";;;;;cAMa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;cAQlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;cAInD,6CAAA,EAA+C,SAAA,QACnD,kDAAA,SACA,mDAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shipengine } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-ltl-carrier-credential-requirements.d.ts
@@ -11,21 +13,7 @@ declare const ShipengineGetLtlCarrierCredentialRequirementsOutput: z.ZodObject<{
11
13
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$loose>>;
13
15
  }, z.core.$loose>;
14
- declare const shipengineGetLtlCarrierCredentialRequirements: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- carrier_code: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
16
+ declare const shipengineGetLtlCarrierCredentialRequirements: AppAction<typeof ShipengineGetLtlCarrierCredentialRequirementsInput, typeof ShipengineGetLtlCarrierCredentialRequirementsOutput, typeof shipengine.credential>;
29
17
  //#endregion
30
18
  export { shipengineGetLtlCarrierCredentialRequirements };
31
19
  //# sourceMappingURL=get-ltl-carrier-credential-requirements.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-ltl-carrier-credential-requirements.d.mts","names":[],"sources":["../../src/actions/get-ltl-carrier-credential-requirements.ts"],"mappings":";;;cAIa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;cAQlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;cAInD,6CAAA,gCAA6C,wBAAA"}
1
+ {"version":3,"file":"get-ltl-carrier-credential-requirements.d.mts","names":[],"sources":["../../src/actions/get-ltl-carrier-credential-requirements.ts"],"mappings":";;;;;cAMa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;cAQlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;cAInD,6CAAA,EAA+C,SAAA,QACnD,kDAAA,SACA,mDAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-ltl-carrier-credential-requirements.ts
@@ -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}).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"}
1
+ {"version":3,"file":"get-ltl-carrier-credential-requirements.mjs","names":[],"sources":["../../src/actions/get-ltl-carrier-credential-requirements.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\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: AppAction<\n typeof ShipengineGetLtlCarrierCredentialRequirementsInput,\n typeof ShipengineGetLtlCarrierCredentialRequirementsOutput,\n typeof shipengine.credential\n> = 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":";;;;AAMA,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,gDAIT,OAAO,sDAAsD;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiE,EAAE,OAAO,EAC1E,yBAAyB,EAAE,MAAM,yEAAyE,CAAC,CAAC,SAAS,0EAA0E,EACjM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-ltl-carrier-features.ts
@@ -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}).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"}
1
+ {"version":3,"file":"get-ltl-carrier-features.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-features.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\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: AppAction<\n typeof ShipengineGetLtlCarrierFeaturesInput,\n typeof ShipengineGetLtlCarrierFeaturesOutput,\n typeof shipengine.credential\n> = 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":";;;;AAMA,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,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shipengine } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-ltl-carrier-features.d.ts
@@ -15,21 +17,7 @@ declare const ShipengineGetLtlCarrierFeaturesOutput: z.ZodObject<{
15
17
  tracking: "tracking";
16
18
  }>>;
17
19
  }, z.core.$loose>;
18
- declare const shipengineGetLtlCarrierFeatures: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- carrier_code: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>;
20
+ declare const shipengineGetLtlCarrierFeatures: AppAction<typeof ShipengineGetLtlCarrierFeaturesInput, typeof ShipengineGetLtlCarrierFeaturesOutput, typeof shipengine.credential>;
33
21
  //#endregion
34
22
  export { shipengineGetLtlCarrierFeatures };
35
23
  //# sourceMappingURL=get-ltl-carrier-features.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-ltl-carrier-features.d.cts","names":[],"sources":["../../src/actions/get-ltl-carrier-features.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-ltl-carrier-features.d.cts","names":[],"sources":["../../src/actions/get-ltl-carrier-features.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shipengine } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-ltl-carrier-features.d.ts
@@ -15,21 +17,7 @@ declare const ShipengineGetLtlCarrierFeaturesOutput: z.ZodObject<{
15
17
  tracking: "tracking";
16
18
  }>>;
17
19
  }, z.core.$loose>;
18
- declare const shipengineGetLtlCarrierFeatures: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- carrier_code: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>;
20
+ declare const shipengineGetLtlCarrierFeatures: AppAction<typeof ShipengineGetLtlCarrierFeaturesInput, typeof ShipengineGetLtlCarrierFeaturesOutput, typeof shipengine.credential>;
33
21
  //#endregion
34
22
  export { shipengineGetLtlCarrierFeatures };
35
23
  //# sourceMappingURL=get-ltl-carrier-features.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-ltl-carrier-features.d.mts","names":[],"sources":["../../src/actions/get-ltl-carrier-features.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-ltl-carrier-features.d.mts","names":[],"sources":["../../src/actions/get-ltl-carrier-features.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-ltl-carrier-features.ts