@keystrokehq/shippo 0.1.4 → 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 -30
  6. package/dist/actions/create-address.d.cts.map +1 -1
  7. package/dist/actions/create-address.d.mts +3 -30
  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 -57
  14. package/dist/actions/create-batch.d.cts.map +1 -1
  15. package/dist/actions/create-batch.d.mts +3 -57
  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 -43
  22. package/dist/actions/create-carrier-account.d.cts.map +1 -1
  23. package/dist/actions/create-carrier-account.d.mts +3 -43
  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 -26
  30. package/dist/actions/create-customs-item.d.cts.map +1 -1
  31. package/dist/actions/create-customs-item.d.mts +3 -26
  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 -63
  38. package/dist/actions/create-live-rate.d.cts.map +1 -1
  39. package/dist/actions/create-live-rate.d.mts +3 -63
  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 -20
  46. package/dist/actions/create-manifest.d.cts.map +1 -1
  47. package/dist/actions/create-manifest.d.mts +3 -20
  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 -29
  54. package/dist/actions/create-merchant-address.d.cts.map +1 -1
  55. package/dist/actions/create-merchant-address.d.mts +3 -29
  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 -29
  62. package/dist/actions/create-merchant-batch.d.cts.map +1 -1
  63. package/dist/actions/create-merchant-batch.d.mts +5 -29
  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 -45
  70. package/dist/actions/create-merchant-carrier-account.d.cts.map +1 -1
  71. package/dist/actions/create-merchant-carrier-account.d.mts +3 -45
  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 -51
  78. package/dist/actions/create-merchant-customs-declaration.d.cts.map +1 -1
  79. package/dist/actions/create-merchant-customs-declaration.d.mts +4 -51
  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 -28
  86. package/dist/actions/create-merchant-customs-item.d.cts.map +1 -1
  87. package/dist/actions/create-merchant-customs-item.d.mts +4 -28
  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 -63
  94. package/dist/actions/create-merchant-order.d.cts.map +1 -1
  95. package/dist/actions/create-merchant-order.d.mts +3 -63
  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 -38
  102. package/dist/actions/create-merchant-parcel.d.cts.map +1 -1
  103. package/dist/actions/create-merchant-parcel.d.mts +3 -38
  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 -18
  110. package/dist/actions/create-merchant-refund.d.cts.map +1 -1
  111. package/dist/actions/create-merchant-refund.d.mts +3 -18
  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 -81
  118. package/dist/actions/create-merchant-shipment.d.cts.map +1 -1
  119. package/dist/actions/create-merchant-shipment.d.mts +3 -81
  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 +4 -21
  126. package/dist/actions/create-merchant-transaction.d.cts.map +1 -1
  127. package/dist/actions/create-merchant-transaction.d.mts +4 -21
  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 -68
  134. package/dist/actions/create-order.d.cts.map +1 -1
  135. package/dist/actions/create-order.d.mts +3 -68
  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 -36
  142. package/dist/actions/create-parcel.d.cts.map +1 -1
  143. package/dist/actions/create-parcel.d.mts +3 -36
  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 -17
  150. package/dist/actions/create-refund.d.cts.map +1 -1
  151. package/dist/actions/create-refund.d.mts +3 -17
  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 -28
  158. package/dist/actions/create-service-group.d.cts.map +1 -1
  159. package/dist/actions/create-service-group.d.mts +3 -28
  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 -68
  166. package/dist/actions/create-shipment.d.cts.map +1 -1
  167. package/dist/actions/create-shipment.d.mts +3 -68
  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 -18
  174. package/dist/actions/create-track.d.cts.map +1 -1
  175. package/dist/actions/create-track.d.mts +3 -18
  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 +4 -23
  182. package/dist/actions/create-transaction.d.cts.map +1 -1
  183. package/dist/actions/create-transaction.d.mts +4 -23
  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 -18
  190. package/dist/actions/create-user-parcel-template.d.cts.map +1 -1
  191. package/dist/actions/create-user-parcel-template.d.mts +3 -18
  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 -17
  198. package/dist/actions/create-webhook.d.cts.map +1 -1
  199. package/dist/actions/create-webhook.d.mts +3 -17
  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 -15
  206. package/dist/actions/delete-default-parcel-template.d.cts.map +1 -1
  207. package/dist/actions/delete-default-parcel-template.d.mts +3 -15
  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 -16
  214. package/dist/actions/delete-user-parcel-template.d.cts.map +1 -1
  215. package/dist/actions/delete-user-parcel-template.d.mts +3 -16
  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 -16
  222. package/dist/actions/delete-webhook.d.cts.map +1 -1
  223. package/dist/actions/delete-webhook.d.mts +3 -16
  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 -16
  230. package/dist/actions/get-address.d.cts.map +1 -1
  231. package/dist/actions/get-address.d.mts +3 -16
  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 -16
  238. package/dist/actions/get-carrier-account.d.cts.map +1 -1
  239. package/dist/actions/get-carrier-account.d.mts +3 -16
  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 -16
  246. package/dist/actions/get-carrier-parcel-template.d.cts.map +1 -1
  247. package/dist/actions/get-carrier-parcel-template.d.mts +3 -16
  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 -15
  254. package/dist/actions/get-carrier-registration-status.d.cts.map +1 -1
  255. package/dist/actions/get-carrier-registration-status.d.mts +3 -15
  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 -17
  262. package/dist/actions/get-customs-declaration.d.cts.map +1 -1
  263. package/dist/actions/get-customs-declaration.d.mts +3 -17
  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 -17
  270. package/dist/actions/get-customs-item.d.cts.map +1 -1
  271. package/dist/actions/get-customs-item.d.mts +3 -17
  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 -15
  278. package/dist/actions/get-default-parcel-template.d.cts.map +1 -1
  279. package/dist/actions/get-default-parcel-template.d.mts +3 -15
  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 -17
  286. package/dist/actions/get-merchant-address.d.cts.map +1 -1
  287. package/dist/actions/get-merchant-address.d.mts +3 -17
  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 -19
  294. package/dist/actions/get-merchant-batch.d.cts.map +1 -1
  295. package/dist/actions/get-merchant-batch.d.mts +5 -19
  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 -17
  302. package/dist/actions/get-merchant-carrier-account.d.cts.map +1 -1
  303. package/dist/actions/get-merchant-carrier-account.d.mts +3 -17
  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 -17
  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 -17
  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 -18
  318. package/dist/actions/get-merchant-customs-declaration.d.cts.map +1 -1
  319. package/dist/actions/get-merchant-customs-declaration.d.mts +3 -18
  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 -18
  326. package/dist/actions/get-merchant-customs-item.d.cts.map +1 -1
  327. package/dist/actions/get-merchant-customs-item.d.mts +3 -18
  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 -17
  334. package/dist/actions/get-merchant-manifest.d.cts.map +1 -1
  335. package/dist/actions/get-merchant-manifest.d.mts +3 -17
  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 -17
  342. package/dist/actions/get-merchant-order.d.cts.map +1 -1
  343. package/dist/actions/get-merchant-order.d.mts +3 -17
  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 -17
  350. package/dist/actions/get-merchant-parcel.d.cts.map +1 -1
  351. package/dist/actions/get-merchant-parcel.d.mts +3 -17
  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 -17
  358. package/dist/actions/get-merchant-rate.d.cts.map +1 -1
  359. package/dist/actions/get-merchant-rate.d.mts +3 -17
  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 -17
  366. package/dist/actions/get-merchant-refund.d.cts.map +1 -1
  367. package/dist/actions/get-merchant-refund.d.mts +3 -17
  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 -17
  374. package/dist/actions/get-merchant-shipment.d.cts.map +1 -1
  375. package/dist/actions/get-merchant-shipment.d.mts +3 -17
  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 -18
  382. package/dist/actions/get-merchant-track.d.cts.map +1 -1
  383. package/dist/actions/get-merchant-track.d.mts +3 -18
  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 +4 -18
  390. package/dist/actions/get-merchant-transaction.d.cts.map +1 -1
  391. package/dist/actions/get-merchant-transaction.d.mts +4 -18
  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 -16
  398. package/dist/actions/get-merchant.d.cts.map +1 -1
  399. package/dist/actions/get-merchant.d.mts +3 -16
  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 -16
  406. package/dist/actions/get-order.d.cts.map +1 -1
  407. package/dist/actions/get-order.d.mts +3 -16
  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 -16
  414. package/dist/actions/get-parcel.d.cts.map +1 -1
  415. package/dist/actions/get-parcel.d.mts +3 -16
  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 -16
  422. package/dist/actions/get-rate.d.cts.map +1 -1
  423. package/dist/actions/get-rate.d.mts +3 -16
  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 -16
  430. package/dist/actions/get-refund.d.cts.map +1 -1
  431. package/dist/actions/get-refund.d.mts +3 -16
  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 -16
  438. package/dist/actions/get-shipment.d.cts.map +1 -1
  439. package/dist/actions/get-shipment.d.mts +3 -16
  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 -16
  446. package/dist/actions/get-shippo-account.d.cts.map +1 -1
  447. package/dist/actions/get-shippo-account.d.mts +3 -16
  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 -17
  454. package/dist/actions/get-track.d.cts.map +1 -1
  455. package/dist/actions/get-track.d.mts +3 -17
  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 -16
  462. package/dist/actions/get-transaction.d.cts.map +1 -1
  463. package/dist/actions/get-transaction.d.mts +3 -16
  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 -16
  470. package/dist/actions/get-user-parcel-template.d.cts.map +1 -1
  471. package/dist/actions/get-user-parcel-template.d.mts +3 -16
  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 -15
  478. package/dist/actions/get-webhook.d.cts.map +1 -1
  479. package/dist/actions/get-webhook.d.mts +3 -15
  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 -17
  486. package/dist/actions/list-addresses.d.cts.map +1 -1
  487. package/dist/actions/list-addresses.d.mts +3 -17
  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 -17
  494. package/dist/actions/list-carrier-accounts.d.cts.map +1 -1
  495. package/dist/actions/list-carrier-accounts.d.mts +3 -17
  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 -17
  502. package/dist/actions/list-carrier-parcel-templates.d.cts.map +1 -1
  503. package/dist/actions/list-carrier-parcel-templates.d.mts +3 -17
  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 -17
  510. package/dist/actions/list-customs-declarations.d.cts.map +1 -1
  511. package/dist/actions/list-customs-declarations.d.mts +3 -17
  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 -17
  518. package/dist/actions/list-customs-items.d.cts.map +1 -1
  519. package/dist/actions/list-customs-items.d.mts +3 -17
  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 -17
  526. package/dist/actions/list-manifests.d.cts.map +1 -1
  527. package/dist/actions/list-manifests.d.mts +3 -17
  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 -18
  534. package/dist/actions/list-merchant-addresses.d.cts.map +1 -1
  535. package/dist/actions/list-merchant-addresses.d.mts +3 -18
  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 -18
  542. package/dist/actions/list-merchant-carrier-accounts.d.cts.map +1 -1
  543. package/dist/actions/list-merchant-carrier-accounts.d.mts +3 -18
  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 -18
  550. package/dist/actions/list-merchant-customs-declarations.d.cts.map +1 -1
  551. package/dist/actions/list-merchant-customs-declarations.d.mts +3 -18
  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 -18
  558. package/dist/actions/list-merchant-customs-items.d.cts.map +1 -1
  559. package/dist/actions/list-merchant-customs-items.d.mts +3 -18
  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 -18
  566. package/dist/actions/list-merchant-manifests.d.cts.map +1 -1
  567. package/dist/actions/list-merchant-manifests.d.mts +3 -18
  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 -18
  574. package/dist/actions/list-merchant-parcels.d.cts.map +1 -1
  575. package/dist/actions/list-merchant-parcels.d.mts +3 -18
  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 -20
  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 -20
  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 -18
  590. package/dist/actions/list-merchant-shipments.d.cts.map +1 -1
  591. package/dist/actions/list-merchant-shipments.d.mts +3 -18
  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 -18
  598. package/dist/actions/list-merchant-transactions.d.cts.map +1 -1
  599. package/dist/actions/list-merchant-transactions.d.mts +3 -18
  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 -17
  606. package/dist/actions/list-merchants.d.cts.map +1 -1
  607. package/dist/actions/list-merchants.d.mts +3 -17
  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 -17
  614. package/dist/actions/list-orders.d.cts.map +1 -1
  615. package/dist/actions/list-orders.d.mts +3 -17
  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 -16
  622. package/dist/actions/list-refunds.d.cts.map +1 -1
  623. package/dist/actions/list-refunds.d.mts +3 -16
  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 -15
  630. package/dist/actions/list-service-groups.d.cts.map +1 -1
  631. package/dist/actions/list-service-groups.d.mts +3 -15
  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 -19
  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 -19
  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 -18
  646. package/dist/actions/list-shipment-rates.d.cts.map +1 -1
  647. package/dist/actions/list-shipment-rates.d.mts +3 -18
  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 -17
  654. package/dist/actions/list-shipments.d.cts.map +1 -1
  655. package/dist/actions/list-shipments.d.mts +3 -17
  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 -15
  662. package/dist/actions/list-shippo-accounts.d.cts.map +1 -1
  663. package/dist/actions/list-shippo-accounts.d.mts +3 -15
  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 -15
  670. package/dist/actions/list-user-parcel-templates.d.cts.map +1 -1
  671. package/dist/actions/list-user-parcel-templates.d.mts +3 -15
  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 -17
  678. package/dist/actions/purchase-merchant-batch.d.cts.map +1 -1
  679. package/dist/actions/purchase-merchant-batch.d.mts +3 -17
  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 -18
  686. package/dist/actions/remove-shipments-from-batch.d.cts.map +1 -1
  687. package/dist/actions/remove-shipments-from-batch.d.mts +3 -18
  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 -20
  694. package/dist/actions/update-carrier-account.d.cts.map +1 -1
  695. package/dist/actions/update-carrier-account.d.mts +3 -20
  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 -16
  702. package/dist/actions/update-default-parcel-template.d.cts.map +1 -1
  703. package/dist/actions/update-default-parcel-template.d.mts +3 -16
  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 -44
  710. package/dist/actions/update-merchant-carrier-account.d.cts.map +1 -1
  711. package/dist/actions/update-merchant-carrier-account.d.mts +3 -44
  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 -20
  718. package/dist/actions/update-merchant.d.cts.map +1 -1
  719. package/dist/actions/update-merchant.d.mts +3 -20
  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 -29
  726. package/dist/actions/update-service-group.d.cts.map +1 -1
  727. package/dist/actions/update-service-group.d.mts +3 -29
  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 -19
  734. package/dist/actions/update-user-parcel-template.d.cts.map +1 -1
  735. package/dist/actions/update-user-parcel-template.d.mts +3 -19
  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 -19
  742. package/dist/actions/update-webhook.d.cts.map +1 -1
  743. package/dist/actions/update-webhook.d.mts +3 -19
  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 -16
  750. package/dist/actions/validate-address.d.cts.map +1 -1
  751. package/dist/actions/validate-address.d.mts +3 -16
  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 -17
  758. package/dist/actions/validate-merchant-address.d.cts.map +1 -1
  759. package/dist/actions/validate-merchant-address.d.mts +3 -17
  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 +2 -2
  764. package/dist/app.cjs.map +1 -1
  765. package/dist/app.d.cts +4 -6
  766. package/dist/app.d.cts.map +1 -1
  767. package/dist/app.d.mts +4 -6
  768. package/dist/app.d.mts.map +1 -1
  769. package/dist/app.mjs +0 -1
  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-refunds.mjs","names":[],"sources":["../../src/actions/list-refunds.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListRefundsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed). Use to navigate through multiple pages of results.\").optional(),\n results: z.number().int().describe(\"Number of refund records to return per page (default 10). Controls page size for pagination.\").optional(),\n}).describe(\"Request parameters for listing refunds from Shippo API.\");\nconst ShippoListRefunds_RefundSchema = z.object({\n status: z.string().describe(\"Current status of the refund. QUEUED: being processed, PENDING: waiting for tracking data (up to 14 days), ERROR: rejected/shipment was used, SUCCESS: accepted/will be credited\").nullable(),\n object_id: z.string().describe(\"Unique identifier for the refund object\").nullable(),\n transaction: z.string().describe(\"Transaction ID of the shipping label being refunded\").nullable(),\n object_owner: z.string().describe(\"Email address of the account owner who created the refund\").nullable(),\n object_created: z.string().describe(\"Timestamp when the refund request was created (ISO8601 format)\").nullable(),\n object_updated: z.string().describe(\"Timestamp when the refund object was last updated (ISO8601 format)\").nullable(),\n}).passthrough().describe(\"Represents a single refund object from Shippo API.\");\nexport const ShippoListRefundsOutput = z.object({\n next: z.string().describe(\"URL to the next page of results, or null if no next page\").nullable().optional(),\n count: z.number().int().describe(\"Total number of refund items (deprecated, no longer returned by API)\").nullable().optional(),\n results: z.array(ShippoListRefunds_RefundSchema).describe(\"List of refund objects in the current page\").nullable().optional(),\n previous: z.string().describe(\"URL to the previous page of results, or null if no previous page\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing refunds with pagination support.\");\n\nexport const shippoListRefunds = action(\"SHIPPO_LIST_REFUNDS\", {\n slug: \"shippo-list-refunds\",\n name: \"List Refunds\",\n description: \"Tool to retrieve a list of all refunds from Shippo. Use when you need to view refund history, check refund statuses, or audit reimbursements for unused shipping labels. Supports pagination for large result sets.\",\n input: ShippoListRefundsInput,\n output: ShippoListRefundsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACvI,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CACzN,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAQ9E,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-refunds.mjs","names":[],"sources":["../../src/actions/list-refunds.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 ShippoListRefundsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed). Use to navigate through multiple pages of results.\").optional(),\n results: z.number().int().describe(\"Number of refund records to return per page (default 10). Controls page size for pagination.\").optional(),\n}).describe(\"Request parameters for listing refunds from Shippo API.\");\nconst ShippoListRefunds_RefundSchema = z.object({\n status: z.string().describe(\"Current status of the refund. QUEUED: being processed, PENDING: waiting for tracking data (up to 14 days), ERROR: rejected/shipment was used, SUCCESS: accepted/will be credited\").nullable(),\n object_id: z.string().describe(\"Unique identifier for the refund object\").nullable(),\n transaction: z.string().describe(\"Transaction ID of the shipping label being refunded\").nullable(),\n object_owner: z.string().describe(\"Email address of the account owner who created the refund\").nullable(),\n object_created: z.string().describe(\"Timestamp when the refund request was created (ISO8601 format)\").nullable(),\n object_updated: z.string().describe(\"Timestamp when the refund object was last updated (ISO8601 format)\").nullable(),\n}).passthrough().describe(\"Represents a single refund object from Shippo API.\");\nexport const ShippoListRefundsOutput = z.object({\n next: z.string().describe(\"URL to the next page of results, or null if no next page\").nullable().optional(),\n count: z.number().int().describe(\"Total number of refund items (deprecated, no longer returned by API)\").nullable().optional(),\n results: z.array(ShippoListRefunds_RefundSchema).describe(\"List of refund objects in the current page\").nullable().optional(),\n previous: z.string().describe(\"URL to the previous page of results, or null if no previous page\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing refunds with pagination support.\");\n\nexport const shippoListRefunds: AppAction<\n typeof ShippoListRefundsInput,\n typeof ShippoListRefundsOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_REFUNDS\", {\n slug: \"shippo-list-refunds\",\n name: \"List Refunds\",\n description: \"Tool to retrieve a list of all refunds from Shippo. Use when you need to view refund history, check refund statuses, or audit reimbursements for unused shipping labels. Supports pagination for large result sets.\",\n input: ShippoListRefundsInput,\n output: ShippoListRefundsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACvI,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CACzN,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAQ9E,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;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/list-service-groups.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-service-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListServiceGroupsInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoListServiceGroups_ServiceLevelSchema = z.object({\n account_object_id: z.string().describe(\"The object ID of the carrier account.\").nullable().optional(),\n service_level_token: z.string().describe(\"The specific service level token (e.g., 'ups_next_day_air_saver', 'usps_priority').\").nullable().optional(),\n}).passthrough();\nconst ShippoListServiceGroups_ServiceGroupSchema = z.object({\n name: z.string().describe(\"Name of the service group.\").nullable(),\n type: z.string().describe(\"Type of the service group (e.g., LIVE_RATE, FLAT_RATE, FREE_SHIPPING).\").nullable(),\n flat_rate: z.string().describe(\"Flat rate amount for the service group, if applicable.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the service group is currently active.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the service group.\").nullable(),\n description: z.string().describe(\"Description of the service group.\").nullable(),\n service_levels: z.array(ShippoListServiceGroups_ServiceLevelSchema).describe(\"List of service levels included in this service group, each containing carrier account ID and service level token.\"),\n rate_adjustment: z.number().int().describe(\"Rate adjustment percentage applied to this service group.\").nullable().optional(),\n flat_rate_currency: z.string().describe(\"Currency for the flat rate, if applicable.\").nullable().optional(),\n free_shipping_threshold_min: z.string().describe(\"Minimum order value for free shipping, if applicable.\").nullable().optional(),\n free_shipping_threshold_currency: z.string().describe(\"Currency for the free shipping threshold, if applicable.\").nullable().optional(),\n}).passthrough();\nexport const ShippoListServiceGroupsOutput = z.object({\n service_groups: z.array(ShippoListServiceGroups_ServiceGroupSchema).describe(\"List of all service groups configured for the account.\"),\n}).passthrough();\n\nexport const shippoListServiceGroups = action(\"SHIPPO_LIST_SERVICE_GROUPS\", {\n slug: \"shippo-list-service-groups\",\n name: \"List Service Groups\",\n description: \"Tool to retrieve all service groups configured in Shippo. Use when you need to view available shipping service groups, their configurations, rates, and service levels.\",\n input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CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,gBAAgBA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wDAAwD,EACvI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-service-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-service-groups.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 ShippoListServiceGroupsInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoListServiceGroups_ServiceLevelSchema = z.object({\n account_object_id: z.string().describe(\"The object ID of the carrier account.\").nullable().optional(),\n service_level_token: z.string().describe(\"The specific service level token (e.g., 'ups_next_day_air_saver', 'usps_priority').\").nullable().optional(),\n}).passthrough();\nconst ShippoListServiceGroups_ServiceGroupSchema = z.object({\n name: z.string().describe(\"Name of the service group.\").nullable(),\n type: z.string().describe(\"Type of the service group (e.g., LIVE_RATE, FLAT_RATE, FREE_SHIPPING).\").nullable(),\n flat_rate: z.string().describe(\"Flat rate amount for the service group, if applicable.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the service group is currently active.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the service group.\").nullable(),\n description: z.string().describe(\"Description of the service group.\").nullable(),\n service_levels: z.array(ShippoListServiceGroups_ServiceLevelSchema).describe(\"List of service levels included in this service group, each containing carrier account ID and service level token.\"),\n rate_adjustment: z.number().int().describe(\"Rate adjustment percentage applied to this service group.\").nullable().optional(),\n flat_rate_currency: z.string().describe(\"Currency for the flat rate, if applicable.\").nullable().optional(),\n free_shipping_threshold_min: z.string().describe(\"Minimum order value for free shipping, if applicable.\").nullable().optional(),\n free_shipping_threshold_currency: z.string().describe(\"Currency for the free shipping threshold, if applicable.\").nullable().optional(),\n}).passthrough();\nexport const ShippoListServiceGroupsOutput = z.object({\n service_groups: z.array(ShippoListServiceGroups_ServiceGroupSchema).describe(\"List of all service groups configured for the account.\"),\n}).passthrough();\n\nexport const shippoListServiceGroups: AppAction<\n typeof ShippoListServiceGroupsInput,\n typeof ShippoListServiceGroupsOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_SERVICE_GROUPS\", {\n slug: \"shippo-list-service-groups\",\n name: \"List Service Groups\",\n description: \"Tool to retrieve all service groups configured in Shippo. Use when you need to view available shipping service groups, their configurations, rates, and service levels.\",\n input: ShippoListServiceGroupsInput,\n output: ShippoListServiceGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,EACnK,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MA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ACP,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/list-service-groups.d.ts
@@ -22,21 +24,7 @@ declare const ShippoListServiceGroupsOutput: z.ZodObject<{
22
24
  free_shipping_threshold_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const shippoListServiceGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- shippo_api_version?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- accessToken: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- accessToken: z.ZodString;
39
- }, z.core.$strip>>]>;
27
+ declare const shippoListServiceGroups: AppAction<typeof ShippoListServiceGroupsInput, typeof ShippoListServiceGroupsOutput, typeof shippo.credential>;
40
28
  //#endregion
41
29
  export { shippoListServiceGroups };
42
30
  //# sourceMappingURL=list-service-groups.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-groups.d.cts","names":[],"sources":["../../src/actions/list-service-groups.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"list-service-groups.d.cts","names":[],"sources":["../../src/actions/list-service-groups.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/list-service-groups.d.ts
@@ -22,21 +24,7 @@ declare const ShippoListServiceGroupsOutput: z.ZodObject<{
22
24
  free_shipping_threshold_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const shippoListServiceGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- shippo_api_version?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- accessToken: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- accessToken: z.ZodString;
39
- }, z.core.$strip>>]>;
27
+ declare const shippoListServiceGroups: AppAction<typeof ShippoListServiceGroupsInput, typeof ShippoListServiceGroupsOutput, typeof shippo.credential>;
40
28
  //#endregion
41
29
  export { shippoListServiceGroups };
42
30
  //# sourceMappingURL=list-service-groups.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-groups.d.mts","names":[],"sources":["../../src/actions/list-service-groups.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"list-service-groups.d.mts","names":[],"sources":["../../src/actions/list-service-groups.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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-service-groups.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-groups.mjs","names":[],"sources":["../../src/actions/list-service-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListServiceGroupsInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoListServiceGroups_ServiceLevelSchema = z.object({\n account_object_id: z.string().describe(\"The object ID of the carrier account.\").nullable().optional(),\n service_level_token: z.string().describe(\"The specific service level token (e.g., 'ups_next_day_air_saver', 'usps_priority').\").nullable().optional(),\n}).passthrough();\nconst ShippoListServiceGroups_ServiceGroupSchema = z.object({\n name: z.string().describe(\"Name of the service group.\").nullable(),\n type: z.string().describe(\"Type of the service group (e.g., LIVE_RATE, FLAT_RATE, FREE_SHIPPING).\").nullable(),\n flat_rate: z.string().describe(\"Flat rate amount for the service group, if applicable.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the service group is currently active.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the service group.\").nullable(),\n description: z.string().describe(\"Description of the service group.\").nullable(),\n service_levels: z.array(ShippoListServiceGroups_ServiceLevelSchema).describe(\"List of service levels included in this service group, each containing carrier account ID and service level token.\"),\n rate_adjustment: z.number().int().describe(\"Rate adjustment percentage applied to this service group.\").nullable().optional(),\n flat_rate_currency: z.string().describe(\"Currency for the flat rate, if applicable.\").nullable().optional(),\n free_shipping_threshold_min: z.string().describe(\"Minimum order value for free shipping, if applicable.\").nullable().optional(),\n free_shipping_threshold_currency: z.string().describe(\"Currency for the free shipping threshold, if applicable.\").nullable().optional(),\n}).passthrough();\nexport const ShippoListServiceGroupsOutput = z.object({\n service_groups: z.array(ShippoListServiceGroups_ServiceGroupSchema).describe(\"List of all service groups configured for the account.\"),\n}).passthrough();\n\nexport const shippoListServiceGroups = action(\"SHIPPO_LIST_SERVICE_GROUPS\", {\n slug: \"shippo-list-service-groups\",\n name: \"List Service Groups\",\n description: \"Tool to retrieve all service groups configured in Shippo. Use when you need to view available shipping service groups, their configurations, rates, and service levels.\",\n input: ShippoListServiceGroupsInput,\n output: ShippoListServiceGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,EACnK,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,gBAAgB,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oHAAoH;CACjM,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,kCAAkC,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,gBAAgB,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wDAAwD,EACvI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-service-groups.mjs","names":[],"sources":["../../src/actions/list-service-groups.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 ShippoListServiceGroupsInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoListServiceGroups_ServiceLevelSchema = z.object({\n account_object_id: z.string().describe(\"The object ID of the carrier account.\").nullable().optional(),\n service_level_token: z.string().describe(\"The specific service level token (e.g., 'ups_next_day_air_saver', 'usps_priority').\").nullable().optional(),\n}).passthrough();\nconst ShippoListServiceGroups_ServiceGroupSchema = z.object({\n name: z.string().describe(\"Name of the service group.\").nullable(),\n type: z.string().describe(\"Type of the service group (e.g., LIVE_RATE, FLAT_RATE, FREE_SHIPPING).\").nullable(),\n flat_rate: z.string().describe(\"Flat rate amount for the service group, if applicable.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the service group is currently active.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the service group.\").nullable(),\n description: z.string().describe(\"Description of the service group.\").nullable(),\n service_levels: z.array(ShippoListServiceGroups_ServiceLevelSchema).describe(\"List of service levels included in this service group, each containing carrier account ID and service level token.\"),\n rate_adjustment: z.number().int().describe(\"Rate adjustment percentage applied to this service group.\").nullable().optional(),\n flat_rate_currency: z.string().describe(\"Currency for the flat rate, if applicable.\").nullable().optional(),\n free_shipping_threshold_min: z.string().describe(\"Minimum order value for free shipping, if applicable.\").nullable().optional(),\n free_shipping_threshold_currency: z.string().describe(\"Currency for the free shipping threshold, if applicable.\").nullable().optional(),\n}).passthrough();\nexport const ShippoListServiceGroupsOutput = z.object({\n service_groups: z.array(ShippoListServiceGroups_ServiceGroupSchema).describe(\"List of all service groups configured for the account.\"),\n}).passthrough();\n\nexport const shippoListServiceGroups: AppAction<\n typeof ShippoListServiceGroupsInput,\n typeof ShippoListServiceGroupsOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_SERVICE_GROUPS\", {\n slug: \"shippo-list-service-groups\",\n name: \"List Service Groups\",\n description: \"Tool to retrieve all service groups configured in Shippo. Use when you need to view available shipping service groups, their configurations, rates, and service levels.\",\n input: ShippoListServiceGroupsInput,\n output: ShippoListServiceGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,EACnK,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,mBAAmB,EAA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2C,EAAE,OAAO,EACpD,gBAAgB,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wDAAwD,EACvI,CAAC,CAAC,CAAC,YAWO;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/list-shipment-rates-by-currency.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-shipment-rates-by-currency.cjs","names":["z","action"],"sources":["../../src/actions/list-shipment-rates-by-currency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListShipmentRatesByCurrencyInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n ShipmentId: z.string().describe(\"Object ID of the shipment to retrieve rates for\"),\n CurrencyCode: z.string().describe(\"ISO currency code to filter rates by (e.g., USD, EUR, GBP)\"),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing shipment rates filtered by currency code.\");\nconst ShippoListShipmentRatesByCurrency_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoListShipmentRatesByCurrency_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoListShipmentRatesByCurrency_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nconst ShippoListShipmentRatesByCurrency_ShipmentRateSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n messages: z.array(ShippoListShipmentRatesByCurrency_MessageObjectSchema).describe(\"An array containing message objects with code and text information\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'\").nullable().optional(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object\").nullable().optional(),\n arrives_by: z.string().describe(\"Estimated arrival time information\").nullable().optional(),\n attributes: z.array(ShippoListShipmentRatesByCurrency_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\").nullable().optional(),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the rate object\").nullable().optional(),\n servicelevel: ShippoListShipmentRatesByCurrency_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px\").nullable().optional(),\n}).passthrough().describe(\"Rate object for a shipment.\");\nexport const ShippoListShipmentRatesByCurrencyOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListShipmentRatesByCurrency_ShipmentRateSchema).describe(\"Array of rate objects for the shipment in the specified currency\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of shipment rates filtered by currency.\");\n\nexport const shippoListShipmentRatesByCurrency = action(\"SHIPPO_LIST_SHIPMENT_RATES_BY_CURRENCY\", {\n slug: \"shippo-list-shipment-rates-by-currency\",\n name: \"List Shipment Rates by Currency\",\n description: \"Tool to retrieve available shipping rates for a specific shipment filtered by currency code. Use when you need to compare carrier pricing in a specific currency (e.g., USD, EUR, GBP).\",\n input: ShippoListShipmentRatesByCurrencyInput,\n output: ShippoListShipmentRatesByCurrencyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC9F,oBAAoBA,IAAAA,EAAE,OAAO,C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AS,6KAA6K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7O,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-shipment-rates-by-currency.cjs","names":["z","action"],"sources":["../../src/actions/list-shipment-rates-by-currency.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 ShippoListShipmentRatesByCurrencyInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n ShipmentId: z.string().describe(\"Object ID of the shipment to retrieve rates for\"),\n CurrencyCode: z.string().describe(\"ISO currency code to filter rates by (e.g., USD, EUR, GBP)\"),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing shipment rates filtered by currency code.\");\nconst ShippoListShipmentRatesByCurrency_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoListShipmentRatesByCurrency_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoListShipmentRatesByCurrency_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nconst ShippoListShipmentRatesByCurrency_ShipmentRateSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n messages: z.array(ShippoListShipmentRatesByCurrency_MessageObjectSchema).describe(\"An array containing message objects with code and text information\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'\").nullable().optional(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object\").nullable().optional(),\n arrives_by: z.string().describe(\"Estimated arrival time information\").nullable().optional(),\n attributes: z.array(ShippoListShipmentRatesByCurrency_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\").nullable().optional(),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the rate object\").nullable().optional(),\n servicelevel: ShippoListShipmentRatesByCurrency_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px\").nullable().optional(),\n}).passthrough().describe(\"Rate object for a shipment.\");\nexport const ShippoListShipmentRatesByCurrencyOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListShipmentRatesByCurrency_ShipmentRateSchema).describe(\"Array of rate objects for the shipment in the specified currency\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of shipment rates filtered by currency.\");\n\nexport const shippoListShipmentRatesByCurrency: AppAction<\n typeof ShippoListShipmentRatesByCurrencyInput,\n typeof ShippoListShipmentRatesByCurrencyOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_SHIPMENT_RATES_BY_CURRENCY\", {\n slug: \"shippo-list-shipment-rates-by-currency\",\n name: \"List Shipment Rates by Currency\",\n description: \"Tool to retrieve available shipping rates for a specific shipment filtered by currency code. Use when you need to compare carrier pricing in a specific currency (e.g., USD, EUR, GBP).\",\n input: ShippoListShipmentRatesByCurrencyInput,\n output: ShippoListShipmentRatesByCurrencyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC9F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAA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AAC,SAAS;CACvH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,oCAITC,eAAAA,OAAO,0CAA0C;CACnD,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/list-shipment-rates-by-currency.d.ts
@@ -46,25 +48,7 @@ declare const ShippoListShipmentRatesByCurrencyOutput: z.ZodObject<{
46
48
  }, z.core.$loose>>>>;
47
49
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
50
  }, z.core.$loose>;
49
- declare const shippoListShipmentRatesByCurrency: import("@keystrokehq/action").WorkflowActionDefinition<{
50
- ShipmentId: string;
51
- CurrencyCode: string;
52
- page?: number | undefined;
53
- results?: number | undefined;
54
- SHIPPO_API_VERSION?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- accessToken: z.ZodString;
61
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
62
- connectionId: z.ZodString;
63
- entityId: z.ZodString;
64
- instanceId: z.ZodString;
65
- }, z.core.$strip>, z.ZodObject<{
66
- accessToken: z.ZodString;
67
- }, z.core.$strip>>]>;
51
+ declare const shippoListShipmentRatesByCurrency: AppAction<typeof ShippoListShipmentRatesByCurrencyInput, typeof ShippoListShipmentRatesByCurrencyOutput, typeof shippo.credential>;
68
52
  //#endregion
69
53
  export { shippoListShipmentRatesByCurrency };
70
54
  //# sourceMappingURL=list-shipment-rates-by-currency.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-shipment-rates-by-currency.d.cts","names":[],"sources":["../../src/actions/list-shipment-rates-by-currency.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAwCtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"list-shipment-rates-by-currency.d.cts","names":[],"sources":["../../src/actions/list-shipment-rates-by-currency.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAwCtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMvC,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/list-shipment-rates-by-currency.d.ts
@@ -46,25 +48,7 @@ declare const ShippoListShipmentRatesByCurrencyOutput: z.ZodObject<{
46
48
  }, z.core.$loose>>>>;
47
49
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
50
  }, z.core.$loose>;
49
- declare const shippoListShipmentRatesByCurrency: import("@keystrokehq/action").WorkflowActionDefinition<{
50
- ShipmentId: string;
51
- CurrencyCode: string;
52
- page?: number | undefined;
53
- results?: number | undefined;
54
- SHIPPO_API_VERSION?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- accessToken: z.ZodString;
61
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
62
- connectionId: z.ZodString;
63
- entityId: z.ZodString;
64
- instanceId: z.ZodString;
65
- }, z.core.$strip>, z.ZodObject<{
66
- accessToken: z.ZodString;
67
- }, z.core.$strip>>]>;
51
+ declare const shippoListShipmentRatesByCurrency: AppAction<typeof ShippoListShipmentRatesByCurrencyInput, typeof ShippoListShipmentRatesByCurrencyOutput, typeof shippo.credential>;
68
52
  //#endregion
69
53
  export { shippoListShipmentRatesByCurrency };
70
54
  //# sourceMappingURL=list-shipment-rates-by-currency.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-shipment-rates-by-currency.d.mts","names":[],"sources":["../../src/actions/list-shipment-rates-by-currency.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAwCtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"list-shipment-rates-by-currency.d.mts","names":[],"sources":["../../src/actions/list-shipment-rates-by-currency.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAwCtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMvC,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/list-shipment-rates-by-currency.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-shipment-rates-by-currency.mjs","names":[],"sources":["../../src/actions/list-shipment-rates-by-currency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListShipmentRatesByCurrencyInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n ShipmentId: z.string().describe(\"Object ID of the shipment to retrieve rates for\"),\n CurrencyCode: z.string().describe(\"ISO currency code to filter rates by (e.g., USD, EUR, GBP)\"),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing shipment rates filtered by currency code.\");\nconst ShippoListShipmentRatesByCurrency_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoListShipmentRatesByCurrency_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoListShipmentRatesByCurrency_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nconst ShippoListShipmentRatesByCurrency_ShipmentRateSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n messages: z.array(ShippoListShipmentRatesByCurrency_MessageObjectSchema).describe(\"An array containing message objects with code and text information\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'\").nullable().optional(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object\").nullable().optional(),\n arrives_by: z.string().describe(\"Estimated arrival time information\").nullable().optional(),\n attributes: z.array(ShippoListShipmentRatesByCurrency_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\").nullable().optional(),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the rate object\").nullable().optional(),\n servicelevel: ShippoListShipmentRatesByCurrency_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px\").nullable().optional(),\n}).passthrough().describe(\"Rate object for a shipment.\");\nexport const ShippoListShipmentRatesByCurrencyOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListShipmentRatesByCurrency_ShipmentRateSchema).describe(\"Array of rate objects for the shipment in the specified currency\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of shipment rates filtered by currency.\");\n\nexport const shippoListShipmentRatesByCurrency = action(\"SHIPPO_LIST_SHIPMENT_RATES_BY_CURRENCY\", {\n slug: \"shippo-list-shipment-rates-by-currency\",\n name: \"List Shipment Rates by Currency\",\n description: \"Tool to retrieve available shipping rates for a specific shipment filtered by currency code. Use when you need to compare carrier pricing in a specific currency (e.g., USD, EUR, GBP).\",\n input: ShippoListShipmentRatesByCurrencyInput,\n output: ShippoListShipmentRatesByCurrencyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC9F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,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mB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAOvD,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-shipment-rates-by-currency.mjs","names":[],"sources":["../../src/actions/list-shipment-rates-by-currency.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 ShippoListShipmentRatesByCurrencyInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n ShipmentId: z.string().describe(\"Object ID of the shipment to retrieve rates for\"),\n CurrencyCode: z.string().describe(\"ISO currency code to filter rates by (e.g., USD, EUR, GBP)\"),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing shipment rates filtered by currency code.\");\nconst ShippoListShipmentRatesByCurrency_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoListShipmentRatesByCurrency_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoListShipmentRatesByCurrency_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nconst ShippoListShipmentRatesByCurrency_ShipmentRateSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n messages: z.array(ShippoListShipmentRatesByCurrency_MessageObjectSchema).describe(\"An array containing message objects with code and text information\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'\").nullable().optional(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object\").nullable().optional(),\n arrives_by: z.string().describe(\"Estimated arrival time information\").nullable().optional(),\n attributes: z.array(ShippoListShipmentRatesByCurrency_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\").nullable().optional(),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the rate object\").nullable().optional(),\n servicelevel: ShippoListShipmentRatesByCurrency_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px\").nullable().optional(),\n}).passthrough().describe(\"Rate object for a shipment.\");\nexport const ShippoListShipmentRatesByCurrencyOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListShipmentRatesByCurrency_ShipmentRateSchema).describe(\"Array of rate objects for the shipment in the specified currency\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of shipment rates filtered by currency.\");\n\nexport const shippoListShipmentRatesByCurrency: AppAction<\n typeof ShippoListShipmentRatesByCurrencyInput,\n typeof ShippoListShipmentRatesByCurrencyOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_SHIPMENT_RATES_BY_CURRENCY\", {\n slug: \"shippo-list-shipment-rates-by-currency\",\n name: \"List Shipment Rates by Currency\",\n description: \"Tool to retrieve available shipping rates for a specific shipment filtered by currency code. Use when you need to compare carrier pricing in a specific currency (e.g., USD, EUR, GBP).\",\n input: ShippoListShipmentRatesByCurrencyInput,\n output: ShippoListShipmentRatesByCurrencyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC9F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,wDAAwD,EAAE,KAAK;CAAC;CAAa;CAAY;AAAS,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAC/I,MAAM,uDAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8MAA8M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9P,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,C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+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-shipment-rates.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-shipment-rates.cjs","names":["z","action"],"sources":["../../src/actions/list-shipment-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListShipmentRatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n ShipmentId: z.string().describe(\"Object ID of the shipment to retrieve rates for\"),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing shipment rates with pagination.\");\nconst ShippoListShipmentRates_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoListShipmentRates_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoListShipmentRates_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nconst ShippoListShipmentRates_ShipmentRateSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n messages: z.array(ShippoListShipmentRates_MessageObjectSchema).describe(\"An array containing message objects with code and text information\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'\").nullable().optional(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object\").nullable().optional(),\n arrives_by: z.string().describe(\"Estimated arrival time information\").nullable().optional(),\n attributes: z.array(ShippoListShipmentRates_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\").nullable().optional(),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the rate object\").nullable().optional(),\n servicelevel: ShippoListShipmentRates_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px\").nullable().optional(),\n}).passthrough().describe(\"Rate object for a shipment.\");\nexport const ShippoListShipmentRatesOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListShipmentRates_ShipmentRateSchema).describe(\"Array of rate objects for the shipment\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of shipment rates.\");\n\nexport const shippoListShipmentRates = action(\"SHIPPO_LIST_SHIPMENT_RATES\", {\n slug: \"shippo-list-shipment-rates\",\n name: \"List Shipment Rates\",\n description: \"Tool to retrieve available shipping rates for a specific shipment. Use when you need to compare carrier pricing and service options for a shipment.\",\n input: ShippoListShipmentRatesInput,\n output: ShippoListShipmentRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY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S;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-shipment-rates.cjs","names":["z","action"],"sources":["../../src/actions/list-shipment-rates.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 ShippoListShipmentRatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n ShipmentId: z.string().describe(\"Object ID of the shipment to retrieve rates for\"),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing shipment rates with pagination.\");\nconst ShippoListShipmentRates_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoListShipmentRates_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoListShipmentRates_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nconst ShippoListShipmentRates_ShipmentRateSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n messages: z.array(ShippoListShipmentRates_MessageObjectSchema).describe(\"An array containing message objects with code and text information\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'\").nullable().optional(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object\").nullable().optional(),\n arrives_by: z.string().describe(\"Estimated arrival time information\").nullable().optional(),\n attributes: z.array(ShippoListShipmentRates_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\").nullable().optional(),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the rate object\").nullable().optional(),\n servicelevel: ShippoListShipmentRates_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px\").nullable().optional(),\n}).passthrough().describe(\"Rate object for a shipment.\");\nexport const ShippoListShipmentRatesOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListShipmentRates_ShipmentRateSchema).describe(\"Array of rate objects for the shipment\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of shipment rates.\");\n\nexport const shippoListShipmentRates: AppAction<\n typeof ShippoListShipmentRatesInput,\n typeof ShippoListShipmentRatesOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_SHIPMENT_RATES\", {\n slug: \"shippo-list-shipment-rates\",\n name: \"List Shipment Rates\",\n description: \"Tool to retrieve available shipping rates for a specific shipment. Use when you need to compare carrier pricing and service options for a shipment.\",\n input: ShippoListShipmentRatesInput,\n output: ShippoListShipmentRatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC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app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-shipment-rates.d.ts
@@ -45,24 +47,7 @@ declare const ShippoListShipmentRatesOutput: z.ZodObject<{
45
47
  }, z.core.$loose>>>>;
46
48
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
49
  }, z.core.$loose>;
48
- declare const shippoListShipmentRates: import("@keystrokehq/action").WorkflowActionDefinition<{
49
- ShipmentId: string;
50
- page?: number | undefined;
51
- results?: number | undefined;
52
- SHIPPO_API_VERSION?: string | undefined;
53
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- accessToken: z.ZodString;
59
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
60
- connectionId: z.ZodString;
61
- entityId: z.ZodString;
62
- instanceId: z.ZodString;
63
- }, z.core.$strip>, z.ZodObject<{
64
- accessToken: z.ZodString;
65
- }, z.core.$strip>>]>;
50
+ declare const shippoListShipmentRates: AppAction<typeof ShippoListShipmentRatesInput, typeof ShippoListShipmentRatesOutput, typeof shippo.credential>;
66
51
  //#endregion
67
52
  export { shippoListShipmentRates };
68
53
  //# sourceMappingURL=list-shipment-rates.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-shipment-rates.d.cts","names":[],"sources":["../../src/actions/list-shipment-rates.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAuC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"list-shipment-rates.d.cts","names":[],"sources":["../../src/actions/list-shipment-rates.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAuC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/list-shipment-rates.d.ts
@@ -45,24 +47,7 @@ declare const ShippoListShipmentRatesOutput: z.ZodObject<{
45
47
  }, z.core.$loose>>>>;
46
48
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
49
  }, z.core.$loose>;
48
- declare const shippoListShipmentRates: import("@keystrokehq/action").WorkflowActionDefinition<{
49
- ShipmentId: string;
50
- page?: number | undefined;
51
- results?: number | undefined;
52
- SHIPPO_API_VERSION?: string | undefined;
53
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- accessToken: z.ZodString;
59
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
60
- connectionId: z.ZodString;
61
- entityId: z.ZodString;
62
- instanceId: z.ZodString;
63
- }, z.core.$strip>, z.ZodObject<{
64
- accessToken: z.ZodString;
65
- }, z.core.$strip>>]>;
50
+ declare const shippoListShipmentRates: AppAction<typeof ShippoListShipmentRatesInput, typeof ShippoListShipmentRatesOutput, typeof shippo.credential>;
66
51
  //#endregion
67
52
  export { shippoListShipmentRates };
68
53
  //# sourceMappingURL=list-shipment-rates.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-shipment-rates.d.mts","names":[],"sources":["../../src/actions/list-shipment-rates.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAuC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"list-shipment-rates.d.mts","names":[],"sources":["../../src/actions/list-shipment-rates.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAuC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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-shipment-rates.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-shipment-rates.mjs","names":[],"sources":["../../src/actions/list-shipment-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListShipmentRatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n ShipmentId: z.string().describe(\"Object ID of the shipment to retrieve rates for\"),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing shipment rates with pagination.\");\nconst ShippoListShipmentRates_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoListShipmentRates_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoListShipmentRates_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nconst ShippoListShipmentRates_ShipmentRateSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n messages: z.array(ShippoListShipmentRates_MessageObjectSchema).describe(\"An array containing message objects with code and text information\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'\").nullable().optional(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object\").nullable().optional(),\n arrives_by: z.string().describe(\"Estimated arrival time information\").nullable().optional(),\n attributes: z.array(ShippoListShipmentRates_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\").nullable().optional(),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the rate object\").nullable().optional(),\n servicelevel: ShippoListShipmentRates_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px\").nullable().optional(),\n}).passthrough().describe(\"Rate object for a shipment.\");\nexport const ShippoListShipmentRatesOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListShipmentRates_ShipmentRateSchema).describe(\"Array of rate objects for the shipment\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of shipment rates.\");\n\nexport const shippoListShipmentRates = action(\"SHIPPO_LIST_SHIPMENT_RATES\", {\n slug: \"shippo-list-shipment-rates\",\n name: \"List Shipment Rates\",\n description: \"Tool to retrieve available shipping rates for a specific shipment. Use when you need to compare carrier pricing and service options for a shipment.\",\n input: ShippoListShipmentRatesInput,\n output: ShippoListShipmentRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CA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,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAOvD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-shipment-rates.mjs","names":[],"sources":["../../src/actions/list-shipment-rates.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 ShippoListShipmentRatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n ShipmentId: z.string().describe(\"Object ID of the shipment to retrieve rates for\"),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing shipment rates with pagination.\");\nconst ShippoListShipmentRates_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoListShipmentRates_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoListShipmentRates_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nconst ShippoListShipmentRates_ShipmentRateSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n messages: z.array(ShippoListShipmentRates_MessageObjectSchema).describe(\"An array containing message objects with code and text information\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'\").nullable().optional(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object\").nullable().optional(),\n arrives_by: z.string().describe(\"Estimated arrival time information\").nullable().optional(),\n attributes: z.array(ShippoListShipmentRates_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\").nullable().optional(),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the rate object\").nullable().optional(),\n servicelevel: ShippoListShipmentRates_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px\").nullable().optional(),\n}).passthrough().describe(\"Rate object for a shipment.\");\nexport const ShippoListShipmentRatesOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListShipmentRates_ShipmentRateSchema).describe(\"Array of rate objects for the shipment\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of shipment rates.\");\n\nexport const shippoListShipmentRates: AppAction<\n typeof ShippoListShipmentRatesInput,\n typeof ShippoListShipmentRatesOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_SHIPMENT_RATES\", {\n slug: \"shippo-list-shipment-rates\",\n name: \"List Shipment Rates\",\n description: \"Tool to retrieve available shipping rates for a specific shipment. Use when you need to compare carrier pricing and service options for a shipment.\",\n input: ShippoListShipmentRatesInput,\n output: ShippoListShipmentRatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,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AAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7O,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAOvD,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,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/list-shipments.ts