@keystrokehq/shippo 0.1.3 → 0.1.5

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 (773) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-address.cjs +1 -0
  4. package/dist/actions/create-address.cjs.map +1 -1
  5. package/dist/actions/create-address.d.cts +3 -18
  6. package/dist/actions/create-address.d.cts.map +1 -1
  7. package/dist/actions/create-address.d.mts +3 -18
  8. package/dist/actions/create-address.d.mts.map +1 -1
  9. package/dist/actions/create-address.mjs +1 -0
  10. package/dist/actions/create-address.mjs.map +1 -1
  11. package/dist/actions/create-batch.cjs +1 -0
  12. package/dist/actions/create-batch.cjs.map +1 -1
  13. package/dist/actions/create-batch.d.cts +3 -45
  14. package/dist/actions/create-batch.d.cts.map +1 -1
  15. package/dist/actions/create-batch.d.mts +3 -45
  16. package/dist/actions/create-batch.d.mts.map +1 -1
  17. package/dist/actions/create-batch.mjs +1 -0
  18. package/dist/actions/create-batch.mjs.map +1 -1
  19. package/dist/actions/create-carrier-account.cjs +1 -0
  20. package/dist/actions/create-carrier-account.cjs.map +1 -1
  21. package/dist/actions/create-carrier-account.d.cts +3 -31
  22. package/dist/actions/create-carrier-account.d.cts.map +1 -1
  23. package/dist/actions/create-carrier-account.d.mts +3 -31
  24. package/dist/actions/create-carrier-account.d.mts.map +1 -1
  25. package/dist/actions/create-carrier-account.mjs +1 -0
  26. package/dist/actions/create-carrier-account.mjs.map +1 -1
  27. package/dist/actions/create-customs-item.cjs +1 -0
  28. package/dist/actions/create-customs-item.cjs.map +1 -1
  29. package/dist/actions/create-customs-item.d.cts +3 -14
  30. package/dist/actions/create-customs-item.d.cts.map +1 -1
  31. package/dist/actions/create-customs-item.d.mts +3 -14
  32. package/dist/actions/create-customs-item.d.mts.map +1 -1
  33. package/dist/actions/create-customs-item.mjs +1 -0
  34. package/dist/actions/create-customs-item.mjs.map +1 -1
  35. package/dist/actions/create-live-rate.cjs +1 -0
  36. package/dist/actions/create-live-rate.cjs.map +1 -1
  37. package/dist/actions/create-live-rate.d.cts +3 -51
  38. package/dist/actions/create-live-rate.d.cts.map +1 -1
  39. package/dist/actions/create-live-rate.d.mts +3 -51
  40. package/dist/actions/create-live-rate.d.mts.map +1 -1
  41. package/dist/actions/create-live-rate.mjs +1 -0
  42. package/dist/actions/create-live-rate.mjs.map +1 -1
  43. package/dist/actions/create-manifest.cjs +1 -0
  44. package/dist/actions/create-manifest.cjs.map +1 -1
  45. package/dist/actions/create-manifest.d.cts +3 -8
  46. package/dist/actions/create-manifest.d.cts.map +1 -1
  47. package/dist/actions/create-manifest.d.mts +3 -8
  48. package/dist/actions/create-manifest.d.mts.map +1 -1
  49. package/dist/actions/create-manifest.mjs +1 -0
  50. package/dist/actions/create-manifest.mjs.map +1 -1
  51. package/dist/actions/create-merchant-address.cjs +1 -0
  52. package/dist/actions/create-merchant-address.cjs.map +1 -1
  53. package/dist/actions/create-merchant-address.d.cts +3 -17
  54. package/dist/actions/create-merchant-address.d.cts.map +1 -1
  55. package/dist/actions/create-merchant-address.d.mts +3 -17
  56. package/dist/actions/create-merchant-address.d.mts.map +1 -1
  57. package/dist/actions/create-merchant-address.mjs +1 -0
  58. package/dist/actions/create-merchant-address.mjs.map +1 -1
  59. package/dist/actions/create-merchant-batch.cjs +1 -0
  60. package/dist/actions/create-merchant-batch.cjs.map +1 -1
  61. package/dist/actions/create-merchant-batch.d.cts +5 -17
  62. package/dist/actions/create-merchant-batch.d.cts.map +1 -1
  63. package/dist/actions/create-merchant-batch.d.mts +5 -17
  64. package/dist/actions/create-merchant-batch.d.mts.map +1 -1
  65. package/dist/actions/create-merchant-batch.mjs +1 -0
  66. package/dist/actions/create-merchant-batch.mjs.map +1 -1
  67. package/dist/actions/create-merchant-carrier-account.cjs +1 -0
  68. package/dist/actions/create-merchant-carrier-account.cjs.map +1 -1
  69. package/dist/actions/create-merchant-carrier-account.d.cts +3 -33
  70. package/dist/actions/create-merchant-carrier-account.d.cts.map +1 -1
  71. package/dist/actions/create-merchant-carrier-account.d.mts +3 -33
  72. package/dist/actions/create-merchant-carrier-account.d.mts.map +1 -1
  73. package/dist/actions/create-merchant-carrier-account.mjs +1 -0
  74. package/dist/actions/create-merchant-carrier-account.mjs.map +1 -1
  75. package/dist/actions/create-merchant-customs-declaration.cjs +1 -0
  76. package/dist/actions/create-merchant-customs-declaration.cjs.map +1 -1
  77. package/dist/actions/create-merchant-customs-declaration.d.cts +4 -39
  78. package/dist/actions/create-merchant-customs-declaration.d.cts.map +1 -1
  79. package/dist/actions/create-merchant-customs-declaration.d.mts +4 -39
  80. package/dist/actions/create-merchant-customs-declaration.d.mts.map +1 -1
  81. package/dist/actions/create-merchant-customs-declaration.mjs +1 -0
  82. package/dist/actions/create-merchant-customs-declaration.mjs.map +1 -1
  83. package/dist/actions/create-merchant-customs-item.cjs +1 -0
  84. package/dist/actions/create-merchant-customs-item.cjs.map +1 -1
  85. package/dist/actions/create-merchant-customs-item.d.cts +4 -16
  86. package/dist/actions/create-merchant-customs-item.d.cts.map +1 -1
  87. package/dist/actions/create-merchant-customs-item.d.mts +4 -16
  88. package/dist/actions/create-merchant-customs-item.d.mts.map +1 -1
  89. package/dist/actions/create-merchant-customs-item.mjs +1 -0
  90. package/dist/actions/create-merchant-customs-item.mjs.map +1 -1
  91. package/dist/actions/create-merchant-order.cjs +1 -0
  92. package/dist/actions/create-merchant-order.cjs.map +1 -1
  93. package/dist/actions/create-merchant-order.d.cts +3 -51
  94. package/dist/actions/create-merchant-order.d.cts.map +1 -1
  95. package/dist/actions/create-merchant-order.d.mts +3 -51
  96. package/dist/actions/create-merchant-order.d.mts.map +1 -1
  97. package/dist/actions/create-merchant-order.mjs +1 -0
  98. package/dist/actions/create-merchant-order.mjs.map +1 -1
  99. package/dist/actions/create-merchant-parcel.cjs +1 -0
  100. package/dist/actions/create-merchant-parcel.cjs.map +1 -1
  101. package/dist/actions/create-merchant-parcel.d.cts +3 -26
  102. package/dist/actions/create-merchant-parcel.d.cts.map +1 -1
  103. package/dist/actions/create-merchant-parcel.d.mts +3 -26
  104. package/dist/actions/create-merchant-parcel.d.mts.map +1 -1
  105. package/dist/actions/create-merchant-parcel.mjs +1 -0
  106. package/dist/actions/create-merchant-parcel.mjs.map +1 -1
  107. package/dist/actions/create-merchant-refund.cjs +1 -0
  108. package/dist/actions/create-merchant-refund.cjs.map +1 -1
  109. package/dist/actions/create-merchant-refund.d.cts +3 -6
  110. package/dist/actions/create-merchant-refund.d.cts.map +1 -1
  111. package/dist/actions/create-merchant-refund.d.mts +3 -6
  112. package/dist/actions/create-merchant-refund.d.mts.map +1 -1
  113. package/dist/actions/create-merchant-refund.mjs +1 -0
  114. package/dist/actions/create-merchant-refund.mjs.map +1 -1
  115. package/dist/actions/create-merchant-shipment.cjs +1 -0
  116. package/dist/actions/create-merchant-shipment.cjs.map +1 -1
  117. package/dist/actions/create-merchant-shipment.d.cts +3 -69
  118. package/dist/actions/create-merchant-shipment.d.cts.map +1 -1
  119. package/dist/actions/create-merchant-shipment.d.mts +3 -69
  120. package/dist/actions/create-merchant-shipment.d.mts.map +1 -1
  121. package/dist/actions/create-merchant-shipment.mjs +1 -0
  122. package/dist/actions/create-merchant-shipment.mjs.map +1 -1
  123. package/dist/actions/create-merchant-transaction.cjs +1 -0
  124. package/dist/actions/create-merchant-transaction.cjs.map +1 -1
  125. package/dist/actions/create-merchant-transaction.d.cts +5 -10
  126. package/dist/actions/create-merchant-transaction.d.cts.map +1 -1
  127. package/dist/actions/create-merchant-transaction.d.mts +5 -10
  128. package/dist/actions/create-merchant-transaction.d.mts.map +1 -1
  129. package/dist/actions/create-merchant-transaction.mjs +1 -0
  130. package/dist/actions/create-merchant-transaction.mjs.map +1 -1
  131. package/dist/actions/create-order.cjs +1 -0
  132. package/dist/actions/create-order.cjs.map +1 -1
  133. package/dist/actions/create-order.d.cts +3 -56
  134. package/dist/actions/create-order.d.cts.map +1 -1
  135. package/dist/actions/create-order.d.mts +3 -56
  136. package/dist/actions/create-order.d.mts.map +1 -1
  137. package/dist/actions/create-order.mjs +1 -0
  138. package/dist/actions/create-order.mjs.map +1 -1
  139. package/dist/actions/create-parcel.cjs +1 -0
  140. package/dist/actions/create-parcel.cjs.map +1 -1
  141. package/dist/actions/create-parcel.d.cts +3 -24
  142. package/dist/actions/create-parcel.d.cts.map +1 -1
  143. package/dist/actions/create-parcel.d.mts +3 -24
  144. package/dist/actions/create-parcel.d.mts.map +1 -1
  145. package/dist/actions/create-parcel.mjs +1 -0
  146. package/dist/actions/create-parcel.mjs.map +1 -1
  147. package/dist/actions/create-refund.cjs +1 -0
  148. package/dist/actions/create-refund.cjs.map +1 -1
  149. package/dist/actions/create-refund.d.cts +3 -5
  150. package/dist/actions/create-refund.d.cts.map +1 -1
  151. package/dist/actions/create-refund.d.mts +3 -5
  152. package/dist/actions/create-refund.d.mts.map +1 -1
  153. package/dist/actions/create-refund.mjs +1 -0
  154. package/dist/actions/create-refund.mjs.map +1 -1
  155. package/dist/actions/create-service-group.cjs +1 -0
  156. package/dist/actions/create-service-group.cjs.map +1 -1
  157. package/dist/actions/create-service-group.d.cts +3 -16
  158. package/dist/actions/create-service-group.d.cts.map +1 -1
  159. package/dist/actions/create-service-group.d.mts +3 -16
  160. package/dist/actions/create-service-group.d.mts.map +1 -1
  161. package/dist/actions/create-service-group.mjs +1 -0
  162. package/dist/actions/create-service-group.mjs.map +1 -1
  163. package/dist/actions/create-shipment.cjs +1 -0
  164. package/dist/actions/create-shipment.cjs.map +1 -1
  165. package/dist/actions/create-shipment.d.cts +3 -56
  166. package/dist/actions/create-shipment.d.cts.map +1 -1
  167. package/dist/actions/create-shipment.d.mts +3 -56
  168. package/dist/actions/create-shipment.d.mts.map +1 -1
  169. package/dist/actions/create-shipment.mjs +1 -0
  170. package/dist/actions/create-shipment.mjs.map +1 -1
  171. package/dist/actions/create-track.cjs +1 -0
  172. package/dist/actions/create-track.cjs.map +1 -1
  173. package/dist/actions/create-track.d.cts +3 -6
  174. package/dist/actions/create-track.d.cts.map +1 -1
  175. package/dist/actions/create-track.d.mts +3 -6
  176. package/dist/actions/create-track.d.mts.map +1 -1
  177. package/dist/actions/create-track.mjs +1 -0
  178. package/dist/actions/create-track.mjs.map +1 -1
  179. package/dist/actions/create-transaction.cjs +1 -0
  180. package/dist/actions/create-transaction.cjs.map +1 -1
  181. package/dist/actions/create-transaction.d.cts +5 -12
  182. package/dist/actions/create-transaction.d.cts.map +1 -1
  183. package/dist/actions/create-transaction.d.mts +5 -12
  184. package/dist/actions/create-transaction.d.mts.map +1 -1
  185. package/dist/actions/create-transaction.mjs +1 -0
  186. package/dist/actions/create-transaction.mjs.map +1 -1
  187. package/dist/actions/create-user-parcel-template.cjs +1 -0
  188. package/dist/actions/create-user-parcel-template.cjs.map +1 -1
  189. package/dist/actions/create-user-parcel-template.d.cts +3 -6
  190. package/dist/actions/create-user-parcel-template.d.cts.map +1 -1
  191. package/dist/actions/create-user-parcel-template.d.mts +3 -6
  192. package/dist/actions/create-user-parcel-template.d.mts.map +1 -1
  193. package/dist/actions/create-user-parcel-template.mjs +1 -0
  194. package/dist/actions/create-user-parcel-template.mjs.map +1 -1
  195. package/dist/actions/create-webhook.cjs +1 -0
  196. package/dist/actions/create-webhook.cjs.map +1 -1
  197. package/dist/actions/create-webhook.d.cts +3 -5
  198. package/dist/actions/create-webhook.d.cts.map +1 -1
  199. package/dist/actions/create-webhook.d.mts +3 -5
  200. package/dist/actions/create-webhook.d.mts.map +1 -1
  201. package/dist/actions/create-webhook.mjs +1 -0
  202. package/dist/actions/create-webhook.mjs.map +1 -1
  203. package/dist/actions/delete-default-parcel-template.cjs +1 -0
  204. package/dist/actions/delete-default-parcel-template.cjs.map +1 -1
  205. package/dist/actions/delete-default-parcel-template.d.cts +3 -3
  206. package/dist/actions/delete-default-parcel-template.d.cts.map +1 -1
  207. package/dist/actions/delete-default-parcel-template.d.mts +3 -3
  208. package/dist/actions/delete-default-parcel-template.d.mts.map +1 -1
  209. package/dist/actions/delete-default-parcel-template.mjs +1 -0
  210. package/dist/actions/delete-default-parcel-template.mjs.map +1 -1
  211. package/dist/actions/delete-user-parcel-template.cjs +1 -0
  212. package/dist/actions/delete-user-parcel-template.cjs.map +1 -1
  213. package/dist/actions/delete-user-parcel-template.d.cts +3 -4
  214. package/dist/actions/delete-user-parcel-template.d.cts.map +1 -1
  215. package/dist/actions/delete-user-parcel-template.d.mts +3 -4
  216. package/dist/actions/delete-user-parcel-template.d.mts.map +1 -1
  217. package/dist/actions/delete-user-parcel-template.mjs +1 -0
  218. package/dist/actions/delete-user-parcel-template.mjs.map +1 -1
  219. package/dist/actions/delete-webhook.cjs +1 -0
  220. package/dist/actions/delete-webhook.cjs.map +1 -1
  221. package/dist/actions/delete-webhook.d.cts +3 -4
  222. package/dist/actions/delete-webhook.d.cts.map +1 -1
  223. package/dist/actions/delete-webhook.d.mts +3 -4
  224. package/dist/actions/delete-webhook.d.mts.map +1 -1
  225. package/dist/actions/delete-webhook.mjs +1 -0
  226. package/dist/actions/delete-webhook.mjs.map +1 -1
  227. package/dist/actions/get-address.cjs +1 -0
  228. package/dist/actions/get-address.cjs.map +1 -1
  229. package/dist/actions/get-address.d.cts +3 -4
  230. package/dist/actions/get-address.d.cts.map +1 -1
  231. package/dist/actions/get-address.d.mts +3 -4
  232. package/dist/actions/get-address.d.mts.map +1 -1
  233. package/dist/actions/get-address.mjs +1 -0
  234. package/dist/actions/get-address.mjs.map +1 -1
  235. package/dist/actions/get-carrier-account.cjs +1 -0
  236. package/dist/actions/get-carrier-account.cjs.map +1 -1
  237. package/dist/actions/get-carrier-account.d.cts +3 -4
  238. package/dist/actions/get-carrier-account.d.cts.map +1 -1
  239. package/dist/actions/get-carrier-account.d.mts +3 -4
  240. package/dist/actions/get-carrier-account.d.mts.map +1 -1
  241. package/dist/actions/get-carrier-account.mjs +1 -0
  242. package/dist/actions/get-carrier-account.mjs.map +1 -1
  243. package/dist/actions/get-carrier-parcel-template.cjs +1 -0
  244. package/dist/actions/get-carrier-parcel-template.cjs.map +1 -1
  245. package/dist/actions/get-carrier-parcel-template.d.cts +3 -4
  246. package/dist/actions/get-carrier-parcel-template.d.cts.map +1 -1
  247. package/dist/actions/get-carrier-parcel-template.d.mts +3 -4
  248. package/dist/actions/get-carrier-parcel-template.d.mts.map +1 -1
  249. package/dist/actions/get-carrier-parcel-template.mjs +1 -0
  250. package/dist/actions/get-carrier-parcel-template.mjs.map +1 -1
  251. package/dist/actions/get-carrier-registration-status.cjs +1 -0
  252. package/dist/actions/get-carrier-registration-status.cjs.map +1 -1
  253. package/dist/actions/get-carrier-registration-status.d.cts +3 -3
  254. package/dist/actions/get-carrier-registration-status.d.cts.map +1 -1
  255. package/dist/actions/get-carrier-registration-status.d.mts +3 -3
  256. package/dist/actions/get-carrier-registration-status.d.mts.map +1 -1
  257. package/dist/actions/get-carrier-registration-status.mjs +1 -0
  258. package/dist/actions/get-carrier-registration-status.mjs.map +1 -1
  259. package/dist/actions/get-customs-declaration.cjs +1 -0
  260. package/dist/actions/get-customs-declaration.cjs.map +1 -1
  261. package/dist/actions/get-customs-declaration.d.cts +3 -5
  262. package/dist/actions/get-customs-declaration.d.cts.map +1 -1
  263. package/dist/actions/get-customs-declaration.d.mts +3 -5
  264. package/dist/actions/get-customs-declaration.d.mts.map +1 -1
  265. package/dist/actions/get-customs-declaration.mjs +1 -0
  266. package/dist/actions/get-customs-declaration.mjs.map +1 -1
  267. package/dist/actions/get-customs-item.cjs +1 -0
  268. package/dist/actions/get-customs-item.cjs.map +1 -1
  269. package/dist/actions/get-customs-item.d.cts +3 -5
  270. package/dist/actions/get-customs-item.d.cts.map +1 -1
  271. package/dist/actions/get-customs-item.d.mts +3 -5
  272. package/dist/actions/get-customs-item.d.mts.map +1 -1
  273. package/dist/actions/get-customs-item.mjs +1 -0
  274. package/dist/actions/get-customs-item.mjs.map +1 -1
  275. package/dist/actions/get-default-parcel-template.cjs +1 -0
  276. package/dist/actions/get-default-parcel-template.cjs.map +1 -1
  277. package/dist/actions/get-default-parcel-template.d.cts +3 -3
  278. package/dist/actions/get-default-parcel-template.d.cts.map +1 -1
  279. package/dist/actions/get-default-parcel-template.d.mts +3 -3
  280. package/dist/actions/get-default-parcel-template.d.mts.map +1 -1
  281. package/dist/actions/get-default-parcel-template.mjs +1 -0
  282. package/dist/actions/get-default-parcel-template.mjs.map +1 -1
  283. package/dist/actions/get-merchant-address.cjs +1 -0
  284. package/dist/actions/get-merchant-address.cjs.map +1 -1
  285. package/dist/actions/get-merchant-address.d.cts +3 -5
  286. package/dist/actions/get-merchant-address.d.cts.map +1 -1
  287. package/dist/actions/get-merchant-address.d.mts +3 -5
  288. package/dist/actions/get-merchant-address.d.mts.map +1 -1
  289. package/dist/actions/get-merchant-address.mjs +1 -0
  290. package/dist/actions/get-merchant-address.mjs.map +1 -1
  291. package/dist/actions/get-merchant-batch.cjs +1 -0
  292. package/dist/actions/get-merchant-batch.cjs.map +1 -1
  293. package/dist/actions/get-merchant-batch.d.cts +5 -7
  294. package/dist/actions/get-merchant-batch.d.cts.map +1 -1
  295. package/dist/actions/get-merchant-batch.d.mts +5 -7
  296. package/dist/actions/get-merchant-batch.d.mts.map +1 -1
  297. package/dist/actions/get-merchant-batch.mjs +1 -0
  298. package/dist/actions/get-merchant-batch.mjs.map +1 -1
  299. package/dist/actions/get-merchant-carrier-account.cjs +1 -0
  300. package/dist/actions/get-merchant-carrier-account.cjs.map +1 -1
  301. package/dist/actions/get-merchant-carrier-account.d.cts +3 -5
  302. package/dist/actions/get-merchant-carrier-account.d.cts.map +1 -1
  303. package/dist/actions/get-merchant-carrier-account.d.mts +3 -5
  304. package/dist/actions/get-merchant-carrier-account.d.mts.map +1 -1
  305. package/dist/actions/get-merchant-carrier-account.mjs +1 -0
  306. package/dist/actions/get-merchant-carrier-account.mjs.map +1 -1
  307. package/dist/actions/get-merchant-carrier-registration-status.cjs +1 -0
  308. package/dist/actions/get-merchant-carrier-registration-status.cjs.map +1 -1
  309. package/dist/actions/get-merchant-carrier-registration-status.d.cts +3 -5
  310. package/dist/actions/get-merchant-carrier-registration-status.d.cts.map +1 -1
  311. package/dist/actions/get-merchant-carrier-registration-status.d.mts +3 -5
  312. package/dist/actions/get-merchant-carrier-registration-status.d.mts.map +1 -1
  313. package/dist/actions/get-merchant-carrier-registration-status.mjs +1 -0
  314. package/dist/actions/get-merchant-carrier-registration-status.mjs.map +1 -1
  315. package/dist/actions/get-merchant-customs-declaration.cjs +1 -0
  316. package/dist/actions/get-merchant-customs-declaration.cjs.map +1 -1
  317. package/dist/actions/get-merchant-customs-declaration.d.cts +3 -6
  318. package/dist/actions/get-merchant-customs-declaration.d.cts.map +1 -1
  319. package/dist/actions/get-merchant-customs-declaration.d.mts +3 -6
  320. package/dist/actions/get-merchant-customs-declaration.d.mts.map +1 -1
  321. package/dist/actions/get-merchant-customs-declaration.mjs +1 -0
  322. package/dist/actions/get-merchant-customs-declaration.mjs.map +1 -1
  323. package/dist/actions/get-merchant-customs-item.cjs +1 -0
  324. package/dist/actions/get-merchant-customs-item.cjs.map +1 -1
  325. package/dist/actions/get-merchant-customs-item.d.cts +3 -6
  326. package/dist/actions/get-merchant-customs-item.d.cts.map +1 -1
  327. package/dist/actions/get-merchant-customs-item.d.mts +3 -6
  328. package/dist/actions/get-merchant-customs-item.d.mts.map +1 -1
  329. package/dist/actions/get-merchant-customs-item.mjs +1 -0
  330. package/dist/actions/get-merchant-customs-item.mjs.map +1 -1
  331. package/dist/actions/get-merchant-manifest.cjs +1 -0
  332. package/dist/actions/get-merchant-manifest.cjs.map +1 -1
  333. package/dist/actions/get-merchant-manifest.d.cts +3 -5
  334. package/dist/actions/get-merchant-manifest.d.cts.map +1 -1
  335. package/dist/actions/get-merchant-manifest.d.mts +3 -5
  336. package/dist/actions/get-merchant-manifest.d.mts.map +1 -1
  337. package/dist/actions/get-merchant-manifest.mjs +1 -0
  338. package/dist/actions/get-merchant-manifest.mjs.map +1 -1
  339. package/dist/actions/get-merchant-order.cjs +1 -0
  340. package/dist/actions/get-merchant-order.cjs.map +1 -1
  341. package/dist/actions/get-merchant-order.d.cts +3 -5
  342. package/dist/actions/get-merchant-order.d.cts.map +1 -1
  343. package/dist/actions/get-merchant-order.d.mts +3 -5
  344. package/dist/actions/get-merchant-order.d.mts.map +1 -1
  345. package/dist/actions/get-merchant-order.mjs +1 -0
  346. package/dist/actions/get-merchant-order.mjs.map +1 -1
  347. package/dist/actions/get-merchant-parcel.cjs +1 -0
  348. package/dist/actions/get-merchant-parcel.cjs.map +1 -1
  349. package/dist/actions/get-merchant-parcel.d.cts +3 -5
  350. package/dist/actions/get-merchant-parcel.d.cts.map +1 -1
  351. package/dist/actions/get-merchant-parcel.d.mts +3 -5
  352. package/dist/actions/get-merchant-parcel.d.mts.map +1 -1
  353. package/dist/actions/get-merchant-parcel.mjs +1 -0
  354. package/dist/actions/get-merchant-parcel.mjs.map +1 -1
  355. package/dist/actions/get-merchant-rate.cjs +1 -0
  356. package/dist/actions/get-merchant-rate.cjs.map +1 -1
  357. package/dist/actions/get-merchant-rate.d.cts +3 -5
  358. package/dist/actions/get-merchant-rate.d.cts.map +1 -1
  359. package/dist/actions/get-merchant-rate.d.mts +3 -5
  360. package/dist/actions/get-merchant-rate.d.mts.map +1 -1
  361. package/dist/actions/get-merchant-rate.mjs +1 -0
  362. package/dist/actions/get-merchant-rate.mjs.map +1 -1
  363. package/dist/actions/get-merchant-refund.cjs +1 -0
  364. package/dist/actions/get-merchant-refund.cjs.map +1 -1
  365. package/dist/actions/get-merchant-refund.d.cts +3 -5
  366. package/dist/actions/get-merchant-refund.d.cts.map +1 -1
  367. package/dist/actions/get-merchant-refund.d.mts +3 -5
  368. package/dist/actions/get-merchant-refund.d.mts.map +1 -1
  369. package/dist/actions/get-merchant-refund.mjs +1 -0
  370. package/dist/actions/get-merchant-refund.mjs.map +1 -1
  371. package/dist/actions/get-merchant-shipment.cjs +1 -0
  372. package/dist/actions/get-merchant-shipment.cjs.map +1 -1
  373. package/dist/actions/get-merchant-shipment.d.cts +3 -5
  374. package/dist/actions/get-merchant-shipment.d.cts.map +1 -1
  375. package/dist/actions/get-merchant-shipment.d.mts +3 -5
  376. package/dist/actions/get-merchant-shipment.d.mts.map +1 -1
  377. package/dist/actions/get-merchant-shipment.mjs +1 -0
  378. package/dist/actions/get-merchant-shipment.mjs.map +1 -1
  379. package/dist/actions/get-merchant-track.cjs +1 -0
  380. package/dist/actions/get-merchant-track.cjs.map +1 -1
  381. package/dist/actions/get-merchant-track.d.cts +3 -6
  382. package/dist/actions/get-merchant-track.d.cts.map +1 -1
  383. package/dist/actions/get-merchant-track.d.mts +3 -6
  384. package/dist/actions/get-merchant-track.d.mts.map +1 -1
  385. package/dist/actions/get-merchant-track.mjs +1 -0
  386. package/dist/actions/get-merchant-track.mjs.map +1 -1
  387. package/dist/actions/get-merchant-transaction.cjs +1 -0
  388. package/dist/actions/get-merchant-transaction.cjs.map +1 -1
  389. package/dist/actions/get-merchant-transaction.d.cts +5 -7
  390. package/dist/actions/get-merchant-transaction.d.cts.map +1 -1
  391. package/dist/actions/get-merchant-transaction.d.mts +5 -7
  392. package/dist/actions/get-merchant-transaction.d.mts.map +1 -1
  393. package/dist/actions/get-merchant-transaction.mjs +1 -0
  394. package/dist/actions/get-merchant-transaction.mjs.map +1 -1
  395. package/dist/actions/get-merchant.cjs +1 -0
  396. package/dist/actions/get-merchant.cjs.map +1 -1
  397. package/dist/actions/get-merchant.d.cts +3 -4
  398. package/dist/actions/get-merchant.d.cts.map +1 -1
  399. package/dist/actions/get-merchant.d.mts +3 -4
  400. package/dist/actions/get-merchant.d.mts.map +1 -1
  401. package/dist/actions/get-merchant.mjs +1 -0
  402. package/dist/actions/get-merchant.mjs.map +1 -1
  403. package/dist/actions/get-order.cjs +1 -0
  404. package/dist/actions/get-order.cjs.map +1 -1
  405. package/dist/actions/get-order.d.cts +3 -4
  406. package/dist/actions/get-order.d.cts.map +1 -1
  407. package/dist/actions/get-order.d.mts +3 -4
  408. package/dist/actions/get-order.d.mts.map +1 -1
  409. package/dist/actions/get-order.mjs +1 -0
  410. package/dist/actions/get-order.mjs.map +1 -1
  411. package/dist/actions/get-parcel.cjs +1 -0
  412. package/dist/actions/get-parcel.cjs.map +1 -1
  413. package/dist/actions/get-parcel.d.cts +3 -4
  414. package/dist/actions/get-parcel.d.cts.map +1 -1
  415. package/dist/actions/get-parcel.d.mts +3 -4
  416. package/dist/actions/get-parcel.d.mts.map +1 -1
  417. package/dist/actions/get-parcel.mjs +1 -0
  418. package/dist/actions/get-parcel.mjs.map +1 -1
  419. package/dist/actions/get-rate.cjs +1 -0
  420. package/dist/actions/get-rate.cjs.map +1 -1
  421. package/dist/actions/get-rate.d.cts +3 -4
  422. package/dist/actions/get-rate.d.cts.map +1 -1
  423. package/dist/actions/get-rate.d.mts +3 -4
  424. package/dist/actions/get-rate.d.mts.map +1 -1
  425. package/dist/actions/get-rate.mjs +1 -0
  426. package/dist/actions/get-rate.mjs.map +1 -1
  427. package/dist/actions/get-refund.cjs +1 -0
  428. package/dist/actions/get-refund.cjs.map +1 -1
  429. package/dist/actions/get-refund.d.cts +3 -4
  430. package/dist/actions/get-refund.d.cts.map +1 -1
  431. package/dist/actions/get-refund.d.mts +3 -4
  432. package/dist/actions/get-refund.d.mts.map +1 -1
  433. package/dist/actions/get-refund.mjs +1 -0
  434. package/dist/actions/get-refund.mjs.map +1 -1
  435. package/dist/actions/get-shipment.cjs +1 -0
  436. package/dist/actions/get-shipment.cjs.map +1 -1
  437. package/dist/actions/get-shipment.d.cts +3 -4
  438. package/dist/actions/get-shipment.d.cts.map +1 -1
  439. package/dist/actions/get-shipment.d.mts +3 -4
  440. package/dist/actions/get-shipment.d.mts.map +1 -1
  441. package/dist/actions/get-shipment.mjs +1 -0
  442. package/dist/actions/get-shipment.mjs.map +1 -1
  443. package/dist/actions/get-shippo-account.cjs +1 -0
  444. package/dist/actions/get-shippo-account.cjs.map +1 -1
  445. package/dist/actions/get-shippo-account.d.cts +3 -4
  446. package/dist/actions/get-shippo-account.d.cts.map +1 -1
  447. package/dist/actions/get-shippo-account.d.mts +3 -4
  448. package/dist/actions/get-shippo-account.d.mts.map +1 -1
  449. package/dist/actions/get-shippo-account.mjs +1 -0
  450. package/dist/actions/get-shippo-account.mjs.map +1 -1
  451. package/dist/actions/get-track.cjs +1 -0
  452. package/dist/actions/get-track.cjs.map +1 -1
  453. package/dist/actions/get-track.d.cts +3 -5
  454. package/dist/actions/get-track.d.cts.map +1 -1
  455. package/dist/actions/get-track.d.mts +3 -5
  456. package/dist/actions/get-track.d.mts.map +1 -1
  457. package/dist/actions/get-track.mjs +1 -0
  458. package/dist/actions/get-track.mjs.map +1 -1
  459. package/dist/actions/get-transaction.cjs +1 -0
  460. package/dist/actions/get-transaction.cjs.map +1 -1
  461. package/dist/actions/get-transaction.d.cts +3 -4
  462. package/dist/actions/get-transaction.d.cts.map +1 -1
  463. package/dist/actions/get-transaction.d.mts +3 -4
  464. package/dist/actions/get-transaction.d.mts.map +1 -1
  465. package/dist/actions/get-transaction.mjs +1 -0
  466. package/dist/actions/get-transaction.mjs.map +1 -1
  467. package/dist/actions/get-user-parcel-template.cjs +1 -0
  468. package/dist/actions/get-user-parcel-template.cjs.map +1 -1
  469. package/dist/actions/get-user-parcel-template.d.cts +3 -4
  470. package/dist/actions/get-user-parcel-template.d.cts.map +1 -1
  471. package/dist/actions/get-user-parcel-template.d.mts +3 -4
  472. package/dist/actions/get-user-parcel-template.d.mts.map +1 -1
  473. package/dist/actions/get-user-parcel-template.mjs +1 -0
  474. package/dist/actions/get-user-parcel-template.mjs.map +1 -1
  475. package/dist/actions/get-webhook.cjs +1 -0
  476. package/dist/actions/get-webhook.cjs.map +1 -1
  477. package/dist/actions/get-webhook.d.cts +3 -3
  478. package/dist/actions/get-webhook.d.cts.map +1 -1
  479. package/dist/actions/get-webhook.d.mts +3 -3
  480. package/dist/actions/get-webhook.d.mts.map +1 -1
  481. package/dist/actions/get-webhook.mjs +1 -0
  482. package/dist/actions/get-webhook.mjs.map +1 -1
  483. package/dist/actions/list-addresses.cjs +1 -0
  484. package/dist/actions/list-addresses.cjs.map +1 -1
  485. package/dist/actions/list-addresses.d.cts +3 -5
  486. package/dist/actions/list-addresses.d.cts.map +1 -1
  487. package/dist/actions/list-addresses.d.mts +3 -5
  488. package/dist/actions/list-addresses.d.mts.map +1 -1
  489. package/dist/actions/list-addresses.mjs +1 -0
  490. package/dist/actions/list-addresses.mjs.map +1 -1
  491. package/dist/actions/list-carrier-accounts.cjs +1 -0
  492. package/dist/actions/list-carrier-accounts.cjs.map +1 -1
  493. package/dist/actions/list-carrier-accounts.d.cts +3 -5
  494. package/dist/actions/list-carrier-accounts.d.cts.map +1 -1
  495. package/dist/actions/list-carrier-accounts.d.mts +3 -5
  496. package/dist/actions/list-carrier-accounts.d.mts.map +1 -1
  497. package/dist/actions/list-carrier-accounts.mjs +1 -0
  498. package/dist/actions/list-carrier-accounts.mjs.map +1 -1
  499. package/dist/actions/list-carrier-parcel-templates.cjs +1 -0
  500. package/dist/actions/list-carrier-parcel-templates.cjs.map +1 -1
  501. package/dist/actions/list-carrier-parcel-templates.d.cts +3 -5
  502. package/dist/actions/list-carrier-parcel-templates.d.cts.map +1 -1
  503. package/dist/actions/list-carrier-parcel-templates.d.mts +3 -5
  504. package/dist/actions/list-carrier-parcel-templates.d.mts.map +1 -1
  505. package/dist/actions/list-carrier-parcel-templates.mjs +1 -0
  506. package/dist/actions/list-carrier-parcel-templates.mjs.map +1 -1
  507. package/dist/actions/list-customs-declarations.cjs +1 -0
  508. package/dist/actions/list-customs-declarations.cjs.map +1 -1
  509. package/dist/actions/list-customs-declarations.d.cts +3 -5
  510. package/dist/actions/list-customs-declarations.d.cts.map +1 -1
  511. package/dist/actions/list-customs-declarations.d.mts +3 -5
  512. package/dist/actions/list-customs-declarations.d.mts.map +1 -1
  513. package/dist/actions/list-customs-declarations.mjs +1 -0
  514. package/dist/actions/list-customs-declarations.mjs.map +1 -1
  515. package/dist/actions/list-customs-items.cjs +1 -0
  516. package/dist/actions/list-customs-items.cjs.map +1 -1
  517. package/dist/actions/list-customs-items.d.cts +3 -5
  518. package/dist/actions/list-customs-items.d.cts.map +1 -1
  519. package/dist/actions/list-customs-items.d.mts +3 -5
  520. package/dist/actions/list-customs-items.d.mts.map +1 -1
  521. package/dist/actions/list-customs-items.mjs +1 -0
  522. package/dist/actions/list-customs-items.mjs.map +1 -1
  523. package/dist/actions/list-manifests.cjs +1 -0
  524. package/dist/actions/list-manifests.cjs.map +1 -1
  525. package/dist/actions/list-manifests.d.cts +3 -5
  526. package/dist/actions/list-manifests.d.cts.map +1 -1
  527. package/dist/actions/list-manifests.d.mts +3 -5
  528. package/dist/actions/list-manifests.d.mts.map +1 -1
  529. package/dist/actions/list-manifests.mjs +1 -0
  530. package/dist/actions/list-manifests.mjs.map +1 -1
  531. package/dist/actions/list-merchant-addresses.cjs +1 -0
  532. package/dist/actions/list-merchant-addresses.cjs.map +1 -1
  533. package/dist/actions/list-merchant-addresses.d.cts +3 -6
  534. package/dist/actions/list-merchant-addresses.d.cts.map +1 -1
  535. package/dist/actions/list-merchant-addresses.d.mts +3 -6
  536. package/dist/actions/list-merchant-addresses.d.mts.map +1 -1
  537. package/dist/actions/list-merchant-addresses.mjs +1 -0
  538. package/dist/actions/list-merchant-addresses.mjs.map +1 -1
  539. package/dist/actions/list-merchant-carrier-accounts.cjs +1 -0
  540. package/dist/actions/list-merchant-carrier-accounts.cjs.map +1 -1
  541. package/dist/actions/list-merchant-carrier-accounts.d.cts +3 -6
  542. package/dist/actions/list-merchant-carrier-accounts.d.cts.map +1 -1
  543. package/dist/actions/list-merchant-carrier-accounts.d.mts +3 -6
  544. package/dist/actions/list-merchant-carrier-accounts.d.mts.map +1 -1
  545. package/dist/actions/list-merchant-carrier-accounts.mjs +1 -0
  546. package/dist/actions/list-merchant-carrier-accounts.mjs.map +1 -1
  547. package/dist/actions/list-merchant-customs-declarations.cjs +1 -0
  548. package/dist/actions/list-merchant-customs-declarations.cjs.map +1 -1
  549. package/dist/actions/list-merchant-customs-declarations.d.cts +3 -6
  550. package/dist/actions/list-merchant-customs-declarations.d.cts.map +1 -1
  551. package/dist/actions/list-merchant-customs-declarations.d.mts +3 -6
  552. package/dist/actions/list-merchant-customs-declarations.d.mts.map +1 -1
  553. package/dist/actions/list-merchant-customs-declarations.mjs +1 -0
  554. package/dist/actions/list-merchant-customs-declarations.mjs.map +1 -1
  555. package/dist/actions/list-merchant-customs-items.cjs +1 -0
  556. package/dist/actions/list-merchant-customs-items.cjs.map +1 -1
  557. package/dist/actions/list-merchant-customs-items.d.cts +3 -6
  558. package/dist/actions/list-merchant-customs-items.d.cts.map +1 -1
  559. package/dist/actions/list-merchant-customs-items.d.mts +3 -6
  560. package/dist/actions/list-merchant-customs-items.d.mts.map +1 -1
  561. package/dist/actions/list-merchant-customs-items.mjs +1 -0
  562. package/dist/actions/list-merchant-customs-items.mjs.map +1 -1
  563. package/dist/actions/list-merchant-manifests.cjs +1 -0
  564. package/dist/actions/list-merchant-manifests.cjs.map +1 -1
  565. package/dist/actions/list-merchant-manifests.d.cts +3 -6
  566. package/dist/actions/list-merchant-manifests.d.cts.map +1 -1
  567. package/dist/actions/list-merchant-manifests.d.mts +3 -6
  568. package/dist/actions/list-merchant-manifests.d.mts.map +1 -1
  569. package/dist/actions/list-merchant-manifests.mjs +1 -0
  570. package/dist/actions/list-merchant-manifests.mjs.map +1 -1
  571. package/dist/actions/list-merchant-parcels.cjs +1 -0
  572. package/dist/actions/list-merchant-parcels.cjs.map +1 -1
  573. package/dist/actions/list-merchant-parcels.d.cts +3 -6
  574. package/dist/actions/list-merchant-parcels.d.cts.map +1 -1
  575. package/dist/actions/list-merchant-parcels.d.mts +3 -6
  576. package/dist/actions/list-merchant-parcels.d.mts.map +1 -1
  577. package/dist/actions/list-merchant-parcels.mjs +1 -0
  578. package/dist/actions/list-merchant-parcels.mjs.map +1 -1
  579. package/dist/actions/list-merchant-shipment-rates-by-currency.cjs +1 -0
  580. package/dist/actions/list-merchant-shipment-rates-by-currency.cjs.map +1 -1
  581. package/dist/actions/list-merchant-shipment-rates-by-currency.d.cts +3 -8
  582. package/dist/actions/list-merchant-shipment-rates-by-currency.d.cts.map +1 -1
  583. package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts +3 -8
  584. package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts.map +1 -1
  585. package/dist/actions/list-merchant-shipment-rates-by-currency.mjs +1 -0
  586. package/dist/actions/list-merchant-shipment-rates-by-currency.mjs.map +1 -1
  587. package/dist/actions/list-merchant-shipments.cjs +1 -0
  588. package/dist/actions/list-merchant-shipments.cjs.map +1 -1
  589. package/dist/actions/list-merchant-shipments.d.cts +3 -6
  590. package/dist/actions/list-merchant-shipments.d.cts.map +1 -1
  591. package/dist/actions/list-merchant-shipments.d.mts +3 -6
  592. package/dist/actions/list-merchant-shipments.d.mts.map +1 -1
  593. package/dist/actions/list-merchant-shipments.mjs +1 -0
  594. package/dist/actions/list-merchant-shipments.mjs.map +1 -1
  595. package/dist/actions/list-merchant-transactions.cjs +1 -0
  596. package/dist/actions/list-merchant-transactions.cjs.map +1 -1
  597. package/dist/actions/list-merchant-transactions.d.cts +3 -6
  598. package/dist/actions/list-merchant-transactions.d.cts.map +1 -1
  599. package/dist/actions/list-merchant-transactions.d.mts +3 -6
  600. package/dist/actions/list-merchant-transactions.d.mts.map +1 -1
  601. package/dist/actions/list-merchant-transactions.mjs +1 -0
  602. package/dist/actions/list-merchant-transactions.mjs.map +1 -1
  603. package/dist/actions/list-merchants.cjs +1 -0
  604. package/dist/actions/list-merchants.cjs.map +1 -1
  605. package/dist/actions/list-merchants.d.cts +3 -5
  606. package/dist/actions/list-merchants.d.cts.map +1 -1
  607. package/dist/actions/list-merchants.d.mts +3 -5
  608. package/dist/actions/list-merchants.d.mts.map +1 -1
  609. package/dist/actions/list-merchants.mjs +1 -0
  610. package/dist/actions/list-merchants.mjs.map +1 -1
  611. package/dist/actions/list-orders.cjs +1 -0
  612. package/dist/actions/list-orders.cjs.map +1 -1
  613. package/dist/actions/list-orders.d.cts +3 -5
  614. package/dist/actions/list-orders.d.cts.map +1 -1
  615. package/dist/actions/list-orders.d.mts +3 -5
  616. package/dist/actions/list-orders.d.mts.map +1 -1
  617. package/dist/actions/list-orders.mjs +1 -0
  618. package/dist/actions/list-orders.mjs.map +1 -1
  619. package/dist/actions/list-refunds.cjs +1 -0
  620. package/dist/actions/list-refunds.cjs.map +1 -1
  621. package/dist/actions/list-refunds.d.cts +3 -4
  622. package/dist/actions/list-refunds.d.cts.map +1 -1
  623. package/dist/actions/list-refunds.d.mts +3 -4
  624. package/dist/actions/list-refunds.d.mts.map +1 -1
  625. package/dist/actions/list-refunds.mjs +1 -0
  626. package/dist/actions/list-refunds.mjs.map +1 -1
  627. package/dist/actions/list-service-groups.cjs +1 -0
  628. package/dist/actions/list-service-groups.cjs.map +1 -1
  629. package/dist/actions/list-service-groups.d.cts +3 -3
  630. package/dist/actions/list-service-groups.d.cts.map +1 -1
  631. package/dist/actions/list-service-groups.d.mts +3 -3
  632. package/dist/actions/list-service-groups.d.mts.map +1 -1
  633. package/dist/actions/list-service-groups.mjs +1 -0
  634. package/dist/actions/list-service-groups.mjs.map +1 -1
  635. package/dist/actions/list-shipment-rates-by-currency.cjs +1 -0
  636. package/dist/actions/list-shipment-rates-by-currency.cjs.map +1 -1
  637. package/dist/actions/list-shipment-rates-by-currency.d.cts +3 -7
  638. package/dist/actions/list-shipment-rates-by-currency.d.cts.map +1 -1
  639. package/dist/actions/list-shipment-rates-by-currency.d.mts +3 -7
  640. package/dist/actions/list-shipment-rates-by-currency.d.mts.map +1 -1
  641. package/dist/actions/list-shipment-rates-by-currency.mjs +1 -0
  642. package/dist/actions/list-shipment-rates-by-currency.mjs.map +1 -1
  643. package/dist/actions/list-shipment-rates.cjs +1 -0
  644. package/dist/actions/list-shipment-rates.cjs.map +1 -1
  645. package/dist/actions/list-shipment-rates.d.cts +3 -6
  646. package/dist/actions/list-shipment-rates.d.cts.map +1 -1
  647. package/dist/actions/list-shipment-rates.d.mts +3 -6
  648. package/dist/actions/list-shipment-rates.d.mts.map +1 -1
  649. package/dist/actions/list-shipment-rates.mjs +1 -0
  650. package/dist/actions/list-shipment-rates.mjs.map +1 -1
  651. package/dist/actions/list-shipments.cjs +1 -0
  652. package/dist/actions/list-shipments.cjs.map +1 -1
  653. package/dist/actions/list-shipments.d.cts +3 -5
  654. package/dist/actions/list-shipments.d.cts.map +1 -1
  655. package/dist/actions/list-shipments.d.mts +3 -5
  656. package/dist/actions/list-shipments.d.mts.map +1 -1
  657. package/dist/actions/list-shipments.mjs +1 -0
  658. package/dist/actions/list-shipments.mjs.map +1 -1
  659. package/dist/actions/list-shippo-accounts.cjs +1 -0
  660. package/dist/actions/list-shippo-accounts.cjs.map +1 -1
  661. package/dist/actions/list-shippo-accounts.d.cts +3 -3
  662. package/dist/actions/list-shippo-accounts.d.cts.map +1 -1
  663. package/dist/actions/list-shippo-accounts.d.mts +3 -3
  664. package/dist/actions/list-shippo-accounts.d.mts.map +1 -1
  665. package/dist/actions/list-shippo-accounts.mjs +1 -0
  666. package/dist/actions/list-shippo-accounts.mjs.map +1 -1
  667. package/dist/actions/list-user-parcel-templates.cjs +1 -0
  668. package/dist/actions/list-user-parcel-templates.cjs.map +1 -1
  669. package/dist/actions/list-user-parcel-templates.d.cts +3 -3
  670. package/dist/actions/list-user-parcel-templates.d.cts.map +1 -1
  671. package/dist/actions/list-user-parcel-templates.d.mts +3 -3
  672. package/dist/actions/list-user-parcel-templates.d.mts.map +1 -1
  673. package/dist/actions/list-user-parcel-templates.mjs +1 -0
  674. package/dist/actions/list-user-parcel-templates.mjs.map +1 -1
  675. package/dist/actions/purchase-merchant-batch.cjs +1 -0
  676. package/dist/actions/purchase-merchant-batch.cjs.map +1 -1
  677. package/dist/actions/purchase-merchant-batch.d.cts +3 -5
  678. package/dist/actions/purchase-merchant-batch.d.cts.map +1 -1
  679. package/dist/actions/purchase-merchant-batch.d.mts +3 -5
  680. package/dist/actions/purchase-merchant-batch.d.mts.map +1 -1
  681. package/dist/actions/purchase-merchant-batch.mjs +1 -0
  682. package/dist/actions/purchase-merchant-batch.mjs.map +1 -1
  683. package/dist/actions/remove-shipments-from-batch.cjs +1 -0
  684. package/dist/actions/remove-shipments-from-batch.cjs.map +1 -1
  685. package/dist/actions/remove-shipments-from-batch.d.cts +3 -6
  686. package/dist/actions/remove-shipments-from-batch.d.cts.map +1 -1
  687. package/dist/actions/remove-shipments-from-batch.d.mts +3 -6
  688. package/dist/actions/remove-shipments-from-batch.d.mts.map +1 -1
  689. package/dist/actions/remove-shipments-from-batch.mjs +1 -0
  690. package/dist/actions/remove-shipments-from-batch.mjs.map +1 -1
  691. package/dist/actions/update-carrier-account.cjs +1 -0
  692. package/dist/actions/update-carrier-account.cjs.map +1 -1
  693. package/dist/actions/update-carrier-account.d.cts +3 -8
  694. package/dist/actions/update-carrier-account.d.cts.map +1 -1
  695. package/dist/actions/update-carrier-account.d.mts +3 -8
  696. package/dist/actions/update-carrier-account.d.mts.map +1 -1
  697. package/dist/actions/update-carrier-account.mjs +1 -0
  698. package/dist/actions/update-carrier-account.mjs.map +1 -1
  699. package/dist/actions/update-default-parcel-template.cjs +1 -0
  700. package/dist/actions/update-default-parcel-template.cjs.map +1 -1
  701. package/dist/actions/update-default-parcel-template.d.cts +3 -4
  702. package/dist/actions/update-default-parcel-template.d.cts.map +1 -1
  703. package/dist/actions/update-default-parcel-template.d.mts +3 -4
  704. package/dist/actions/update-default-parcel-template.d.mts.map +1 -1
  705. package/dist/actions/update-default-parcel-template.mjs +1 -0
  706. package/dist/actions/update-default-parcel-template.mjs.map +1 -1
  707. package/dist/actions/update-merchant-carrier-account.cjs +1 -0
  708. package/dist/actions/update-merchant-carrier-account.cjs.map +1 -1
  709. package/dist/actions/update-merchant-carrier-account.d.cts +3 -32
  710. package/dist/actions/update-merchant-carrier-account.d.cts.map +1 -1
  711. package/dist/actions/update-merchant-carrier-account.d.mts +3 -32
  712. package/dist/actions/update-merchant-carrier-account.d.mts.map +1 -1
  713. package/dist/actions/update-merchant-carrier-account.mjs +1 -0
  714. package/dist/actions/update-merchant-carrier-account.mjs.map +1 -1
  715. package/dist/actions/update-merchant.cjs +1 -0
  716. package/dist/actions/update-merchant.cjs.map +1 -1
  717. package/dist/actions/update-merchant.d.cts +3 -8
  718. package/dist/actions/update-merchant.d.cts.map +1 -1
  719. package/dist/actions/update-merchant.d.mts +3 -8
  720. package/dist/actions/update-merchant.d.mts.map +1 -1
  721. package/dist/actions/update-merchant.mjs +1 -0
  722. package/dist/actions/update-merchant.mjs.map +1 -1
  723. package/dist/actions/update-service-group.cjs +1 -0
  724. package/dist/actions/update-service-group.cjs.map +1 -1
  725. package/dist/actions/update-service-group.d.cts +3 -17
  726. package/dist/actions/update-service-group.d.cts.map +1 -1
  727. package/dist/actions/update-service-group.d.mts +3 -17
  728. package/dist/actions/update-service-group.d.mts.map +1 -1
  729. package/dist/actions/update-service-group.mjs +1 -0
  730. package/dist/actions/update-service-group.mjs.map +1 -1
  731. package/dist/actions/update-user-parcel-template.cjs +1 -0
  732. package/dist/actions/update-user-parcel-template.cjs.map +1 -1
  733. package/dist/actions/update-user-parcel-template.d.cts +3 -7
  734. package/dist/actions/update-user-parcel-template.d.cts.map +1 -1
  735. package/dist/actions/update-user-parcel-template.d.mts +3 -7
  736. package/dist/actions/update-user-parcel-template.d.mts.map +1 -1
  737. package/dist/actions/update-user-parcel-template.mjs +1 -0
  738. package/dist/actions/update-user-parcel-template.mjs.map +1 -1
  739. package/dist/actions/update-webhook.cjs +1 -0
  740. package/dist/actions/update-webhook.cjs.map +1 -1
  741. package/dist/actions/update-webhook.d.cts +3 -7
  742. package/dist/actions/update-webhook.d.cts.map +1 -1
  743. package/dist/actions/update-webhook.d.mts +3 -7
  744. package/dist/actions/update-webhook.d.mts.map +1 -1
  745. package/dist/actions/update-webhook.mjs +1 -0
  746. package/dist/actions/update-webhook.mjs.map +1 -1
  747. package/dist/actions/validate-address.cjs +1 -0
  748. package/dist/actions/validate-address.cjs.map +1 -1
  749. package/dist/actions/validate-address.d.cts +3 -4
  750. package/dist/actions/validate-address.d.cts.map +1 -1
  751. package/dist/actions/validate-address.d.mts +3 -4
  752. package/dist/actions/validate-address.d.mts.map +1 -1
  753. package/dist/actions/validate-address.mjs +1 -0
  754. package/dist/actions/validate-address.mjs.map +1 -1
  755. package/dist/actions/validate-merchant-address.cjs +1 -0
  756. package/dist/actions/validate-merchant-address.cjs.map +1 -1
  757. package/dist/actions/validate-merchant-address.d.cts +3 -5
  758. package/dist/actions/validate-merchant-address.d.cts.map +1 -1
  759. package/dist/actions/validate-merchant-address.d.mts +3 -5
  760. package/dist/actions/validate-merchant-address.d.mts.map +1 -1
  761. package/dist/actions/validate-merchant-address.mjs +1 -0
  762. package/dist/actions/validate-merchant-address.mjs.map +1 -1
  763. package/dist/app.cjs +5 -2
  764. package/dist/app.cjs.map +1 -1
  765. package/dist/app.d.cts +7 -1
  766. package/dist/app.d.cts.map +1 -1
  767. package/dist/app.d.mts +7 -1
  768. package/dist/app.d.mts.map +1 -1
  769. package/dist/app.mjs +3 -2
  770. package/dist/app.mjs.map +1 -1
  771. package/dist/index.d.cts +1 -1
  772. package/dist/index.d.mts +1 -1
  773. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"list-user-parcel-templates.d.mts","names":[],"sources":["../../src/actions/list-user-parcel-templates.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cA2BlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"list-user-parcel-templates.d.mts","names":[],"sources":["../../src/actions/list-user-parcel-templates.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cA2BlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,MAAA,CAAO,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/list-user-parcel-templates.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-user-parcel-templates.mjs","names":[],"sources":["../../src/actions/list-user-parcel-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListUserParcelTemplatesInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request schema for listing user parcel templates.\");\nconst ShippoListUserParcelTemplates_CarrierParcelTemplateSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template.\").nullable().optional(),\n token: z.string().describe(\"Token identifying the carrier parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n carrier: z.string().describe(\"Carrier name (e.g., 'USPS', 'FedEx').\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n is_variable_dimensions: z.boolean().describe(\"Indicates if the parcel template has variable dimensions.\").nullable().optional(),\n}).passthrough().describe(\"Carrier parcel template structure.\");\nconst ShippoListUserParcelTemplates_UserParcelTemplateSchema = z.object({\n name: z.string().describe(\"Name of the parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel.\").nullable().optional(),\n template: ShippoListUserParcelTemplates_CarrierParcelTemplateSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the object.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms).\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the object.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the object was last updated.\").nullable().optional(),\n}).passthrough().describe(\"User parcel template details.\");\nexport const ShippoListUserParcelTemplatesOutput = z.object({\n results: z.array(ShippoListUserParcelTemplates_UserParcelTemplateSchema).describe(\"List of user-created parcel templates.\"),\n}).passthrough().describe(\"Response schema for listing user parcel templates.\");\n\nexport const shippoListUserParcelTemplates = action(\"SHIPPO_LIST_USER_PARCEL_TEMPLATES\", {\n slug: \"shippo-list-user-parcel-templates\",\n name: \"List User Parcel Templates\",\n description: \"Tool to list all user-created parcel templates. Use when you need to retrieve custom parcel dimensions and configurations that were created by the user.\",\n input: ShippoListUserParcelTemplatesInput,\n output: ShippoListUserParcelTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,EACzD,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,4DAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,S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O,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,wCAAwC,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-user-parcel-templates.mjs","names":[],"sources":["../../src/actions/list-user-parcel-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoListUserParcelTemplatesInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request schema for listing user parcel templates.\");\nconst ShippoListUserParcelTemplates_CarrierParcelTemplateSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template.\").nullable().optional(),\n token: z.string().describe(\"Token identifying the carrier parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n carrier: z.string().describe(\"Carrier name (e.g., 'USPS', 'FedEx').\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n is_variable_dimensions: z.boolean().describe(\"Indicates if the parcel template has variable dimensions.\").nullable().optional(),\n}).passthrough().describe(\"Carrier parcel template structure.\");\nconst ShippoListUserParcelTemplates_UserParcelTemplateSchema = z.object({\n name: z.string().describe(\"Name of the parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel.\").nullable().optional(),\n template: ShippoListUserParcelTemplates_CarrierParcelTemplateSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the object.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms).\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the object.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the object was last updated.\").nullable().optional(),\n}).passthrough().describe(\"User parcel template details.\");\nexport const ShippoListUserParcelTemplatesOutput = z.object({\n results: z.array(ShippoListUserParcelTemplates_UserParcelTemplateSchema).describe(\"List of user-created parcel templates.\"),\n}).passthrough().describe(\"Response schema for listing user parcel templates.\");\n\nexport const shippoListUserParcelTemplates: AppAction<\n typeof ShippoListUserParcelTemplatesInput,\n typeof ShippoListUserParcelTemplatesOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_USER_PARCEL_TEMPLATES\", {\n slug: \"shippo-list-user-parcel-templates\",\n name: \"List User Parcel Templates\",\n description: \"Tool to list all user-created parcel templates. Use when you need to retrieve custom parcel dimensions and configurations that were created by the user.\",\n input: ShippoListUserParcelTemplatesInput,\n output: ShippoListUserParcelTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO,EACzD,oBAAoB,EAAE,OAAO,C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,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,0DAA0D,SAAS,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO,EAC1D,SAAS,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,wCAAwC,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;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/purchase-merchant-batch.ts
@@ -1 +1 @@
1
- {"version":3,"file":"purchase-merchant-batch.cjs","names":["z","action"],"sources":["../../src/actions/purchase-merchant-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoPurchaseMerchantBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch to purchase\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for purchasing a merchant batch.\");\nconst ShippoPurchaseMerchantBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed to create\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed to purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments successfully purchased\").nullable(),\n}).passthrough().describe(\"Results of batch processing.\");\nconst ShippoPurchaseMerchantBatch_BatchShipmentObjectSchema = z.object({\n status: z.string().describe(\"Status of the batch shipment\").nullable().optional(),\n messages: z.array(z.string()).describe(\"Any messages or errors for this shipment\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the batch shipment\").nullable().optional(),\n transaction: z.string().describe(\"ID of the transaction object for this shipment\").nullable().optional(),\n}).passthrough().describe(\"Individual batch shipment object.\");\nconst ShippoPurchaseMerchantBatch_BatchShipmentsPaginationSchema = z.object({\n next: z.string().describe(\"URL to the next page of results\").nullable().optional(),\n results: z.array(ShippoPurchaseMerchantBatch_BatchShipmentObjectSchema).describe(\"Array of BatchShipment objects. The response keeps the same order as in the request array.\"),\n previous: z.string().describe(\"URL to the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Paginated batch shipments results.\");\nexport const ShippoPurchaseMerchantBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this batch was created in test mode\").nullable().optional(),\n status: z.string().describe(\"Batches that are VALIDATING are being created and validated. VALID batches can be purchased, INVALID batches cannot be purchased, INVALID BatchShipments must be removed. Batches that are in the PURCHASING state are being purchased, PURCHASED batches are finished purchasing.\").nullable(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object.\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"An array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the given Batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the Batch object\").nullable(),\n label_filetype: z.string().describe(\"Print format of the label. If empty, will use the default format.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoPurchaseMerchantBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the Batch in ISO 8601 format\").nullable(),\n batch_shipments: ShippoPurchaseMerchantBatch_BatchShipmentsPaginationSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the Carrier Account object to use as the default for all shipments in this Batch. The carrier account can be changed on a per-shipment basis by changing the carrier_account in the corresponding BatchShipment object.\").nullable(),\n default_servicelevel_token: z.string().describe(\"Token of the service level to use as the default for all shipments in this Batch. The servicelevel can be changed on a per-shipment basis by changing the servicelevel_token in the corresponding BatchShipment object.\").nullable(),\n}).passthrough().describe(\"Response model for purchasing a merchant batch.\");\n\nexport const shippoPurchaseMerchantBatch = action(\"SHIPPO_PURCHASE_MERCHANT_BATCH\", {\n slug: \"shippo-purchase-merchant-batch\",\n name: \"Purchase Merchant Batch\",\n description: \"Tool to purchase a batch for a merchant via the Shippo Platform API. Use when you need to purchase a previously created batch of shipments. The batch must be in VALID status before it can be purchased.\",\n input: ShippoPurchaseMerchantBatchInput,\n output: ShippoPurchaseMerchantBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAA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,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"purchase-merchant-batch.cjs","names":["z","action"],"sources":["../../src/actions/purchase-merchant-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoPurchaseMerchantBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch to purchase\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for purchasing a merchant batch.\");\nconst ShippoPurchaseMerchantBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed to create\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed to purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments successfully purchased\").nullable(),\n}).passthrough().describe(\"Results of batch processing.\");\nconst ShippoPurchaseMerchantBatch_BatchShipmentObjectSchema = z.object({\n status: z.string().describe(\"Status of the batch shipment\").nullable().optional(),\n messages: z.array(z.string()).describe(\"Any messages or errors for this shipment\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the batch shipment\").nullable().optional(),\n transaction: z.string().describe(\"ID of the transaction object for this shipment\").nullable().optional(),\n}).passthrough().describe(\"Individual batch shipment object.\");\nconst ShippoPurchaseMerchantBatch_BatchShipmentsPaginationSchema = z.object({\n next: z.string().describe(\"URL to the next page of results\").nullable().optional(),\n results: z.array(ShippoPurchaseMerchantBatch_BatchShipmentObjectSchema).describe(\"Array of BatchShipment objects. The response keeps the same order as in the request array.\"),\n previous: z.string().describe(\"URL to the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Paginated batch shipments results.\");\nexport const ShippoPurchaseMerchantBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this batch was created in test mode\").nullable().optional(),\n status: z.string().describe(\"Batches that are VALIDATING are being created and validated. VALID batches can be purchased, INVALID batches cannot be purchased, INVALID BatchShipments must be removed. Batches that are in the PURCHASING state are being purchased, PURCHASED batches are finished purchasing.\").nullable(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object.\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"An array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the given Batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the Batch object\").nullable(),\n label_filetype: z.string().describe(\"Print format of the label. If empty, will use the default format.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoPurchaseMerchantBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the Batch in ISO 8601 format\").nullable(),\n batch_shipments: ShippoPurchaseMerchantBatch_BatchShipmentsPaginationSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the Carrier Account object to use as the default for all shipments in this Batch. The carrier account can be changed on a per-shipment basis by changing the carrier_account in the corresponding BatchShipment object.\").nullable(),\n default_servicelevel_token: z.string().describe(\"Token of the service level to use as the default for all shipments in this Batch. The servicelevel can be changed on a per-shipment basis by changing the servicelevel_token in the corresponding BatchShipment object.\").nullable(),\n}).passthrough().describe(\"Response model for purchasing a merchant batch.\");\n\nexport const shippoPurchaseMerchantBatch: AppAction<\n typeof ShippoPurchaseMerchantBatchInput,\n typeof ShippoPurchaseMerchantBatchOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_PURCHASE_MERCHANT_BATCH\", {\n slug: \"shippo-purchase-merchant-batch\",\n name: \"Purchase Merchant Batch\",\n description: \"Tool to purchase a batch for a merchant via the Shippo Platform API. Use when you need to purchase a previously created batch of shipments. The batch must be in VALID status before it can be purchased.\",\n input: ShippoPurcha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AgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC7G,iBAAiB,2DAA2D,SAAS;CACrF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+NAA+N,CAAC,CAAC,SAAS;CACvR,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yNAAyN,CAAC,CAAC,SAAS;AACtR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shippo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/purchase-merchant-batch.d.ts
@@ -35,11 +37,7 @@ declare const ShippoPurchaseMerchantBatchOutput: z.ZodObject<{
35
37
  default_carrier_account: z.ZodNullable<z.ZodString>;
36
38
  default_servicelevel_token: z.ZodNullable<z.ZodString>;
37
39
  }, z.core.$loose>;
38
- declare const shippoPurchaseMerchantBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- batch_id: string;
40
- merchant_id: string;
41
- shippo_api_version?: string | undefined;
42
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const shippoPurchaseMerchantBatch: AppAction<typeof ShippoPurchaseMerchantBatchInput, typeof ShippoPurchaseMerchantBatchOutput, typeof shippo.credential>;
43
41
  //#endregion
44
42
  export { shippoPurchaseMerchantBatch };
45
43
  //# sourceMappingURL=purchase-merchant-batch.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"purchase-merchant-batch.d.cts","names":[],"sources":["../../src/actions/purchase-merchant-batch.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAsBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"purchase-merchant-batch.d.cts","names":[],"sources":["../../src/actions/purchase-merchant-batch.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAsBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shippo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/purchase-merchant-batch.d.ts
@@ -35,11 +37,7 @@ declare const ShippoPurchaseMerchantBatchOutput: z.ZodObject<{
35
37
  default_carrier_account: z.ZodNullable<z.ZodString>;
36
38
  default_servicelevel_token: z.ZodNullable<z.ZodString>;
37
39
  }, z.core.$loose>;
38
- declare const shippoPurchaseMerchantBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- batch_id: string;
40
- merchant_id: string;
41
- shippo_api_version?: string | undefined;
42
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const shippoPurchaseMerchantBatch: AppAction<typeof ShippoPurchaseMerchantBatchInput, typeof ShippoPurchaseMerchantBatchOutput, typeof shippo.credential>;
43
41
  //#endregion
44
42
  export { shippoPurchaseMerchantBatch };
45
43
  //# sourceMappingURL=purchase-merchant-batch.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"purchase-merchant-batch.d.mts","names":[],"sources":["../../src/actions/purchase-merchant-batch.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAsBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"purchase-merchant-batch.d.mts","names":[],"sources":["../../src/actions/purchase-merchant-batch.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAsBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,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/purchase-merchant-batch.ts
@@ -1 +1 @@
1
- {"version":3,"file":"purchase-merchant-batch.mjs","names":[],"sources":["../../src/actions/purchase-merchant-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoPurchaseMerchantBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch to purchase\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for purchasing a merchant batch.\");\nconst ShippoPurchaseMerchantBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed to create\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed to purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments successfully purchased\").nullable(),\n}).passthrough().describe(\"Results of batch processing.\");\nconst ShippoPurchaseMerchantBatch_BatchShipmentObjectSchema = z.object({\n status: z.string().describe(\"Status of the batch shipment\").nullable().optional(),\n messages: z.array(z.string()).describe(\"Any messages or errors for this shipment\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the batch shipment\").nullable().optional(),\n transaction: z.string().describe(\"ID of the transaction object for this shipment\").nullable().optional(),\n}).passthrough().describe(\"Individual batch shipment object.\");\nconst ShippoPurchaseMerchantBatch_BatchShipmentsPaginationSchema = z.object({\n next: z.string().describe(\"URL to the next page of results\").nullable().optional(),\n results: z.array(ShippoPurchaseMerchantBatch_BatchShipmentObjectSchema).describe(\"Array of BatchShipment objects. The response keeps the same order as in the request array.\"),\n previous: z.string().describe(\"URL to the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Paginated batch shipments results.\");\nexport const ShippoPurchaseMerchantBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this batch was created in test mode\").nullable().optional(),\n status: z.string().describe(\"Batches that are VALIDATING are being created and validated. VALID batches can be purchased, INVALID batches cannot be purchased, INVALID BatchShipments must be removed. Batches that are in the PURCHASING state are being purchased, PURCHASED batches are finished purchasing.\").nullable(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object.\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"An array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the given Batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the Batch object\").nullable(),\n label_filetype: z.string().describe(\"Print format of the label. If empty, will use the default format.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoPurchaseMerchantBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the Batch in ISO 8601 format\").nullable(),\n batch_shipments: ShippoPurchaseMerchantBatch_BatchShipmentsPaginationSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the Carrier Account object to use as the default for all shipments in this Batch. The carrier account can be changed on a per-shipment basis by changing the carrier_account in the corresponding BatchShipment object.\").nullable(),\n default_servicelevel_token: z.string().describe(\"Token of the service level to use as the default for all shipments in this Batch. The servicelevel can be changed on a per-shipment basis by changing the servicelevel_token in the corresponding BatchShipment object.\").nullable(),\n}).passthrough().describe(\"Response model for purchasing a merchant batch.\");\n\nexport const shippoPurchaseMerchantBatch = action(\"SHIPPO_PURCHASE_MERCHANT_BATCH\", {\n slug: \"shippo-purchase-merchant-batch\",\n name: \"Purchase Merchant Batch\",\n description: \"Tool to purchase a batch for a merchant via the Shippo Platform API. Use when you need to purchase a previously created batch of shipments. The batch must be in VALID status before it can be purchased.\",\n input: ShippoPurchaseMerchantBatchInput,\n output: ShippoPurchaseMerchantBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,kDAAkD,EAAE,OAAO;CAC/D,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,wDAAwD,EAAE,OAAO;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C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CAAC,SAAS;EAC7H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACnG,gBAAgB,gDAAgD,SAAS;EACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC7G,iBAAiB,2DAA2D,SAAS;EACrF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,+NAA+N,CAAC,CAAC,SAAS;EACvR,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,yNAAyN,CAAC,CAAC,SAAS;CACtR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"purchase-merchant-batch.mjs","names":[],"sources":["../../src/actions/purchase-merchant-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoPurchaseMerchantBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch to purchase\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for purchasing a merchant batch.\");\nconst ShippoPurchaseMerchantBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed to create\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed to purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments successfully purchased\").nullable(),\n}).passthrough().describe(\"Results of batch processing.\");\nconst ShippoPurchaseMerchantBatch_BatchShipmentObjectSchema = z.object({\n status: z.string().describe(\"Status of the batch shipment\").nullable().optional(),\n messages: z.array(z.string()).describe(\"Any messages or errors for this shipment\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the batch shipment\").nullable().optional(),\n transaction: z.string().describe(\"ID of the transaction object for this shipment\").nullable().optional(),\n}).passthrough().describe(\"Individual batch shipment object.\");\nconst ShippoPurchaseMerchantBatch_BatchShipmentsPaginationSchema = z.object({\n next: z.string().describe(\"URL to the next page of results\").nullable().optional(),\n results: z.array(ShippoPurchaseMerchantBatch_BatchShipmentObjectSchema).describe(\"Array of BatchShipment objects. The response keeps the same order as in the request array.\"),\n previous: z.string().describe(\"URL to the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Paginated batch shipments results.\");\nexport const ShippoPurchaseMerchantBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this batch was created in test mode\").nullable().optional(),\n status: z.string().describe(\"Batches that are VALIDATING are being created and validated. VALID batches can be purchased, INVALID batches cannot be purchased, INVALID BatchShipments must be removed. Batches that are in the PURCHASING state are being purchased, PURCHASED batches are finished purchasing.\").nullable(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object.\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"An array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the given Batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the Batch object\").nullable(),\n label_filetype: z.string().describe(\"Print format of the label. If empty, will use the default format.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoPurchaseMerchantBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the Batch in ISO 8601 format\").nullable(),\n batch_shipments: ShippoPurchaseMerchantBatch_BatchShipmentsPaginationSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the Carrier Account object to use as the default for all shipments in this Batch. The carrier account can be changed on a per-shipment basis by changing the carrier_account in the corresponding BatchShipment object.\").nullable(),\n default_servicelevel_token: z.string().describe(\"Token of the service level to use as the default for all shipments in this Batch. The servicelevel can be changed on a per-shipment basis by changing the servicelevel_token in the corresponding BatchShipment object.\").nullable(),\n}).passthrough().describe(\"Response model for purchasing a merchant batch.\");\n\nexport const shippoPurchaseMerchantBatch: AppAction<\n typeof ShippoPurchaseMerchantBatchInput,\n typeof ShippoPurchaseMerchantBatchOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_PURCHASE_MERCHANT_BATCH\", {\n slug: \"shippo-purchase-merchant-batch\",\n name: \"Purchase Merchant Batch\",\n description: \"Tool to purchase a batch for a merchant via the Shippo Platform API. Use when you need to purchase a previously created batch of shipments. The batch must be in VALID status before it can be purchased.\",\n input: ShippoPurchaseMerchantBatchInput,\n output: ShippoPurchaseMerchantBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,kDAAkD,EAAE,OAAO;CAC/D,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,wDAAwD,EAAE,OAAO;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE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,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACnG,gBAAgB,gDAAgD,SAAS;EACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC7G,iBAAiB,2DAA2D,SAAS;EACrF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,+NAA+N,CAAC,CAAC,SAAS;EACvR,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,yNAAyN,CAAC,CAAC,SAAS;CACtR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;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/remove-shipments-from-batch.ts
@@ -1 +1 @@
1
- {"version":3,"file":"remove-shipments-from-batch.cjs","names":["z","action"],"sources":["../../src/actions/remove-shipments-from-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoRemoveShipmentsFromBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch from which to remove shipments\"),\n merchant_id: z.string().describe(\"Object ID of the merchant who owns the batch\"),\n shipment_ids: z.array(z.string()).describe(\"Array of shipment object IDs to remove from the batch. Each ID must be a valid shipment identifier.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for removing shipments from a batch.\");\nconst ShippoRemoveShipmentsFromBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed creation\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments successfully purchased\").nullable(),\n}).passthrough().describe(\"Results summary for batch operations.\");\nconst ShippoRemoveShipmentsFromBatch_BatchShipmentSchema = z.object({\n batch: z.string().describe(\"Object ID of the batch this shipment belongs to\").nullable().optional(),\n status: z.string().describe(\"Status of the batch shipment\").nullable().optional(),\n messages: z.array(z.record(z.string(), z.unknown())).describe(\"Array of message objects with details about the shipment\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string\").nullable().optional(),\n shipment: z.string().describe(\"Object ID of the shipment\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this batch shipment\").nullable().optional(),\n transaction: z.string().describe(\"Object ID of the transaction if purchased\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account\").nullable().optional(),\n servicelevel_token: z.string().describe(\"Service level token for this shipment\").nullable().optional(),\n}).passthrough().describe(\"Individual batch shipment object.\");\nconst ShippoRemoveShipmentsFromBatch_BatchShipmentsPaginationSchema = z.object({\n next: z.string().describe(\"URL for the next page of results, if available\").nullable().optional(),\n results: z.array(ShippoRemoveShipmentsFromBatch_BatchShipmentSchema).describe(\"Array of BatchShipment objects\"),\n previous: z.string().describe(\"URL for the previous page of results, if available\").nullable().optional(),\n}).passthrough().describe(\"Pagination details for batch shipments.\");\nexport const ShippoRemoveShipmentsFromBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this batch was created in test mode\").nullable().optional(),\n status: z.string().describe(\"Current status of the batch. Possible values: VALIDATING (being created and validated), VALID (can be purchased), INVALID (cannot be purchased), PURCHASING (being purchased), PURCHASED (finished purchasing)\").nullable(),\n metadata: z.string().describe(\"A string of up to 100 characters with additional information attached to the object\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"Array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the batch object\").nullable(),\n label_filetype: z.string().describe(\"Print format of the label (e.g., PNG, PDF, PDF_4x6, ZPLII). If empty, uses the default format.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoRemoveShipmentsFromBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last batch update in ISO 8601 format\").nullable(),\n batch_shipments: ShippoRemoveShipmentsFromBatch_BatchShipmentsPaginationSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the Carrier Account object used as the default for all shipments in this batch\").nullable(),\n default_servicelevel_token: z.string().describe(\"Token of the service level used as the default for all shipments in this batch\").nullable(),\n}).passthrough().describe(\"Response model after removing shipments from a batch.\");\n\nexport const shippoRemoveShipmentsFromBatch = action(\"SHIPPO_REMOVE_SHIPMENTS_FROM_BATCH\", {\n slug: \"shippo-remove-shipments-from-batch\",\n name: \"Remove Shipments From Batch\",\n description: \"Tool to remove shipments from a batch for a merchant using the Shippo Platform API. Use when you need to remove one or more shipments from an existing batch before purchase or during batch management.\",\n input: ShippoRemoveShipmentsFromBatchInput,\n output: ShippoRemoveShipmentsFromBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG;CAChJ,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA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AAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACtG,iBAAiB,8DAA8D,SAAS;CACxF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9I,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-shipments-from-batch.cjs","names":["z","action"],"sources":["../../src/actions/remove-shipments-from-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoRemoveShipmentsFromBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch from which to remove shipments\"),\n merchant_id: z.string().describe(\"Object ID of the merchant who owns the batch\"),\n shipment_ids: z.array(z.string()).describe(\"Array of shipment object IDs to remove from the batch. Each ID must be a valid shipment identifier.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for removing shipments from a batch.\");\nconst ShippoRemoveShipmentsFromBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed creation\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments successfully purchased\").nullable(),\n}).passthrough().describe(\"Results summary for batch operations.\");\nconst ShippoRemoveShipmentsFromBatch_BatchShipmentSchema = z.object({\n batch: z.string().describe(\"Object ID of the batch this shipment belongs to\").nullable().optional(),\n status: z.string().describe(\"Status of the batch shipment\").nullable().optional(),\n messages: z.array(z.record(z.string(), z.unknown())).describe(\"Array of message objects with details about the shipment\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string\").nullable().optional(),\n shipment: z.string().describe(\"Object ID of the shipment\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this batch shipment\").nullable().optional(),\n transaction: z.string().describe(\"Object ID of the transaction if purchased\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account\").nullable().optional(),\n servicelevel_token: z.string().describe(\"Service level token for this shipment\").nullable().optional(),\n}).passthrough().describe(\"Individual batch shipment object.\");\nconst ShippoRemoveShipmentsFromBatch_BatchShipmentsPaginationSchema = z.object({\n next: z.string().describe(\"URL for the next page of results, if available\").nullable().optional(),\n results: z.array(ShippoRemoveShipmentsFromBatch_BatchShipmentSchema).describe(\"Array of BatchShipment objects\"),\n previous: z.string().describe(\"URL for the previous page of results, if available\").nullable().optional(),\n}).passthrough().describe(\"Pagination details for batch shipments.\");\nexport const ShippoRemoveShipmentsFromBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this batch was created in test mode\").nullable().optional(),\n status: z.string().describe(\"Current status of the batch. Possible values: VALIDATING (being created and validated), VALID (can be purchased), INVALID (cannot be purchased), PURCHASING (being purchased), PURCHASED (finished purchasing)\").nullable(),\n metadata: z.string().describe(\"A string of up to 100 characters with additional information attached to the object\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"Array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the batch object\").nullable(),\n label_filetype: z.string().describe(\"Print format of the label (e.g., PNG, PDF, PDF_4x6, ZPLII). If empty, uses the default format.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoRemoveShipmentsFromBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last batch update in ISO 8601 format\").nullable(),\n batch_shipments: ShippoRemoveShipmentsFromBatch_BatchShipmentsPaginationSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the Carrier Account object used as the default for all shipments in this batch\").nullable(),\n default_servicelevel_token: z.string().describe(\"Token of the service level used as the default for all shipments in this batch\").nullable(),\n}).passthrough().describe(\"Response model after removing shipments from a batch.\");\n\nexport const shippoRemoveShipmentsFromBatch: AppAction<\n typeof ShippoRemoveShipmentsFromBatchInput,\n typeof ShippoRemoveShipmentsFromBatchOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_REMOVE_SHIPMENTS_FROM_BATCH\", {\n slug: \"shippo-remove-shipments-from-batch\",\n name: \"Remove Shipments From Batch\",\n description: \"Tool to remove shipments from a batch for a merchant using the Shippo Platform API. Use when you need to remove one or more shipments from an existing batch before purchase or during batch management.\",\n input: ShippoRemoveShipmentsFromBatchInput,\n output: ShippoRemoveShipmentsFromBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG;CAChJ,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,oBAAoBA,IAAAA,EAA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;CACtG,iBAAiB,8DAA8D,SAAS;CACxF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9I,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shippo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/remove-shipments-from-batch.d.ts
@@ -41,12 +43,7 @@ declare const ShippoRemoveShipmentsFromBatchOutput: z.ZodObject<{
41
43
  default_carrier_account: z.ZodNullable<z.ZodString>;
42
44
  default_servicelevel_token: z.ZodNullable<z.ZodString>;
43
45
  }, z.core.$loose>;
44
- declare const shippoRemoveShipmentsFromBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
45
- batch_id: string;
46
- merchant_id: string;
47
- shipment_ids: string[];
48
- shippo_api_version?: string | undefined;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ declare const shippoRemoveShipmentsFromBatch: AppAction<typeof ShippoRemoveShipmentsFromBatchInput, typeof ShippoRemoveShipmentsFromBatchOutput, typeof shippo.credential>;
50
47
  //#endregion
51
48
  export { shippoRemoveShipmentsFromBatch };
52
49
  //# sourceMappingURL=remove-shipments-from-batch.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-shipments-from-batch.d.cts","names":[],"sources":["../../src/actions/remove-shipments-from-batch.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cA4BnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"remove-shipments-from-batch.d.cts","names":[],"sources":["../../src/actions/remove-shipments-from-batch.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cA4BnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shippo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/remove-shipments-from-batch.d.ts
@@ -41,12 +43,7 @@ declare const ShippoRemoveShipmentsFromBatchOutput: z.ZodObject<{
41
43
  default_carrier_account: z.ZodNullable<z.ZodString>;
42
44
  default_servicelevel_token: z.ZodNullable<z.ZodString>;
43
45
  }, z.core.$loose>;
44
- declare const shippoRemoveShipmentsFromBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
45
- batch_id: string;
46
- merchant_id: string;
47
- shipment_ids: string[];
48
- shippo_api_version?: string | undefined;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ declare const shippoRemoveShipmentsFromBatch: AppAction<typeof ShippoRemoveShipmentsFromBatchInput, typeof ShippoRemoveShipmentsFromBatchOutput, typeof shippo.credential>;
50
47
  //#endregion
51
48
  export { shippoRemoveShipmentsFromBatch };
52
49
  //# sourceMappingURL=remove-shipments-from-batch.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-shipments-from-batch.d.mts","names":[],"sources":["../../src/actions/remove-shipments-from-batch.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cA4BnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"remove-shipments-from-batch.d.mts","names":[],"sources":["../../src/actions/remove-shipments-from-batch.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cA4BnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,MAAA,CAAO,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/remove-shipments-from-batch.ts
@@ -1 +1 @@
1
- {"version":3,"file":"remove-shipments-from-batch.mjs","names":[],"sources":["../../src/actions/remove-shipments-from-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoRemoveShipmentsFromBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch from which to remove shipments\"),\n merchant_id: z.string().describe(\"Object ID of the merchant who owns the batch\"),\n shipment_ids: z.array(z.string()).describe(\"Array of shipment object IDs to remove from the batch. Each ID must be a valid shipment identifier.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for removing shipments from a batch.\");\nconst ShippoRemoveShipmentsFromBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed creation\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments successfully purchased\").nullable(),\n}).passthrough().describe(\"Results summary for batch operations.\");\nconst ShippoRemoveShipmentsFromBatch_BatchShipmentSchema = z.object({\n batch: z.string().describe(\"Object ID of the batch this shipment belongs to\").nullable().optional(),\n status: z.string().describe(\"Status of the batch shipment\").nullable().optional(),\n messages: z.array(z.record(z.string(), z.unknown())).describe(\"Array of message objects with details about the shipment\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string\").nullable().optional(),\n shipment: z.string().describe(\"Object ID of the shipment\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this batch shipment\").nullable().optional(),\n transaction: z.string().describe(\"Object ID of the transaction if purchased\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account\").nullable().optional(),\n servicelevel_token: z.string().describe(\"Service level token for this shipment\").nullable().optional(),\n}).passthrough().describe(\"Individual batch shipment object.\");\nconst ShippoRemoveShipmentsFromBatch_BatchShipmentsPaginationSchema = z.object({\n next: z.string().describe(\"URL for the next page of results, if available\").nullable().optional(),\n results: z.array(ShippoRemoveShipmentsFromBatch_BatchShipmentSchema).describe(\"Array of BatchShipment objects\"),\n previous: z.string().describe(\"URL for the previous page of results, if available\").nullable().optional(),\n}).passthrough().describe(\"Pagination details for batch shipments.\");\nexport const ShippoRemoveShipmentsFromBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this batch was created in test mode\").nullable().optional(),\n status: z.string().describe(\"Current status of the batch. Possible values: VALIDATING (being created and validated), VALID (can be purchased), INVALID (cannot be purchased), PURCHASING (being purchased), PURCHASED (finished purchasing)\").nullable(),\n metadata: z.string().describe(\"A string of up to 100 characters with additional information attached to the object\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"Array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the batch object\").nullable(),\n label_filetype: z.string().describe(\"Print format of the label (e.g., PNG, PDF, PDF_4x6, ZPLII). If empty, uses the default format.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoRemoveShipmentsFromBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last batch update in ISO 8601 format\").nullable(),\n batch_shipments: ShippoRemoveShipmentsFromBatch_BatchShipmentsPaginationSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the Carrier Account object used as the default for all shipments in this batch\").nullable(),\n default_servicelevel_token: z.string().describe(\"Token of the service level used as the default for all shipments in this batch\").nullable(),\n}).passthrough().describe(\"Response model after removing shipments from a batch.\");\n\nexport const shippoRemoveShipmentsFromBatch = action(\"SHIPPO_REMOVE_SHIPMENTS_FROM_BATCH\", {\n slug: \"shippo-remove-shipments-from-batch\",\n name: \"Remove Shipments From Batch\",\n description: \"Tool to remove shipments from a batch for a merchant using the Shippo Platform API. Use when you need to remove one or more shipments from an existing batch before purchase or during batch management.\",\n input: ShippoRemoveShipmentsFromBatchInput,\n output: ShippoRemoveShipmentsFromBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG;CAChJ,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,qDAAqD,EAAE,OAAO;CAClE,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnG,oBAAoB,EAA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"file":"remove-shipments-from-batch.mjs","names":[],"sources":["../../src/actions/remove-shipments-from-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoRemoveShipmentsFromBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch from which to remove shipments\"),\n merchant_id: z.string().describe(\"Object ID of the merchant who owns the batch\"),\n shipment_ids: z.array(z.string()).describe(\"Array of shipment object IDs to remove from the batch. Each ID must be a valid shipment identifier.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for removing shipments from a batch.\");\nconst ShippoRemoveShipmentsFromBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed creation\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments successfully purchased\").nullable(),\n}).passthrough().describe(\"Results summary for batch operations.\");\nconst ShippoRemoveShipmentsFromBatch_BatchShipmentSchema = z.object({\n batch: z.string().describe(\"Object ID of the batch this shipment belongs to\").nullable().optional(),\n status: z.string().describe(\"Status of the batch shipment\").nullable().optional(),\n messages: z.array(z.record(z.string(), z.unknown())).describe(\"Array of message objects with details about the shipment\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string\").nullable().optional(),\n shipment: z.string().describe(\"Object ID of the shipment\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this batch shipment\").nullable().optional(),\n transaction: z.string().describe(\"Object ID of the transaction if purchased\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account\").nullable().optional(),\n servicelevel_token: z.string().describe(\"Service level token for this shipment\").nullable().optional(),\n}).passthrough().describe(\"Individual batch shipment object.\");\nconst ShippoRemoveShipmentsFromBatch_BatchShipmentsPaginationSchema = z.object({\n next: z.string().describe(\"URL for the next page of results, if available\").nullable().optional(),\n results: z.array(ShippoRemoveShipmentsFromBatch_BatchShipmentSchema).describe(\"Array of BatchShipment objects\"),\n previous: z.string().describe(\"URL for the previous page of results, if available\").nullable().optional(),\n}).passthrough().describe(\"Pagination details for batch shipments.\");\nexport const ShippoRemoveShipmentsFromBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this batch was created in test mode\").nullable().optional(),\n status: z.string().describe(\"Current status of the batch. Possible values: VALIDATING (being created and validated), VALID (can be purchased), INVALID (cannot be purchased), PURCHASING (being purchased), PURCHASED (finished purchasing)\").nullable(),\n metadata: z.string().describe(\"A string of up to 100 characters with additional information attached to the object\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"Array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the batch object\").nullable(),\n label_filetype: z.string().describe(\"Print format of the label (e.g., PNG, PDF, PDF_4x6, ZPLII). If empty, uses the default format.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoRemoveShipmentsFromBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last batch update in ISO 8601 format\").nullable(),\n batch_shipments: ShippoRemoveShipmentsFromBatch_BatchShipmentsPaginationSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the Carrier Account object used as the default for all shipments in this batch\").nullable(),\n default_servicelevel_token: z.string().describe(\"Token of the service level used as the default for all shipments in this batch\").nullable(),\n}).passthrough().describe(\"Response model after removing shipments from a batch.\");\n\nexport const shippoRemoveShipmentsFromBatch: AppAction<\n typeof ShippoRemoveShipmentsFromBatchInput,\n typeof ShippoRemoveShipmentsFromBatchOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_REMOVE_SHIPMENTS_FROM_BATCH\", {\n slug: \"shippo-remove-shipments-from-batch\",\n name: \"Remove Shipments From Batch\",\n description: \"Tool to remove shipments from a batch for a merchant using the Shippo Platform API. Use when you need to remove one or more shipments from an existing batch before purchase or during batch management.\",\n input: ShippoRemoveShipmentsFromBatchInput,\n output: ShippoRemoveShipmentsFromBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG;CAChJ,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,qDAAqD,EAAE,OAAO;CAClE,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,qDAAqD,EAAE,OAAO;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CA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;EACvP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1J,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACnG,gBAAgB,mDAAmD,SAAS;EAC5E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACtG,iBAAiB,8DAA8D,SAAS;EACxF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC9I,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;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/update-carrier-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-carrier-account.cjs","names":["z","action"],"sources":["../../src/actions/update-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'usps', 'ups', 'fedex', 'dhl_express', 'lso'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"Optional carrier-specific parameters as key-value pairs. The structure varies by carrier.\").optional(),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '2bf70116c96f40159b54c16f022586c7').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing carrier account in Shippo.\");\nexport const ShippoUpdateCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier.\").nullable(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters as key-value pairs.\").nullable().optional(),\n object_owner: z.string().describe(\"The owner of this carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates whether this is a Shippo-provided account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated carrier account details.\");\n\nexport const shippoUpdateCarrierAccount = action(\"SHIPPO_UPDATE_CARRIER_ACCOUNT\", {\n slug: \"shippo-update-carrier-account\",\n name: \"Update Carrier Account\",\n description: \"Tool to update an existing carrier account in Shippo. Use when you need to modify carrier account settings such as activation status, account credentials, or carrier-specific parameters.\",\n input: ShippoUpdateCarrierAccountInput,\n output: ShippoUpdateCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACxI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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AAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-carrier-account.cjs","names":["z","action"],"sources":["../../src/actions/update-carrier-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoUpdateCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'usps', 'ups', 'fedex', 'dhl_express', 'lso'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"Optional carrier-specific parameters as key-value pairs. The structure varies by carrier.\").optional(),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '2bf70116c96f40159b54c16f022586c7').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing carrier account in Shippo.\");\nexport const ShippoUpdateCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier.\").nullable(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters as key-value pairs.\").nullable().optional(),\n object_owner: z.string().describe(\"The owner of this carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates whether this is a Shippo-provided account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated carrier account details.\");\n\nexport const shippoUpdateCarrierAccount: AppAction<\n typeof ShippoUpdateCarrierAccountInput,\n typeof ShippoUpdateCarrierAccountOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_UPDATE_CARRIER_ACCOUNT\", {\n slug: \"shippo-update-carrier-account\",\n name: \"Update Carrier Account\",\n description: \"Tool to update an existing carrier account in Shippo. Use when you need to modify carrier account settings such as activation status, account credentials, or carrier-specific parameters.\",\n input: ShippoUpdateCarrierAccountInput,\n output: ShippoUpdateCarrierAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACxI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC7J,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CAChI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shippo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-carrier-account.d.ts
@@ -20,14 +22,7 @@ declare const ShippoUpdateCarrierAccountOutput: z.ZodObject<{
20
22
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
24
  }, z.core.$loose>;
23
- declare const shippoUpdateCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- carrier: string;
25
- account_id: string;
26
- carrier_account_id: string;
27
- active?: boolean | undefined;
28
- parameters?: Record<string, unknown> | undefined;
29
- shippo_api_version?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const shippoUpdateCarrierAccount: AppAction<typeof ShippoUpdateCarrierAccountInput, typeof ShippoUpdateCarrierAccountOutput, typeof shippo.credential>;
31
26
  //#endregion
32
27
  export { shippoUpdateCarrierAccount };
33
28
  //# sourceMappingURL=update-carrier-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-carrier-account.d.cts","names":[],"sources":["../../src/actions/update-carrier-account.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYhC,0BAAA,gCAA0B,wBAAA;;;;;eAMrC,MAAA"}
1
+ {"version":3,"file":"update-carrier-account.d.cts","names":[],"sources":["../../src/actions/update-carrier-account.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shippo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-carrier-account.d.ts
@@ -20,14 +22,7 @@ declare const ShippoUpdateCarrierAccountOutput: z.ZodObject<{
20
22
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
24
  }, z.core.$loose>;
23
- declare const shippoUpdateCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- carrier: string;
25
- account_id: string;
26
- carrier_account_id: string;
27
- active?: boolean | undefined;
28
- parameters?: Record<string, unknown> | undefined;
29
- shippo_api_version?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const shippoUpdateCarrierAccount: AppAction<typeof ShippoUpdateCarrierAccountInput, typeof ShippoUpdateCarrierAccountOutput, typeof shippo.credential>;
31
26
  //#endregion
32
27
  export { shippoUpdateCarrierAccount };
33
28
  //# sourceMappingURL=update-carrier-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-carrier-account.d.mts","names":[],"sources":["../../src/actions/update-carrier-account.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYhC,0BAAA,gCAA0B,wBAAA;;;;;eAMrC,MAAA"}
1
+ {"version":3,"file":"update-carrier-account.d.mts","names":[],"sources":["../../src/actions/update-carrier-account.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const shippoUpdateCarrierAccount = action("SHIPPO_UPDATE_CARRIER_ACCOUNT", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-carrier-account.mjs","names":[],"sources":["../../src/actions/update-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'usps', 'ups', 'fedex', 'dhl_express', 'lso'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"Optional carrier-specific parameters as key-value pairs. The structure varies by carrier.\").optional(),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '2bf70116c96f40159b54c16f022586c7').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing carrier account in Shippo.\");\nexport const ShippoUpdateCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier.\").nullable(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters as key-value pairs.\").nullable().optional(),\n object_owner: z.string().describe(\"The owner of this carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates whether this is a Shippo-provided account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated carrier account details.\");\n\nexport const shippoUpdateCarrierAccount = action(\"SHIPPO_UPDATE_CARRIER_ACCOUNT\", {\n slug: \"shippo-update-carrier-account\",\n name: \"Update Carrier Account\",\n description: \"Tool to update an existing carrier account in Shippo. Use when you need to modify carrier account settings such as activation status, account credentials, or carrier-specific parameters.\",\n input: ShippoUpdateCarrierAccountInput,\n output: ShippoUpdateCarrierAccountOutput,\n});\n"],"mappings":";;AAwBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB6C,EAAE,OAAO;EACtD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,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,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-carrier-account.mjs","names":[],"sources":["../../src/actions/update-carrier-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoUpdateCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'usps', 'ups', 'fedex', 'dhl_express', 'lso'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"Optional carrier-specific parameters as key-value pairs. The structure varies by carrier.\").optional(),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '2bf70116c96f40159b54c16f022586c7').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing carrier account in Shippo.\");\nexport const ShippoUpdateCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier.\").nullable(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters as key-value pairs.\").nullable().optional(),\n object_owner: z.string().describe(\"The owner of this carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates whether this is a Shippo-provided account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated carrier account details.\");\n\nexport const shippoUpdateCarrierAccount: AppAction<\n typeof ShippoUpdateCarrierAccountInput,\n typeof ShippoUpdateCarrierAccountOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_UPDATE_CARRIER_ACCOUNT\", {\n slug: \"shippo-update-carrier-account\",\n name: \"Update Carrier Account\",\n description: \"Tool to update an existing carrier account in Shippo. Use when you need to modify carrier account settings such as activation status, account credentials, or carrier-specific parameters.\",\n input: ShippoUpdateCarrierAccountInput,\n output: ShippoUpdateCarrierAccountOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B6C,EAAE,OAAO;EACtD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACxI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACzF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAC7J,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;EAChI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,mEAqBH;CACP,QArB8C,EAAE,OAAO;EACvD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;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/update-default-parcel-template.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-default-parcel-template.cjs","names":["z","action"],"sources":["../../src/actions/update-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateDefaultParcelTemplateInput = z.object({\n object_id: z.string().describe(\"The unique identifier of the parcel template to set as default. This should be the ID of an existing parcel template in your Shippo account.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"Optional string used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"Token identifying the carrier parcel template\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel\").nullable().optional(),\n api_token: z.string().describe(\"API token for the carrier parcel template\").nullable().optional(),\n provider_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the carrier provider\").nullable().optional(),\n is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Carrier parcel template details.\");\nconst ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({\n name: z.string().describe(\"Name of the parcel template\").nullable().optional(),\n width: z.string().describe(\"Width dimension of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height dimension of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length dimension of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n template: ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel template object\").nullable().optional(),\n is_default: z.boolean().describe(\"Indicates if this is the default parcel template\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for parcel weight (e.g., 'lb' for pounds, 'kg' for kilograms)\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the parcel template object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the parcel template was created\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the parcel template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents the parcel template details.\");\nexport const ShippoUpdateDefaultParcelTemplateOutput = z.object({\n result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response from updating the default parcel template.\");\n\nexport const shippoUpdateDefaultParcelTemplate = action(\"SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-default-parcel-template\",\n name: \"Update Default Parcel Template\",\n description: \"Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.\",\n input: ShippoUpdate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,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,QAAQ,6DAA6D,SAAS,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-default-parcel-template.cjs","names":["z","action"],"sources":["../../src/actions/update-default-parcel-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoUpdateDefaultParcelTemplateInput = z.object({\n object_id: z.string().describe(\"The unique identifier of the parcel template to set as default. This should be the ID of an existing parcel template in your Shippo account.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"Optional string used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"Token identifying the carrier parcel template\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel\").nullable().optional(),\n api_token: z.string().describe(\"API token for the carrier parcel template\").nullable().optional(),\n provider_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the carrier provider\").nullable().optional(),\n is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Carrier parcel template details.\");\nconst ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({\n name: z.string().describe(\"Name of the parcel template\").nullable().optional(),\n width: z.string().describe(\"Width dimension of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height dimension of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length dimension of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n template: ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel template object\").nullable().optional(),\n is_default: z.boolean().describe(\"Indicates if this is the default parcel template\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for parcel weight (e.g., 'lb' for pounds, 'kg' for kilograms)\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the parcel template object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the parcel template was created\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the parcel template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents the parcel template details.\");\nexport const ShippoUpdateDefaultParcelTemplateOutput = z.object({\n result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response from updating the default parcel template.\");\n\nexport const shippoUpdateDefaultParcelTemplate: AppAction<\n typeof ShippoUpdateDefaultParcelTemplateInput,\n typeof ShippoUpdateDefaultParcelTemplateOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-default-parcel-template\",\n name: \"Update Default Parcel Template\",\n description: \"Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.\",\n input: ShippoUpdateDefaultParcelTemplateInput,\n output: ShippoUpdateDefaultParcelTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CAC7K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC9K,CAAC;AACD,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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AAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,QAAQ,6DAA6D,SAAS,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,oCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shippo } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-default-parcel-template.d.ts
@@ -33,10 +35,7 @@ declare const ShippoUpdateDefaultParcelTemplateOutput: z.ZodObject<{
33
35
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>>>;
35
37
  }, z.core.$loose>;
36
- declare const shippoUpdateDefaultParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- object_id: string;
38
- "SHIPPO-API-VERSION"?: string | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ declare const shippoUpdateDefaultParcelTemplate: AppAction<typeof ShippoUpdateDefaultParcelTemplateInput, typeof ShippoUpdateDefaultParcelTemplateOutput, typeof shippo.credential>;
40
39
  //#endregion
41
40
  export { shippoUpdateDefaultParcelTemplate };
42
41
  //# sourceMappingURL=update-default-parcel-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-default-parcel-template.d.cts","names":[],"sources":["../../src/actions/update-default-parcel-template.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cA+BtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"update-default-parcel-template.d.cts","names":[],"sources":["../../src/actions/update-default-parcel-template.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cA+BtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shippo } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-default-parcel-template.d.ts
@@ -33,10 +35,7 @@ declare const ShippoUpdateDefaultParcelTemplateOutput: z.ZodObject<{
33
35
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>>>;
35
37
  }, z.core.$loose>;
36
- declare const shippoUpdateDefaultParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- object_id: string;
38
- "SHIPPO-API-VERSION"?: string | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ declare const shippoUpdateDefaultParcelTemplate: AppAction<typeof ShippoUpdateDefaultParcelTemplateInput, typeof ShippoUpdateDefaultParcelTemplateOutput, typeof shippo.credential>;
40
39
  //#endregion
41
40
  export { shippoUpdateDefaultParcelTemplate };
42
41
  //# sourceMappingURL=update-default-parcel-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-default-parcel-template.d.mts","names":[],"sources":["../../src/actions/update-default-parcel-template.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cA+BtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"update-default-parcel-template.d.mts","names":[],"sources":["../../src/actions/update-default-parcel-template.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cA+BtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,MAAA,CAAO,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/update-default-parcel-template.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-default-parcel-template.mjs","names":[],"sources":["../../src/actions/update-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateDefaultParcelTemplateInput = z.object({\n object_id: z.string().describe(\"The unique identifier of the parcel template to set as default. This should be the ID of an existing parcel template in your Shippo account.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"Optional string used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"Token identifying the carrier parcel template\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel\").nullable().optional(),\n api_token: z.string().describe(\"API token for the carrier parcel template\").nullable().optional(),\n provider_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the carrier provider\").nullable().optional(),\n is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Carrier parcel template details.\");\nconst ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({\n name: z.string().describe(\"Name of the parcel template\").nullable().optional(),\n width: z.string().describe(\"Width dimension of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height dimension of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length dimension of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n template: ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel template object\").nullable().optional(),\n is_default: z.boolean().describe(\"Indicates if this is the default parcel template\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for parcel weight (e.g., 'lb' for pounds, 'kg' for kilograms)\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the parcel template object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the parcel template was created\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the parcel template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents the parcel template details.\");\nexport const ShippoUpdateDefaultParcelTemplateOutput = z.object({\n result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response from updating the default parcel template.\");\n\nexport const shippoUpdateDefaultParcelTemplate = action(\"SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-default-parcel-template\",\n name: \"Update Default Parcel Template\",\n description: \"Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.\",\n input: ShippoUpdateDefaultParcelTemplateInput,\n output: ShippoUpdateDefaultParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CAC7K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC9K,CAAC;AACD,MAAM,0DAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,wBAAwB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CA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AAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,QAAQ,6DAA6D,SAAS,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-default-parcel-template.mjs","names":[],"sources":["../../src/actions/update-default-parcel-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoUpdateDefaultParcelTemplateInput = z.object({\n object_id: z.string().describe(\"The unique identifier of the parcel template to set as default. This should be the ID of an existing parcel template in your Shippo account.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"Optional string used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"Token identifying the carrier parcel template\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel\").nullable().optional(),\n api_token: z.string().describe(\"API token for the carrier parcel template\").nullable().optional(),\n provider_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the carrier provider\").nullable().optional(),\n is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Carrier parcel template details.\");\nconst ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({\n name: z.string().describe(\"Name of the parcel template\").nullable().optional(),\n width: z.string().describe(\"Width dimension of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height dimension of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length dimension of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n template: ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel template object\").nullable().optional(),\n is_default: z.boolean().describe(\"Indicates if this is the default parcel template\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for parcel weight (e.g., 'lb' for pounds, 'kg' for kilograms)\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the parcel template object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the parcel template was created\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the parcel template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents the parcel template details.\");\nexport const ShippoUpdateDefaultParcelTemplateOutput = z.object({\n result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response from updating the default parcel template.\");\n\nexport const shippoUpdateDefaultParcelTemplate: AppAction<\n typeof ShippoUpdateDefaultParcelTemplateInput,\n typeof ShippoUpdateDefaultParcelTemplateOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-default-parcel-template\",\n name: \"Update Default Parcel Template\",\n description: \"Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.\",\n input: ShippoUpdateDefaultParcelTemplateInput,\n output: ShippoUpdateDefaultParcelTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CAC7K,sBAAsB,EAAE,OAAO,CAAC,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