@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,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/get-default-parcel-template.d.ts
@@ -20,21 +22,7 @@ declare const ShippoGetDefaultParcelTemplateOutput: z.ZodObject<{
20
22
  object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>>>;
22
24
  }, z.core.$loose>;
23
- declare const shippoGetDefaultParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- shippo_api_version?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- accessToken: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- accessToken: z.ZodString;
37
- }, z.core.$strip>>]>;
25
+ declare const shippoGetDefaultParcelTemplate: AppAction<typeof ShippoGetDefaultParcelTemplateInput, typeof ShippoGetDefaultParcelTemplateOutput, typeof shippo.credential>;
38
26
  //#endregion
39
27
  export { shippoGetDefaultParcelTemplate };
40
28
  //# sourceMappingURL=get-default-parcel-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-default-parcel-template.d.mts","names":[],"sources":["../../src/actions/get-default-parcel-template.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAiBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-default-parcel-template.d.mts","names":[],"sources":["../../src/actions/get-default-parcel-template.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAiBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-default-parcel-template.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-default-parcel-template.mjs","names":[],"sources":["../../src/actions/get-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetDefaultParcelTemplateInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request schema for retrieving the default parcel template.\");\nconst ShippoGetDefaultParcelTemplate_ParcelTemplateSchema = z.object({\n name: z.string().describe(\"Name of the parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel.\").nullable().optional(),\n template: z.record(z.string(), z.unknown()).describe(\"Carrier parcel template structure containing additional template details.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the object.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms).\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the object.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the object was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Parcel template details.\");\nexport const ShippoGetDefaultParcelTemplateOutput = z.object({\n result: ShippoGetDefaultParcelTemplate_ParcelTemplateSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for the default parcel template.\");\n\nexport const shippoGetDefaultParcelTemplate = action(\"SHIPPO_GET_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-get-default-parcel-template\",\n name: \"Get Default Parcel Template\",\n description: \"Tool to retrieve the current default parcel template for live rates at checkout. Use when you need to view the default parcel dimensions and weight settings.\",\n input: ShippoGetDefaultParcelTemplateInput,\n output: ShippoGetDefaultParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,oBAAoB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AAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AAKpD,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,QAAQ,oDAAoD,SAAS,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-default-parcel-template.mjs","names":[],"sources":["../../src/actions/get-default-parcel-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetDefaultParcelTemplateInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request schema for retrieving the default parcel template.\");\nconst ShippoGetDefaultParcelTemplate_ParcelTemplateSchema = z.object({\n name: z.string().describe(\"Name of the parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel.\").nullable().optional(),\n template: z.record(z.string(), z.unknown()).describe(\"Carrier parcel template structure containing additional template details.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the object.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms).\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the object.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the object was created.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the object was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Parcel template details.\");\nexport const ShippoGetDefaultParcelTemplateOutput = z.object({\n result: ShippoGetDefaultParcelTemplate_ParcelTemplateSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for the default parcel template.\");\n\nexport const shippoGetDefaultParcelTemplate: AppAction<\n typeof ShippoGetDefaultParcelTemplateInput,\n typeof ShippoGetDefaultParcelTemplateOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-get-default-parcel-template\",\n name: \"Get Default Parcel Template\",\n description: \"Tool to retrieve the current default parcel template for live rates at checkout. Use when you need to view the default parcel dimensions and weight settings.\",\n input: ShippoGetDefaultParcelTemplateInput,\n output: ShippoGetDefaultParcelTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AAKpD,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkD,EAAE,OAAO,EAC3D,QAAQ,oDAAoD,SAAS,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-merchant-address.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-address.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant whose address to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant address.\");\nconst ShippoGetMerchantAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Validation message code\").nullable().optional(),\n text: z.string().describe(\"Validation message text\").nullable().optional(),\n type: z.string().describe(\"Type of validation message\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message\").nullable().optional(),\n}).passthrough().describe(\"Model for a single validation message.\");\nconst ShippoGetMerchantAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Whether the address is valid\").nullable().optional(),\n messages: z.array(ShippoGetMerchantAddress_ValidationMessageSchema).describe(\"List of validation messages\").nullable().optional(),\n}).passthrough().describe(\"Model for address validation results.\");\nexport const ShippoGetMerchantAddressOutput = z.object({\n zip: z.string().describe(\"Postal code or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Full name of the person or business at this address\").nullable().optional(),\n email: z.string().describe(\"Contact email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State, province, or region code\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable(),\n street1: z.string().describe(\"Primary street address line\").nullable().optional(),\n street2: z.string().describe(\"Secondary street address line\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string (up to 100 characters)\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the address is complete and ready for use\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the address object\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether the address is residential\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of address object creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last address object update in ISO 8601 format\").nullable().optional(),\n validation_results: ShippoGetMerchantAddress_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant address.\");\n\nexport const shippoGetMerchantAddress = action(\"SHIPPO_GET_MERCHANT_ADDRESS\", {\n slug: \"shippo-get-merchant-address\",\n name: \"Get Merchant Address\",\n description: \"Tool to retrieve a merchant address from Shippo Platform API. Use when you need to get the details of an existing merchant address using merchant ID and address ID.\",\n input: ShippoGetMerchantAddressInput,\n output: ShippoGetMerchantAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACtF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACj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AAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,oBAAoB,iDAAiD,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-address.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-address.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 ShippoGetMerchantAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant whose address to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant address.\");\nconst ShippoGetMerchantAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Validation message code\").nullable().optional(),\n text: z.string().describe(\"Validation message text\").nullable().optional(),\n type: z.string().describe(\"Type of validation message\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message\").nullable().optional(),\n}).passthrough().describe(\"Model for a single validation message.\");\nconst ShippoGetMerchantAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Whether the address is valid\").nullable().optional(),\n messages: z.array(ShippoGetMerchantAddress_ValidationMessageSchema).describe(\"List of validation messages\").nullable().optional(),\n}).passthrough().describe(\"Model for address validation results.\");\nexport const ShippoGetMerchantAddressOutput = z.object({\n zip: z.string().describe(\"Postal code or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Full name of the person or business at this address\").nullable().optional(),\n email: z.string().describe(\"Contact email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State, province, or region code\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable(),\n street1: z.string().describe(\"Primary street address line\").nullable().optional(),\n street2: z.string().describe(\"Secondary street address line\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string (up to 100 characters)\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the address is complete and ready for use\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the address object\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether the address is residential\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of address object creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last address object update in ISO 8601 format\").nullable().optional(),\n validation_results: ShippoGetMerchantAddress_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant address.\");\n\nexport const shippoGetMerchantAddress: AppAction<\n typeof ShippoGetMerchantAddressInput,\n typeof ShippoGetMerchantAddressOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_ADDRESS\", {\n slug: \"shippo-get-merchant-address\",\n name: \"Get Merchant Address\",\n description: \"Tool to retrieve a merchant address from Shippo Platform API. Use when you need to get the details of an existing merchant address using merchant ID and address ID.\",\n input: ShippoGetMer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gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,oBAAoB,iDAAiD,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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/get-merchant-address.d.ts
@@ -34,23 +36,7 @@ declare const ShippoGetMerchantAddressOutput: z.ZodObject<{
34
36
  }, z.core.$loose>>>>;
35
37
  }, z.core.$loose>>>;
36
38
  }, z.core.$loose>;
37
- declare const shippoGetMerchantAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
38
- address_id: string;
39
- merchant_id: string;
40
- shippo_api_version?: string | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
42
- connectionId: z.ZodString;
43
- entityId: z.ZodString;
44
- instanceId: z.ZodString;
45
- }, z.core.$strip>, z.ZodObject<{
46
- accessToken: z.ZodString;
47
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
48
- connectionId: z.ZodString;
49
- entityId: z.ZodString;
50
- instanceId: z.ZodString;
51
- }, z.core.$strip>, z.ZodObject<{
52
- accessToken: z.ZodString;
53
- }, z.core.$strip>>]>;
39
+ declare const shippoGetMerchantAddress: AppAction<typeof ShippoGetMerchantAddressInput, typeof ShippoGetMerchantAddressOutput, typeof shippo.credential>;
54
40
  //#endregion
55
41
  export { shippoGetMerchantAddress };
56
42
  //# sourceMappingURL=get-merchant-address.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-address.d.cts","names":[],"sources":["../../src/actions/get-merchant-address.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqB9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-merchant-address.d.cts","names":[],"sources":["../../src/actions/get-merchant-address.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqB9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/get-merchant-address.d.ts
@@ -34,23 +36,7 @@ declare const ShippoGetMerchantAddressOutput: z.ZodObject<{
34
36
  }, z.core.$loose>>>>;
35
37
  }, z.core.$loose>>>;
36
38
  }, z.core.$loose>;
37
- declare const shippoGetMerchantAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
38
- address_id: string;
39
- merchant_id: string;
40
- shippo_api_version?: string | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
42
- connectionId: z.ZodString;
43
- entityId: z.ZodString;
44
- instanceId: z.ZodString;
45
- }, z.core.$strip>, z.ZodObject<{
46
- accessToken: z.ZodString;
47
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
48
- connectionId: z.ZodString;
49
- entityId: z.ZodString;
50
- instanceId: z.ZodString;
51
- }, z.core.$strip>, z.ZodObject<{
52
- accessToken: z.ZodString;
53
- }, z.core.$strip>>]>;
39
+ declare const shippoGetMerchantAddress: AppAction<typeof ShippoGetMerchantAddressInput, typeof ShippoGetMerchantAddressOutput, typeof shippo.credential>;
54
40
  //#endregion
55
41
  export { shippoGetMerchantAddress };
56
42
  //# sourceMappingURL=get-merchant-address.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-address.d.mts","names":[],"sources":["../../src/actions/get-merchant-address.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqB9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-merchant-address.d.mts","names":[],"sources":["../../src/actions/get-merchant-address.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqB9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/get-merchant-address.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-address.mjs","names":[],"sources":["../../src/actions/get-merchant-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant whose address to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant address.\");\nconst ShippoGetMerchantAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Validation message code\").nullable().optional(),\n text: z.string().describe(\"Validation message text\").nullable().optional(),\n type: z.string().describe(\"Type of validation message\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message\").nullable().optional(),\n}).passthrough().describe(\"Model for a single validation message.\");\nconst ShippoGetMerchantAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Whether the address is valid\").nullable().optional(),\n messages: z.array(ShippoGetMerchantAddress_ValidationMessageSchema).describe(\"List of validation messages\").nullable().optional(),\n}).passthrough().describe(\"Model for address validation results.\");\nexport const ShippoGetMerchantAddressOutput = z.object({\n zip: z.string().describe(\"Postal code or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Full name of the person or business at this address\").nullable().optional(),\n email: z.string().describe(\"Contact email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State, province, or region code\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable(),\n street1: z.string().describe(\"Primary street address line\").nullable().optional(),\n street2: z.string().describe(\"Secondary street address line\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string (up to 100 characters)\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the address is complete and ready for use\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the address object\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether the address is residential\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of address object creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last address object update in ISO 8601 format\").nullable().optional(),\n validation_results: ShippoGetMerchantAddress_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant address.\");\n\nexport const shippoGetMerchantAddress = action(\"SHIPPO_GET_MERCHANT_ADDRESS\", {\n slug: \"shippo-get-merchant-address\",\n name: \"Get Merchant Address\",\n description: \"Tool to retrieve a merchant address from Shippo Platform API. Use when you need to get the details of an existing merchant address using merchant ID and address ID.\",\n input: ShippoGetMerchantAddressInput,\n output: ShippoGetMerchantAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACtF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,mDAAmD,EAAE,OAAO;CAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCA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,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,oBAAoB,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-address.mjs","names":[],"sources":["../../src/actions/get-merchant-address.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 ShippoGetMerchantAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant whose address to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant address.\");\nconst ShippoGetMerchantAddress_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Validation message code\").nullable().optional(),\n text: z.string().describe(\"Validation message text\").nullable().optional(),\n type: z.string().describe(\"Type of validation message\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message\").nullable().optional(),\n}).passthrough().describe(\"Model for a single validation message.\");\nconst ShippoGetMerchantAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Whether the address is valid\").nullable().optional(),\n messages: z.array(ShippoGetMerchantAddress_ValidationMessageSchema).describe(\"List of validation messages\").nullable().optional(),\n}).passthrough().describe(\"Model for address validation results.\");\nexport const ShippoGetMerchantAddressOutput = z.object({\n zip: z.string().describe(\"Postal code or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Full name of the person or business at this address\").nullable().optional(),\n email: z.string().describe(\"Contact email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State, province, or region code\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable(),\n street1: z.string().describe(\"Primary street address line\").nullable().optional(),\n street2: z.string().describe(\"Secondary street address line\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string (up to 100 characters)\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the address is complete and ready for use\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the address object\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether the address is residential\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of address object creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last address object update in ISO 8601 format\").nullable().optional(),\n validation_results: ShippoGetMerchantAddress_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant address.\");\n\nexport const shippoGetMerchantAddress: AppAction<\n typeof ShippoGetMerchantAddressInput,\n typeof ShippoGetMerchantAddressOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_ADDRESS\", {\n slug: \"shippo-get-merchant-address\",\n name: \"Get Merchant Address\",\n description: \"Tool to retrieve a merchant address from Shippo Platform API. Use when you need to get the details of an existing merchant address using merchant ID and address ID.\",\n input: ShippoGetMerchantAddressInput,\n output: ShippoGetMerchantAddressOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,aAAa,EAAE,OAAO,CAAC,C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F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-merchant-batch.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-batch.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant batch.\");\nconst ShippoGetMerchantBatch_BatchStatusSchema = z.enum([\"VALIDATING\", \"VALID\", \"INVALID\", \"PURCHASING\", \"PURCHASED\"]).describe(\"Enum for batch status values.\");\nconst ShippoGetMerchantBatch_LabelFileTypeSchema = z.enum([\"PNG\", \"PNG_2.3x7.5\", \"PDF\", \"PDF_2.3x7.5\", \"PDF_4x6\", \"PDF_4x8\", \"PDF_A4\", \"PDF_A6\", \"ZPLII\"]).describe(\"Enum for label file types.\");\nconst ShippoGetMerchantBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed creation\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed to purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments that were successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments that were successfully purchased\").nullable(),\n}).passthrough().describe(\"Model for batch operation results counts.\");\nconst ShippoGetMerchantBatch_BatchShipmentItemSchema = z.record(z.string(), z.unknown()).describe(\"Model for a single batch shipment item.\");\nconst ShippoGetMerchantBatch_BatchShipmentsSchema = z.object({\n next: z.string().describe(\"URL for the next page of batch shipment results\").nullable().optional(),\n results: z.array(ShippoGetMerchantBatch_BatchShipmentItemSchema).describe(\"Array of BatchShipment objects in the same order as the request array\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of batch shipment results\").nullable().optional(),\n}).passthrough().describe(\"Model for paginated batch shipments.\");\nexport const ShippoGetMerchantBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this is a test batch\").nullable().optional(),\n status: ShippoGetMerchantBatch_BatchStatusSchema.nullable(),\n metadata: z.string().describe(\"Custom metadata string (up to 100 characters) attached to the batch object\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"Array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the batch object\").nullable(),\n label_filetype: ShippoGetMerchantBatch_LabelFileTypeSchema.nullable().optional(),\n object_created: z.string().describe(\"Date and time of batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoGetMerchantBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the batch in ISO 8601 format\").nullable(),\n batch_shipments: ShippoGetMerchantBatch_BatchShipmentsSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the carrier account to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n default_servicelevel_token: z.string().describe(\"Service level token to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n}).passthrough().describe(\"Response model for a merchant batch.\");\n\nexport const shippoGetMerchantBatch = action(\"SHIPPO_GET_MERCHANT_BATCH\", {\n slug: \"shippo-get-merchant-batch\",\n name: \"Get Merchant Batch\",\n description: \"Tool to retrieve a batch for a merchant from the Shippo Platform API. Use when you need to get details of an existing batch using merchant and batch IDs.\",\n input: ShippoGetMerchantBatchInput,\n output: ShippoGetMerchantBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACtD,aAAaA,IAAA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N,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-batch.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant batch.\");\nconst ShippoGetMerchantBatch_BatchStatusSchema = z.enum([\"VALIDATING\", \"VALID\", \"INVALID\", \"PURCHASING\", \"PURCHASED\"]).describe(\"Enum for batch status values.\");\nconst ShippoGetMerchantBatch_LabelFileTypeSchema = z.enum([\"PNG\", \"PNG_2.3x7.5\", \"PDF\", \"PDF_2.3x7.5\", \"PDF_4x6\", \"PDF_4x8\", \"PDF_A4\", \"PDF_A6\", \"ZPLII\"]).describe(\"Enum for label file types.\");\nconst ShippoGetMerchantBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed creation\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed to purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments that were successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments that were successfully purchased\").nullable(),\n}).passthrough().describe(\"Model for batch operation results counts.\");\nconst ShippoGetMerchantBatch_BatchShipmentItemSchema = z.record(z.string(), z.unknown()).describe(\"Model for a single batch shipment item.\");\nconst ShippoGetMerchantBatch_BatchShipmentsSchema = z.object({\n next: z.string().describe(\"URL for the next page of batch shipment results\").nullable().optional(),\n results: z.array(ShippoGetMerchantBatch_BatchShipmentItemSchema).describe(\"Array of BatchShipment objects in the same order as the request array\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of batch shipment results\").nullable().optional(),\n}).passthrough().describe(\"Model for paginated batch shipments.\");\nexport const ShippoGetMerchantBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this is a test batch\").nullable().optional(),\n status: ShippoGetMerchantBatch_BatchStatusSchema.nullable(),\n metadata: z.string().describe(\"Custom metadata string (up to 100 characters) attached to the batch object\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"Array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the batch object\").nullable(),\n label_filetype: ShippoGetMerchantBatch_LabelFileTypeSchema.nullable().optional(),\n object_created: z.string().describe(\"Date and time of batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoGetMerchantBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the batch in ISO 8601 format\").nullable(),\n batch_shipments: ShippoGetMerchantBatch_BatchShipmentsSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the carrier account to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n default_servicelevel_token: z.string().describe(\"Service level token to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n}).passthrough().describe(\"Response model for a merchant batch.\");\n\nexport const shippoGetMerchantBatch: AppAction<\n typeof ShippoGetMerchantBatchInput,\n typeof ShippoGetMerchantBatchOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_BATCH\", {\n slug: \"shippo-get-merchant-batch\",\n name: \"Get Merchant Batch\",\n description: \"Tool to retrieve a batch for a merchant from the Shippo Platform API. Use when you need to get details of an existing batch using merchant and batch IDs.\",\n input: ShippoGetMerchantBatchInput,\n output: ShippoGetMerchantBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACtD,aAAaA,IAAAA,EAAE,OA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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/get-merchant-batch.d.ts
@@ -9,9 +11,9 @@ declare const ShippoGetMerchantBatchInput: z.ZodObject<{
9
11
  declare const ShippoGetMerchantBatchOutput: z.ZodObject<{
10
12
  test: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
13
  status: z.ZodNullable<z.ZodEnum<{
12
- INVALID: "INVALID";
13
- VALID: "VALID";
14
14
  VALIDATING: "VALIDATING";
15
+ VALID: "VALID";
16
+ INVALID: "INVALID";
15
17
  PURCHASING: "PURCHASING";
16
18
  PURCHASED: "PURCHASED";
17
19
  }>>;
@@ -46,23 +48,7 @@ declare const ShippoGetMerchantBatchOutput: z.ZodObject<{
46
48
  default_carrier_account: z.ZodNullable<z.ZodString>;
47
49
  default_servicelevel_token: z.ZodNullable<z.ZodString>;
48
50
  }, z.core.$loose>;
49
- declare const shippoGetMerchantBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
50
- batch_id: string;
51
- merchant_id: string;
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>>]>;
51
+ declare const shippoGetMerchantBatch: AppAction<typeof ShippoGetMerchantBatchInput, typeof ShippoGetMerchantBatchOutput, typeof shippo.credential>;
66
52
  //#endregion
67
53
  export { shippoGetMerchantBatch };
68
54
  //# sourceMappingURL=get-merchant-batch.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-batch.d.cts","names":[],"sources":["../../src/actions/get-merchant-batch.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-merchant-batch.d.cts","names":[],"sources":["../../src/actions/get-merchant-batch.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/get-merchant-batch.d.ts
@@ -9,9 +11,9 @@ declare const ShippoGetMerchantBatchInput: z.ZodObject<{
9
11
  declare const ShippoGetMerchantBatchOutput: z.ZodObject<{
10
12
  test: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
13
  status: z.ZodNullable<z.ZodEnum<{
12
- INVALID: "INVALID";
13
- VALID: "VALID";
14
14
  VALIDATING: "VALIDATING";
15
+ VALID: "VALID";
16
+ INVALID: "INVALID";
15
17
  PURCHASING: "PURCHASING";
16
18
  PURCHASED: "PURCHASED";
17
19
  }>>;
@@ -46,23 +48,7 @@ declare const ShippoGetMerchantBatchOutput: z.ZodObject<{
46
48
  default_carrier_account: z.ZodNullable<z.ZodString>;
47
49
  default_servicelevel_token: z.ZodNullable<z.ZodString>;
48
50
  }, z.core.$loose>;
49
- declare const shippoGetMerchantBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
50
- batch_id: string;
51
- merchant_id: string;
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>>]>;
51
+ declare const shippoGetMerchantBatch: AppAction<typeof ShippoGetMerchantBatchInput, typeof ShippoGetMerchantBatchOutput, typeof shippo.credential>;
66
52
  //#endregion
67
53
  export { shippoGetMerchantBatch };
68
54
  //# sourceMappingURL=get-merchant-batch.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-batch.d.mts","names":[],"sources":["../../src/actions/get-merchant-batch.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-merchant-batch.d.mts","names":[],"sources":["../../src/actions/get-merchant-batch.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/get-merchant-batch.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-batch.mjs","names":[],"sources":["../../src/actions/get-merchant-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant batch.\");\nconst ShippoGetMerchantBatch_BatchStatusSchema = z.enum([\"VALIDATING\", \"VALID\", \"INVALID\", \"PURCHASING\", \"PURCHASED\"]).describe(\"Enum for batch status values.\");\nconst ShippoGetMerchantBatch_LabelFileTypeSchema = z.enum([\"PNG\", \"PNG_2.3x7.5\", \"PDF\", \"PDF_2.3x7.5\", \"PDF_4x6\", \"PDF_4x8\", \"PDF_A4\", \"PDF_A6\", \"ZPLII\"]).describe(\"Enum for label file types.\");\nconst ShippoGetMerchantBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed creation\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed to purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments that were successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments that were successfully purchased\").nullable(),\n}).passthrough().describe(\"Model for batch operation results counts.\");\nconst ShippoGetMerchantBatch_BatchShipmentItemSchema = z.record(z.string(), z.unknown()).describe(\"Model for a single batch shipment item.\");\nconst ShippoGetMerchantBatch_BatchShipmentsSchema = z.object({\n next: z.string().describe(\"URL for the next page of batch shipment results\").nullable().optional(),\n results: z.array(ShippoGetMerchantBatch_BatchShipmentItemSchema).describe(\"Array of BatchShipment objects in the same order as the request array\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of batch shipment results\").nullable().optional(),\n}).passthrough().describe(\"Model for paginated batch shipments.\");\nexport const ShippoGetMerchantBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this is a test batch\").nullable().optional(),\n status: ShippoGetMerchantBatch_BatchStatusSchema.nullable(),\n metadata: z.string().describe(\"Custom metadata string (up to 100 characters) attached to the batch object\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"Array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the batch object\").nullable(),\n label_filetype: ShippoGetMerchantBatch_LabelFileTypeSchema.nullable().optional(),\n object_created: z.string().describe(\"Date and time of batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoGetMerchantBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the batch in ISO 8601 format\").nullable(),\n batch_shipments: ShippoGetMerchantBatch_BatchShipmentsSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the carrier account to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n default_servicelevel_token: z.string().describe(\"Service level token to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n}).passthrough().describe(\"Response model for a merchant batch.\");\n\nexport const shippoGetMerchantBatch = action(\"SHIPPO_GET_MERCHANT_BATCH\", {\n slug: \"shippo-get-merchant-batch\",\n name: \"Get Merchant Batch\",\n description: \"Tool to retrieve a batch for a merchant from the Shippo Platform API. Use when you need to get details of an existing batch using merchant and batch IDs.\",\n input: ShippoGetMerchantBatchInput,\n output: ShippoGetMerchantBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACtD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC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CACb,OAAO;CACP,QArB0C,EAAE,OAAO;EACnD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,QAAQ,yCAAyC,SAAS;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAChG,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;EAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACnG,gBAAgB,2CAA2C,SAAS;EACpE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC7G,iBAAiB,4CAA4C,SAAS;EACtE,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC1K,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-batch.mjs","names":[],"sources":["../../src/actions/get-merchant-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant batch.\");\nconst ShippoGetMerchantBatch_BatchStatusSchema = z.enum([\"VALIDATING\", \"VALID\", \"INVALID\", \"PURCHASING\", \"PURCHASED\"]).describe(\"Enum for batch status values.\");\nconst ShippoGetMerchantBatch_LabelFileTypeSchema = z.enum([\"PNG\", \"PNG_2.3x7.5\", \"PDF\", \"PDF_2.3x7.5\", \"PDF_4x6\", \"PDF_4x8\", \"PDF_A4\", \"PDF_A6\", \"ZPLII\"]).describe(\"Enum for label file types.\");\nconst ShippoGetMerchantBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed creation\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed to purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments that were successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments that were successfully purchased\").nullable(),\n}).passthrough().describe(\"Model for batch operation results counts.\");\nconst ShippoGetMerchantBatch_BatchShipmentItemSchema = z.record(z.string(), z.unknown()).describe(\"Model for a single batch shipment item.\");\nconst ShippoGetMerchantBatch_BatchShipmentsSchema = z.object({\n next: z.string().describe(\"URL for the next page of batch shipment results\").nullable().optional(),\n results: z.array(ShippoGetMerchantBatch_BatchShipmentItemSchema).describe(\"Array of BatchShipment objects in the same order as the request array\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of batch shipment results\").nullable().optional(),\n}).passthrough().describe(\"Model for paginated batch shipments.\");\nexport const ShippoGetMerchantBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this is a test batch\").nullable().optional(),\n status: ShippoGetMerchantBatch_BatchStatusSchema.nullable(),\n metadata: z.string().describe(\"Custom metadata string (up to 100 characters) attached to the batch object\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"Array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the batch object\").nullable(),\n label_filetype: ShippoGetMerchantBatch_LabelFileTypeSchema.nullable().optional(),\n object_created: z.string().describe(\"Date and time of batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoGetMerchantBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the batch in ISO 8601 format\").nullable(),\n batch_shipments: ShippoGetMerchantBatch_BatchShipmentsSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the carrier account to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n default_servicelevel_token: z.string().describe(\"Service level token to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n}).passthrough().describe(\"Response model for a merchant batch.\");\n\nexport const shippoGetMerchantBatch: AppAction<\n typeof ShippoGetMerchantBatchInput,\n typeof ShippoGetMerchantBatchOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_BATCH\", {\n slug: \"shippo-get-merchant-batch\",\n name: \"Get Merchant Batch\",\n description: \"Tool to retrieve a batch for a merchant from the Shippo Platform API. Use when you need to get details of an existing batch using merchant and batch IDs.\",\n input: ShippoGetMerchantBatchInput,\n output: ShippoGetMerchantBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACtD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAc;CAAS;CAAW;CAAc;AAAW,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC/J,MAAM,6CAA6C,EAAE,KAAK;CAAC;CAAO;CAAe;CAAO;CAAe;CAAW;CAAW;CAAU;CAAU;AAAO,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAChM,MAAM,6CAA6C,EAAE,OAA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,CAAC,SAAS,iEAAiE;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAChG,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;EAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACnG,gBAAgB,2CAA2C,SAAS;EACpE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC7G,iBAAiB,4CAA4C,SAAS;EACtE,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC1K,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-merchant-carrier-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-carrier-account.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierAccountInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant whose carrier account to retrieve.\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use.\").optional(),\n}).describe(\"Request model for retrieving a carrier account for a merchant (Platform API).\");\nconst ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema = z.object({\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Mr, Ms, Mrs, Mx).\").nullable().optional(),\n company: z.string().describe(\"Company name. Full name is acceptable if no company name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the account holder.\").nullable().optional(),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address.\").nullable().optional(),\n has_invoice: z.boolean().describe(\"Whether user has been issued an invoice within the required timeframe.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued (yyyymmdd format).\").nullable().optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice value.\").nullable().optional(),\n invoice_value: z.string().describe(\"Invoice value (max 16 digits before decimal, 2 after).\").nullable().optional(),\n account_number: z.string().describe(\"The carrier account number (e.g., UPS account number).\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (ISO2 code).\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true).\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip/postal code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Collection/pickup address country (ISO2 code).\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Billing address street line 1.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Billing address street line 2.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country (ISO2 code).\").nullable().optional(),\n}).passthrough().describe(\"Carrier-specific parameters for the account.\");\nexport const ShippoGetMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode.\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'UPS', 'FedEx').\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account ID. Some fields with sensitive data may be masked (e.g., '****').\").nullable().optional(),\n parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant carrier account.\");\n\nexport const shippoGetMerchantCarrierAccount = action(\"SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-get-merchant-carrier-account\",\n name: \"Get Merchant Carrier Account\",\n description: \"Tool to retrieve a carrier account for a merchant using the Shippo Platform API. Use when you need to get details about a specific carrier account associated with a merchant on the platform.\",\n input: ShippoGetMerchantCarrierAccountInput,\n output: ShippoGetMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC/F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD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AYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,YAAY,+DAA+D,SAAS,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-carrier-account.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantCarrierAccountInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant whose carrier account to retrieve.\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use.\").optional(),\n}).describe(\"Request model for retrieving a carrier account for a merchant (Platform API).\");\nconst ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema = z.object({\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Mr, Ms, Mrs, Mx).\").nullable().optional(),\n company: z.string().describe(\"Company name. Full name is acceptable if no company name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the account holder.\").nullable().optional(),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address.\").nullable().optional(),\n has_invoice: z.boolean().describe(\"Whether user has been issued an invoice within the required timeframe.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued (yyyymmdd format).\").nullable().optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice value.\").nullable().optional(),\n invoice_value: z.string().describe(\"Invoice value (max 16 digits before decimal, 2 after).\").nullable().optional(),\n account_number: z.string().describe(\"The carrier account number (e.g., UPS account number).\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (ISO2 code).\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true).\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip/postal code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Collection/pickup address country (ISO2 code).\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Billing address street line 1.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Billing address street line 2.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country (ISO2 code).\").nullable().optional(),\n}).passthrough().describe(\"Carrier-specific parameters for the account.\");\nexport const ShippoGetMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode.\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'UPS', 'FedEx').\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account ID. Some fields with sensitive data may be masked (e.g., '****').\").nullable().optional(),\n parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant carrier account.\");\n\nexport const shippoGetMerchantCarrierAccount: AppAction<\n typeof ShippoGetMerchantCarrierAccountInput,\n typeof ShippoGetMerchantCarrierAccountOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-get-merchant-carrier-account\",\n name: \"Get Merchant Carrier Account\",\n description: \"Tool to retrieve a carrier account for a merchant using the Shippo Platform API. Use when you need to get details about a specific carrier account associated with a merchant on the platform.\",\n input: ShippoGetMerchantCarrierAccountInput,\n output: ShippoGetMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC/F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CA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A+D,SAAS,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,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/get-merchant-carrier-account.d.ts
@@ -40,23 +42,7 @@ declare const ShippoGetMerchantCarrierAccountOutput: z.ZodObject<{
40
42
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
43
  is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
44
  }, z.core.$loose>;
43
- declare const shippoGetMerchantCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
44
- merchant_id: string;
45
- carrier_account_id: string;
46
- shippo_api_version?: string | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
48
- connectionId: z.ZodString;
49
- entityId: z.ZodString;
50
- instanceId: z.ZodString;
51
- }, z.core.$strip>, z.ZodObject<{
52
- accessToken: z.ZodString;
53
- }, z.core.$strip>>]>, 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>>]>;
45
+ declare const shippoGetMerchantCarrierAccount: AppAction<typeof ShippoGetMerchantCarrierAccountInput, typeof ShippoGetMerchantCarrierAccountOutput, typeof shippo.credential>;
60
46
  //#endregion
61
47
  export { shippoGetMerchantCarrierAccount };
62
48
  //# sourceMappingURL=get-merchant-carrier-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-carrier-account.d.cts","names":[],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cA6BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-merchant-carrier-account.d.cts","names":[],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cA6BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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/get-merchant-carrier-account.d.ts
@@ -40,23 +42,7 @@ declare const ShippoGetMerchantCarrierAccountOutput: z.ZodObject<{
40
42
  object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
43
  is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
44
  }, z.core.$loose>;
43
- declare const shippoGetMerchantCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
44
- merchant_id: string;
45
- carrier_account_id: string;
46
- shippo_api_version?: string | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
48
- connectionId: z.ZodString;
49
- entityId: z.ZodString;
50
- instanceId: z.ZodString;
51
- }, z.core.$strip>, z.ZodObject<{
52
- accessToken: z.ZodString;
53
- }, z.core.$strip>>]>, 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>>]>;
45
+ declare const shippoGetMerchantCarrierAccount: AppAction<typeof ShippoGetMerchantCarrierAccountInput, typeof ShippoGetMerchantCarrierAccountOutput, typeof shippo.credential>;
60
46
  //#endregion
61
47
  export { shippoGetMerchantCarrierAccount };
62
48
  //# sourceMappingURL=get-merchant-carrier-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-carrier-account.d.mts","names":[],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cA6BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-merchant-carrier-account.d.mts","names":[],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cA6BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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/get-merchant-carrier-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-carrier-account.mjs","names":[],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierAccountInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant whose carrier account to retrieve.\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use.\").optional(),\n}).describe(\"Request model for retrieving a carrier account for a merchant (Platform API).\");\nconst ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema = z.object({\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Mr, Ms, Mrs, Mx).\").nullable().optional(),\n company: z.string().describe(\"Company name. Full name is acceptable if no company name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the account holder.\").nullable().optional(),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address.\").nullable().optional(),\n has_invoice: z.boolean().describe(\"Whether user has been issued an invoice within the required timeframe.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued (yyyymmdd format).\").nullable().optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice value.\").nullable().optional(),\n invoice_value: z.string().describe(\"Invoice value (max 16 digits before decimal, 2 after).\").nullable().optional(),\n account_number: z.string().describe(\"The carrier account number (e.g., UPS account number).\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (ISO2 code).\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true).\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip/postal code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Collection/pickup address country (ISO2 code).\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Billing address street line 1.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Billing address street line 2.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country (ISO2 code).\").nullable().optional(),\n}).passthrough().describe(\"Carrier-specific parameters for the account.\");\nexport const ShippoGetMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode.\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'UPS', 'FedEx').\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account ID. Some fields with sensitive data may be masked (e.g., '****').\").nullable().optional(),\n parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant carrier account.\");\n\nexport const shippoGetMerchantCarrierAccount = action(\"SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-get-merchant-carrier-account\",\n name: \"Get Merchant Carrier Account\",\n description: \"Tool to retrieve a carrier account for a merchant using the Shippo Platform API. Use when you need to get details about a specific carrier account associated with a merchant on the platform.\",\n input: ShippoGetMerchantCarrierAccountInput,\n output: ShippoGetMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS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C,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,YAAY,+DAA+D,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-carrier-account.mjs","names":[],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantCarrierAccountInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant whose carrier account to retrieve.\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use.\").optional(),\n}).describe(\"Request model for retrieving a carrier account for a merchant (Platform API).\");\nconst ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema = z.object({\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Mr, Ms, Mrs, Mx).\").nullable().optional(),\n company: z.string().describe(\"Company name. Full name is acceptable if no company name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the account holder.\").nullable().optional(),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address.\").nullable().optional(),\n has_invoice: z.boolean().describe(\"Whether user has been issued an invoice within the required timeframe.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued (yyyymmdd format).\").nullable().optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice value.\").nullable().optional(),\n invoice_value: z.string().describe(\"Invoice value (max 16 digits before decimal, 2 after).\").nullable().optional(),\n account_number: z.string().describe(\"The carrier account number (e.g., UPS account number).\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (ISO2 code).\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true).\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip/postal code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Collection/pickup address country (ISO2 code).\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Billing address street line 1.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Billing address street line 2.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country (ISO2 code).\").nullable().optional(),\n}).passthrough().describe(\"Carrier-specific parameters for the account.\");\nexport const ShippoGetMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode.\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'UPS', 'FedEx').\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account ID. Some fields with sensitive data may be masked (e.g., '****').\").nullable().optional(),\n parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant carrier account.\");\n\nexport const shippoGetMerchantCarrierAccount: AppAction<\n typeof ShippoGetMerchantCarrierAccountInput,\n typeof ShippoGetMerchantCarrierAccountOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-get-merchant-carrier-account\",\n name: \"Get Merchant Carrier Account\",\n description: \"Tool to retrieve a carrier account for a merchant using the Shippo Platform API. Use when you need to get details about a specific carrier account associated with a merchant on the platform.\",\n input: ShippoGetMerchantCarrierAccountInput,\n output: ShippoGetMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,iEAAiE,EAAE,OAAO;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC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CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-merchant-carrier-registration-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-merchant-carrier-registration-status.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-carrier-registration-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierRegistrationStatusInput = z.object({\n carrier: z.enum([\"ups\", \"usps\", \"canada_post\"]).describe(\"The carrier to check registration status for. Must be one of: ups, usps, or canada_post.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the merchant's unique identifier in Shippo's Platform API system.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for retrieving carrier registration status for a merchant.\");\nexport const ShippoGetMerchantCarrierRegistrationStatusOutput = z.object({\n status: z.string().describe(\"Current registration status of the carrier account (e.g., PENDING_TERMS, CONNECTED, DISCONNECTED).\").nullable().optional(),\n object_owner: z.string().describe(\"Email or identifier of the account owner who registered the carrier.\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was last updated.\").nullable().optional(),\n carrier_account: z.string().describe(\"Unique identifier for the carrier account object if registered.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for merchant carrier registration status.\");\n\nexport const shippoGetMerchantCarrierRegistrationStatus = action(\"SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS\", {\n slug: \"shippo-get-merchant-carrier-registration-status\",\n name: \"Get Merchant Carrier Registration Status\",\n description: \"Tool to retrieve carrier registration status for a specific merchant using Shippo's Platform API. Use when you need to check if a merchant has registered or connected a carrier account.\",\n input: ShippoGetMerchantCarrierRegistrationStatusInput,\n output: ShippoGetMerchantCarrierRegistrationStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAa,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACvI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-merchant-carrier-registration-status.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-carrier-registration-status.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 ShippoGetMerchantCarrierRegistrationStatusInput = z.object({\n carrier: z.enum([\"ups\", \"usps\", \"canada_post\"]).describe(\"The carrier to check registration status for. Must be one of: ups, usps, or canada_post.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the merchant's unique identifier in Shippo's Platform API system.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for retrieving carrier registration status for a merchant.\");\nexport const ShippoGetMerchantCarrierRegistrationStatusOutput = z.object({\n status: z.string().describe(\"Current registration status of the carrier account (e.g., PENDING_TERMS, CONNECTED, DISCONNECTED).\").nullable().optional(),\n object_owner: z.string().describe(\"Email or identifier of the account owner who registered the carrier.\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was last updated.\").nullable().optional(),\n carrier_account: z.string().describe(\"Unique identifier for the carrier account object if registered.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for merchant carrier registration status.\");\n\nexport const shippoGetMerchantCarrierRegistrationStatus: AppAction<\n typeof ShippoGetMerchantCarrierRegistrationStatusInput,\n typeof ShippoGetMerchantCarrierRegistrationStatusOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS\", {\n slug: \"shippo-get-merchant-carrier-registration-status\",\n name: \"Get Merchant Carrier Registration Status\",\n description: \"Tool to retrieve carrier registration status for a specific merchant using Shippo's Platform API. Use when you need to check if a merchant has registered or connected a carrier account.\",\n input: ShippoGetMerchantCarrierRegistrationStatusInput,\n output: ShippoGetMerchantCarrierRegistrationStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAa,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACvI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6CAITC,eAAAA,OAAO,mDAAmD;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}