@keystrokehq/shippo 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (763) 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 +15 -15
  4. package/dist/actions/create-address.cjs.map +1 -1
  5. package/dist/actions/create-address.d.cts +67 -3
  6. package/dist/actions/create-address.d.cts.map +1 -1
  7. package/dist/actions/create-address.d.mts +67 -3
  8. package/dist/actions/create-address.d.mts.map +1 -1
  9. package/dist/actions/create-address.mjs +15 -15
  10. package/dist/actions/create-address.mjs.map +1 -1
  11. package/dist/actions/create-batch.cjs +11 -11
  12. package/dist/actions/create-batch.cjs.map +1 -1
  13. package/dist/actions/create-batch.d.cts +108 -3
  14. package/dist/actions/create-batch.d.cts.map +1 -1
  15. package/dist/actions/create-batch.d.mts +108 -3
  16. package/dist/actions/create-batch.d.mts.map +1 -1
  17. package/dist/actions/create-batch.mjs +11 -11
  18. package/dist/actions/create-batch.mjs.map +1 -1
  19. package/dist/actions/create-carrier-account.cjs +4 -4
  20. package/dist/actions/create-carrier-account.cjs.map +1 -1
  21. package/dist/actions/create-carrier-account.d.cts +96 -3
  22. package/dist/actions/create-carrier-account.d.cts.map +1 -1
  23. package/dist/actions/create-carrier-account.d.mts +96 -3
  24. package/dist/actions/create-carrier-account.d.mts.map +1 -1
  25. package/dist/actions/create-carrier-account.mjs +4 -4
  26. package/dist/actions/create-carrier-account.mjs.map +1 -1
  27. package/dist/actions/create-customs-item.cjs +1 -1
  28. package/dist/actions/create-customs-item.cjs.map +1 -1
  29. package/dist/actions/create-customs-item.d.cts +47 -3
  30. package/dist/actions/create-customs-item.d.cts.map +1 -1
  31. package/dist/actions/create-customs-item.d.mts +47 -3
  32. package/dist/actions/create-customs-item.d.mts.map +1 -1
  33. package/dist/actions/create-customs-item.mjs +1 -1
  34. package/dist/actions/create-customs-item.mjs.map +1 -1
  35. package/dist/actions/create-live-rate.cjs +6 -6
  36. package/dist/actions/create-live-rate.cjs.map +1 -1
  37. package/dist/actions/create-live-rate.d.cts +111 -3
  38. package/dist/actions/create-live-rate.d.cts.map +1 -1
  39. package/dist/actions/create-live-rate.d.mts +111 -3
  40. package/dist/actions/create-live-rate.d.mts.map +1 -1
  41. package/dist/actions/create-live-rate.mjs +6 -6
  42. package/dist/actions/create-live-rate.mjs.map +1 -1
  43. package/dist/actions/create-manifest.cjs +10 -10
  44. package/dist/actions/create-manifest.cjs.map +1 -1
  45. package/dist/actions/create-manifest.d.cts +31 -3
  46. package/dist/actions/create-manifest.d.cts.map +1 -1
  47. package/dist/actions/create-manifest.d.mts +31 -3
  48. package/dist/actions/create-manifest.d.mts.map +1 -1
  49. package/dist/actions/create-manifest.mjs +10 -10
  50. package/dist/actions/create-manifest.mjs.map +1 -1
  51. package/dist/actions/create-merchant-address.cjs +3 -3
  52. package/dist/actions/create-merchant-address.cjs.map +1 -1
  53. package/dist/actions/create-merchant-address.d.cts +62 -3
  54. package/dist/actions/create-merchant-address.d.cts.map +1 -1
  55. package/dist/actions/create-merchant-address.d.mts +62 -3
  56. package/dist/actions/create-merchant-address.d.mts.map +1 -1
  57. package/dist/actions/create-merchant-address.mjs +3 -3
  58. package/dist/actions/create-merchant-address.mjs.map +1 -1
  59. package/dist/actions/create-merchant-batch.cjs +16 -16
  60. package/dist/actions/create-merchant-batch.cjs.map +1 -1
  61. package/dist/actions/create-merchant-batch.d.cts +84 -3
  62. package/dist/actions/create-merchant-batch.d.cts.map +1 -1
  63. package/dist/actions/create-merchant-batch.d.mts +84 -3
  64. package/dist/actions/create-merchant-batch.d.mts.map +1 -1
  65. package/dist/actions/create-merchant-batch.mjs +16 -16
  66. package/dist/actions/create-merchant-batch.mjs.map +1 -1
  67. package/dist/actions/create-merchant-carrier-account.cjs +2 -2
  68. package/dist/actions/create-merchant-carrier-account.cjs.map +1 -1
  69. package/dist/actions/create-merchant-carrier-account.d.cts +100 -3
  70. package/dist/actions/create-merchant-carrier-account.d.cts.map +1 -1
  71. package/dist/actions/create-merchant-carrier-account.d.mts +100 -3
  72. package/dist/actions/create-merchant-carrier-account.d.mts.map +1 -1
  73. package/dist/actions/create-merchant-carrier-account.mjs +2 -2
  74. package/dist/actions/create-merchant-carrier-account.mjs.map +1 -1
  75. package/dist/actions/create-merchant-customs-declaration.cjs +2 -2
  76. package/dist/actions/create-merchant-customs-declaration.cjs.map +1 -1
  77. package/dist/actions/create-merchant-customs-declaration.d.cts +122 -3
  78. package/dist/actions/create-merchant-customs-declaration.d.cts.map +1 -1
  79. package/dist/actions/create-merchant-customs-declaration.d.mts +122 -3
  80. package/dist/actions/create-merchant-customs-declaration.d.mts.map +1 -1
  81. package/dist/actions/create-merchant-customs-declaration.mjs +2 -2
  82. package/dist/actions/create-merchant-customs-declaration.mjs.map +1 -1
  83. package/dist/actions/create-merchant-customs-item.cjs +1 -1
  84. package/dist/actions/create-merchant-customs-item.cjs.map +1 -1
  85. package/dist/actions/create-merchant-customs-item.d.cts +62 -3
  86. package/dist/actions/create-merchant-customs-item.d.cts.map +1 -1
  87. package/dist/actions/create-merchant-customs-item.d.mts +62 -3
  88. package/dist/actions/create-merchant-customs-item.d.mts.map +1 -1
  89. package/dist/actions/create-merchant-customs-item.mjs +1 -1
  90. package/dist/actions/create-merchant-customs-item.mjs.map +1 -1
  91. package/dist/actions/create-merchant-order.cjs +5 -5
  92. package/dist/actions/create-merchant-order.cjs.map +1 -1
  93. package/dist/actions/create-merchant-order.d.cts +164 -3
  94. package/dist/actions/create-merchant-order.d.cts.map +1 -1
  95. package/dist/actions/create-merchant-order.d.mts +164 -3
  96. package/dist/actions/create-merchant-order.d.mts.map +1 -1
  97. package/dist/actions/create-merchant-order.mjs +5 -5
  98. package/dist/actions/create-merchant-order.mjs.map +1 -1
  99. package/dist/actions/create-merchant-parcel.cjs +4 -4
  100. package/dist/actions/create-merchant-parcel.cjs.map +1 -1
  101. package/dist/actions/create-merchant-parcel.d.cts +165 -3
  102. package/dist/actions/create-merchant-parcel.d.cts.map +1 -1
  103. package/dist/actions/create-merchant-parcel.d.mts +165 -3
  104. package/dist/actions/create-merchant-parcel.d.mts.map +1 -1
  105. package/dist/actions/create-merchant-parcel.mjs +4 -4
  106. package/dist/actions/create-merchant-parcel.mjs.map +1 -1
  107. package/dist/actions/create-merchant-refund.cjs +1 -1
  108. package/dist/actions/create-merchant-refund.cjs.map +1 -1
  109. package/dist/actions/create-merchant-refund.d.cts +26 -3
  110. package/dist/actions/create-merchant-refund.d.cts.map +1 -1
  111. package/dist/actions/create-merchant-refund.d.mts +26 -3
  112. package/dist/actions/create-merchant-refund.d.mts.map +1 -1
  113. package/dist/actions/create-merchant-refund.mjs +1 -1
  114. package/dist/actions/create-merchant-refund.mjs.map +1 -1
  115. package/dist/actions/create-merchant-shipment.cjs +14 -14
  116. package/dist/actions/create-merchant-shipment.cjs.map +1 -1
  117. package/dist/actions/create-merchant-shipment.d.cts +283 -3
  118. package/dist/actions/create-merchant-shipment.d.cts.map +1 -1
  119. package/dist/actions/create-merchant-shipment.d.mts +283 -3
  120. package/dist/actions/create-merchant-shipment.d.mts.map +1 -1
  121. package/dist/actions/create-merchant-shipment.mjs +14 -14
  122. package/dist/actions/create-merchant-shipment.mjs.map +1 -1
  123. package/dist/actions/create-merchant-transaction.cjs +2 -2
  124. package/dist/actions/create-merchant-transaction.cjs.map +1 -1
  125. package/dist/actions/create-merchant-transaction.d.cts +59 -3
  126. package/dist/actions/create-merchant-transaction.d.cts.map +1 -1
  127. package/dist/actions/create-merchant-transaction.d.mts +59 -3
  128. package/dist/actions/create-merchant-transaction.d.mts.map +1 -1
  129. package/dist/actions/create-merchant-transaction.mjs +2 -2
  130. package/dist/actions/create-merchant-transaction.mjs.map +1 -1
  131. package/dist/actions/create-order.cjs +6 -6
  132. package/dist/actions/create-order.cjs.map +1 -1
  133. package/dist/actions/create-order.d.cts +183 -3
  134. package/dist/actions/create-order.d.cts.map +1 -1
  135. package/dist/actions/create-order.d.mts +183 -3
  136. package/dist/actions/create-order.d.mts.map +1 -1
  137. package/dist/actions/create-order.mjs +6 -6
  138. package/dist/actions/create-order.mjs.map +1 -1
  139. package/dist/actions/create-parcel.cjs +15 -15
  140. package/dist/actions/create-parcel.cjs.map +1 -1
  141. package/dist/actions/create-parcel.d.cts +89 -3
  142. package/dist/actions/create-parcel.d.cts.map +1 -1
  143. package/dist/actions/create-parcel.d.mts +89 -3
  144. package/dist/actions/create-parcel.d.mts.map +1 -1
  145. package/dist/actions/create-parcel.mjs +15 -15
  146. package/dist/actions/create-parcel.mjs.map +1 -1
  147. package/dist/actions/create-refund.cjs +1 -1
  148. package/dist/actions/create-refund.cjs.map +1 -1
  149. package/dist/actions/create-refund.d.cts +24 -3
  150. package/dist/actions/create-refund.d.cts.map +1 -1
  151. package/dist/actions/create-refund.d.mts +24 -3
  152. package/dist/actions/create-refund.d.mts.map +1 -1
  153. package/dist/actions/create-refund.mjs +1 -1
  154. package/dist/actions/create-refund.mjs.map +1 -1
  155. package/dist/actions/create-service-group.cjs +10 -10
  156. package/dist/actions/create-service-group.cjs.map +1 -1
  157. package/dist/actions/create-service-group.d.cts +51 -3
  158. package/dist/actions/create-service-group.d.cts.map +1 -1
  159. package/dist/actions/create-service-group.d.mts +51 -3
  160. package/dist/actions/create-service-group.d.mts.map +1 -1
  161. package/dist/actions/create-service-group.mjs +10 -10
  162. package/dist/actions/create-service-group.mjs.map +1 -1
  163. package/dist/actions/create-shipment.cjs +16 -16
  164. package/dist/actions/create-shipment.cjs.map +1 -1
  165. package/dist/actions/create-shipment.d.cts +224 -3
  166. package/dist/actions/create-shipment.d.cts.map +1 -1
  167. package/dist/actions/create-shipment.d.mts +224 -3
  168. package/dist/actions/create-shipment.d.mts.map +1 -1
  169. package/dist/actions/create-shipment.mjs +16 -16
  170. package/dist/actions/create-shipment.mjs.map +1 -1
  171. package/dist/actions/create-track.cjs +7 -7
  172. package/dist/actions/create-track.cjs.map +1 -1
  173. package/dist/actions/create-track.d.cts +66 -3
  174. package/dist/actions/create-track.d.cts.map +1 -1
  175. package/dist/actions/create-track.d.mts +66 -3
  176. package/dist/actions/create-track.d.mts.map +1 -1
  177. package/dist/actions/create-track.mjs +7 -7
  178. package/dist/actions/create-track.mjs.map +1 -1
  179. package/dist/actions/create-transaction.cjs +3 -3
  180. package/dist/actions/create-transaction.cjs.map +1 -1
  181. package/dist/actions/create-transaction.d.cts +58 -3
  182. package/dist/actions/create-transaction.d.cts.map +1 -1
  183. package/dist/actions/create-transaction.d.mts +58 -3
  184. package/dist/actions/create-transaction.d.mts.map +1 -1
  185. package/dist/actions/create-transaction.mjs +3 -3
  186. package/dist/actions/create-transaction.mjs.map +1 -1
  187. package/dist/actions/create-user-parcel-template.cjs +2 -2
  188. package/dist/actions/create-user-parcel-template.cjs.map +1 -1
  189. package/dist/actions/create-user-parcel-template.d.cts +35 -3
  190. package/dist/actions/create-user-parcel-template.d.cts.map +1 -1
  191. package/dist/actions/create-user-parcel-template.d.mts +35 -3
  192. package/dist/actions/create-user-parcel-template.d.mts.map +1 -1
  193. package/dist/actions/create-user-parcel-template.mjs +2 -2
  194. package/dist/actions/create-user-parcel-template.mjs.map +1 -1
  195. package/dist/actions/create-webhook.cjs +8 -8
  196. package/dist/actions/create-webhook.cjs.map +1 -1
  197. package/dist/actions/create-webhook.d.cts +27 -3
  198. package/dist/actions/create-webhook.d.cts.map +1 -1
  199. package/dist/actions/create-webhook.d.mts +27 -3
  200. package/dist/actions/create-webhook.d.mts.map +1 -1
  201. package/dist/actions/create-webhook.mjs +8 -8
  202. package/dist/actions/create-webhook.mjs.map +1 -1
  203. package/dist/actions/delete-default-parcel-template.cjs +1 -1
  204. package/dist/actions/delete-default-parcel-template.cjs.map +1 -1
  205. package/dist/actions/delete-default-parcel-template.d.cts +9 -3
  206. package/dist/actions/delete-default-parcel-template.d.cts.map +1 -1
  207. package/dist/actions/delete-default-parcel-template.d.mts +9 -3
  208. package/dist/actions/delete-default-parcel-template.d.mts.map +1 -1
  209. package/dist/actions/delete-default-parcel-template.mjs +1 -1
  210. package/dist/actions/delete-default-parcel-template.mjs.map +1 -1
  211. package/dist/actions/delete-user-parcel-template.cjs +1 -1
  212. package/dist/actions/delete-user-parcel-template.cjs.map +1 -1
  213. package/dist/actions/delete-user-parcel-template.d.cts +11 -3
  214. package/dist/actions/delete-user-parcel-template.d.cts.map +1 -1
  215. package/dist/actions/delete-user-parcel-template.d.mts +11 -3
  216. package/dist/actions/delete-user-parcel-template.d.mts.map +1 -1
  217. package/dist/actions/delete-user-parcel-template.mjs +1 -1
  218. package/dist/actions/delete-user-parcel-template.mjs.map +1 -1
  219. package/dist/actions/delete-webhook.cjs +1 -1
  220. package/dist/actions/delete-webhook.cjs.map +1 -1
  221. package/dist/actions/delete-webhook.d.cts +11 -3
  222. package/dist/actions/delete-webhook.d.cts.map +1 -1
  223. package/dist/actions/delete-webhook.d.mts +11 -3
  224. package/dist/actions/delete-webhook.d.mts.map +1 -1
  225. package/dist/actions/delete-webhook.mjs +1 -1
  226. package/dist/actions/delete-webhook.mjs.map +1 -1
  227. package/dist/actions/get-address.cjs +5 -5
  228. package/dist/actions/get-address.cjs.map +1 -1
  229. package/dist/actions/get-address.d.cts +39 -3
  230. package/dist/actions/get-address.d.cts.map +1 -1
  231. package/dist/actions/get-address.d.mts +39 -3
  232. package/dist/actions/get-address.d.mts.map +1 -1
  233. package/dist/actions/get-address.mjs +5 -5
  234. package/dist/actions/get-address.mjs.map +1 -1
  235. package/dist/actions/get-carrier-account.cjs +4 -4
  236. package/dist/actions/get-carrier-account.cjs.map +1 -1
  237. package/dist/actions/get-carrier-account.d.cts +19 -3
  238. package/dist/actions/get-carrier-account.d.cts.map +1 -1
  239. package/dist/actions/get-carrier-account.d.mts +19 -3
  240. package/dist/actions/get-carrier-account.d.mts.map +1 -1
  241. package/dist/actions/get-carrier-account.mjs +4 -4
  242. package/dist/actions/get-carrier-account.mjs.map +1 -1
  243. package/dist/actions/get-carrier-parcel-template.cjs +1 -1
  244. package/dist/actions/get-carrier-parcel-template.cjs.map +1 -1
  245. package/dist/actions/get-carrier-parcel-template.d.cts +25 -3
  246. package/dist/actions/get-carrier-parcel-template.d.cts.map +1 -1
  247. package/dist/actions/get-carrier-parcel-template.d.mts +25 -3
  248. package/dist/actions/get-carrier-parcel-template.d.mts.map +1 -1
  249. package/dist/actions/get-carrier-parcel-template.mjs +1 -1
  250. package/dist/actions/get-carrier-parcel-template.mjs.map +1 -1
  251. package/dist/actions/get-carrier-registration-status.cjs +1 -1
  252. package/dist/actions/get-carrier-registration-status.cjs.map +1 -1
  253. package/dist/actions/get-carrier-registration-status.d.cts +14 -3
  254. package/dist/actions/get-carrier-registration-status.d.cts.map +1 -1
  255. package/dist/actions/get-carrier-registration-status.d.mts +14 -3
  256. package/dist/actions/get-carrier-registration-status.d.mts.map +1 -1
  257. package/dist/actions/get-carrier-registration-status.mjs +1 -1
  258. package/dist/actions/get-carrier-registration-status.mjs.map +1 -1
  259. package/dist/actions/get-customs-declaration.cjs +8 -8
  260. package/dist/actions/get-customs-declaration.cjs.map +1 -1
  261. package/dist/actions/get-customs-declaration.d.cts +48 -3
  262. package/dist/actions/get-customs-declaration.d.cts.map +1 -1
  263. package/dist/actions/get-customs-declaration.d.mts +48 -3
  264. package/dist/actions/get-customs-declaration.d.mts.map +1 -1
  265. package/dist/actions/get-customs-declaration.mjs +8 -8
  266. package/dist/actions/get-customs-declaration.mjs.map +1 -1
  267. package/dist/actions/get-customs-item.cjs +8 -8
  268. package/dist/actions/get-customs-item.cjs.map +1 -1
  269. package/dist/actions/get-customs-item.d.cts +29 -3
  270. package/dist/actions/get-customs-item.d.cts.map +1 -1
  271. package/dist/actions/get-customs-item.d.mts +29 -3
  272. package/dist/actions/get-customs-item.d.mts.map +1 -1
  273. package/dist/actions/get-customs-item.mjs +8 -8
  274. package/dist/actions/get-customs-item.mjs.map +1 -1
  275. package/dist/actions/get-default-parcel-template.cjs +2 -2
  276. package/dist/actions/get-default-parcel-template.cjs.map +1 -1
  277. package/dist/actions/get-default-parcel-template.d.cts +22 -3
  278. package/dist/actions/get-default-parcel-template.d.cts.map +1 -1
  279. package/dist/actions/get-default-parcel-template.d.mts +22 -3
  280. package/dist/actions/get-default-parcel-template.d.mts.map +1 -1
  281. package/dist/actions/get-default-parcel-template.mjs +2 -2
  282. package/dist/actions/get-default-parcel-template.mjs.map +1 -1
  283. package/dist/actions/get-merchant-address.cjs +4 -4
  284. package/dist/actions/get-merchant-address.cjs.map +1 -1
  285. package/dist/actions/get-merchant-address.d.cts +38 -3
  286. package/dist/actions/get-merchant-address.d.cts.map +1 -1
  287. package/dist/actions/get-merchant-address.d.mts +38 -3
  288. package/dist/actions/get-merchant-address.d.mts.map +1 -1
  289. package/dist/actions/get-merchant-address.mjs +4 -4
  290. package/dist/actions/get-merchant-address.mjs.map +1 -1
  291. package/dist/actions/get-merchant-batch.cjs +13 -13
  292. package/dist/actions/get-merchant-batch.cjs.map +1 -1
  293. package/dist/actions/get-merchant-batch.d.cts +50 -3
  294. package/dist/actions/get-merchant-batch.d.cts.map +1 -1
  295. package/dist/actions/get-merchant-batch.d.mts +50 -3
  296. package/dist/actions/get-merchant-batch.d.mts.map +1 -1
  297. package/dist/actions/get-merchant-batch.mjs +13 -13
  298. package/dist/actions/get-merchant-batch.mjs.map +1 -1
  299. package/dist/actions/get-merchant-carrier-account.cjs +2 -2
  300. package/dist/actions/get-merchant-carrier-account.cjs.map +1 -1
  301. package/dist/actions/get-merchant-carrier-account.d.cts +44 -3
  302. package/dist/actions/get-merchant-carrier-account.d.cts.map +1 -1
  303. package/dist/actions/get-merchant-carrier-account.d.mts +44 -3
  304. package/dist/actions/get-merchant-carrier-account.d.mts.map +1 -1
  305. package/dist/actions/get-merchant-carrier-account.mjs +2 -2
  306. package/dist/actions/get-merchant-carrier-account.mjs.map +1 -1
  307. package/dist/actions/get-merchant-carrier-registration-status.cjs +1 -1
  308. package/dist/actions/get-merchant-carrier-registration-status.cjs.map +1 -1
  309. package/dist/actions/get-merchant-carrier-registration-status.d.cts +21 -3
  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 +21 -3
  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 -1
  314. package/dist/actions/get-merchant-carrier-registration-status.mjs.map +1 -1
  315. package/dist/actions/get-merchant-customs-declaration.cjs +1 -1
  316. package/dist/actions/get-merchant-customs-declaration.cjs.map +1 -1
  317. package/dist/actions/get-merchant-customs-declaration.d.cts +40 -3
  318. package/dist/actions/get-merchant-customs-declaration.d.cts.map +1 -1
  319. package/dist/actions/get-merchant-customs-declaration.d.mts +40 -3
  320. package/dist/actions/get-merchant-customs-declaration.d.mts.map +1 -1
  321. package/dist/actions/get-merchant-customs-declaration.mjs +1 -1
  322. package/dist/actions/get-merchant-customs-declaration.mjs.map +1 -1
  323. package/dist/actions/get-merchant-customs-item.cjs +8 -8
  324. package/dist/actions/get-merchant-customs-item.cjs.map +1 -1
  325. package/dist/actions/get-merchant-customs-item.d.cts +31 -3
  326. package/dist/actions/get-merchant-customs-item.d.cts.map +1 -1
  327. package/dist/actions/get-merchant-customs-item.d.mts +31 -3
  328. package/dist/actions/get-merchant-customs-item.d.mts.map +1 -1
  329. package/dist/actions/get-merchant-customs-item.mjs +8 -8
  330. package/dist/actions/get-merchant-customs-item.mjs.map +1 -1
  331. package/dist/actions/get-merchant-manifest.cjs +8 -8
  332. package/dist/actions/get-merchant-manifest.cjs.map +1 -1
  333. package/dist/actions/get-merchant-manifest.d.cts +26 -3
  334. package/dist/actions/get-merchant-manifest.d.cts.map +1 -1
  335. package/dist/actions/get-merchant-manifest.d.mts +26 -3
  336. package/dist/actions/get-merchant-manifest.d.mts.map +1 -1
  337. package/dist/actions/get-merchant-manifest.mjs +8 -8
  338. package/dist/actions/get-merchant-manifest.mjs.map +1 -1
  339. package/dist/actions/get-merchant-order.cjs +10 -10
  340. package/dist/actions/get-merchant-order.cjs.map +1 -1
  341. package/dist/actions/get-merchant-order.d.cts +75 -3
  342. package/dist/actions/get-merchant-order.d.cts.map +1 -1
  343. package/dist/actions/get-merchant-order.d.mts +75 -3
  344. package/dist/actions/get-merchant-order.d.mts.map +1 -1
  345. package/dist/actions/get-merchant-order.mjs +10 -10
  346. package/dist/actions/get-merchant-order.mjs.map +1 -1
  347. package/dist/actions/get-merchant-parcel.cjs +4 -4
  348. package/dist/actions/get-merchant-parcel.cjs.map +1 -1
  349. package/dist/actions/get-merchant-parcel.d.cts +39 -3
  350. package/dist/actions/get-merchant-parcel.d.cts.map +1 -1
  351. package/dist/actions/get-merchant-parcel.d.mts +39 -3
  352. package/dist/actions/get-merchant-parcel.d.mts.map +1 -1
  353. package/dist/actions/get-merchant-parcel.mjs +4 -4
  354. package/dist/actions/get-merchant-parcel.mjs.map +1 -1
  355. package/dist/actions/get-merchant-rate.cjs +13 -13
  356. package/dist/actions/get-merchant-rate.cjs.map +1 -1
  357. package/dist/actions/get-merchant-rate.d.cts +43 -3
  358. package/dist/actions/get-merchant-rate.d.cts.map +1 -1
  359. package/dist/actions/get-merchant-rate.d.mts +43 -3
  360. package/dist/actions/get-merchant-rate.d.mts.map +1 -1
  361. package/dist/actions/get-merchant-rate.mjs +13 -13
  362. package/dist/actions/get-merchant-rate.mjs.map +1 -1
  363. package/dist/actions/get-merchant-refund.cjs +1 -1
  364. package/dist/actions/get-merchant-refund.cjs.map +1 -1
  365. package/dist/actions/get-merchant-refund.d.cts +24 -3
  366. package/dist/actions/get-merchant-refund.d.cts.map +1 -1
  367. package/dist/actions/get-merchant-refund.d.mts +24 -3
  368. package/dist/actions/get-merchant-refund.d.mts.map +1 -1
  369. package/dist/actions/get-merchant-refund.mjs +1 -1
  370. package/dist/actions/get-merchant-refund.mjs.map +1 -1
  371. package/dist/actions/get-merchant-shipment.cjs +14 -14
  372. package/dist/actions/get-merchant-shipment.cjs.map +1 -1
  373. package/dist/actions/get-merchant-shipment.d.cts +140 -3
  374. package/dist/actions/get-merchant-shipment.d.cts.map +1 -1
  375. package/dist/actions/get-merchant-shipment.d.mts +140 -3
  376. package/dist/actions/get-merchant-shipment.d.mts.map +1 -1
  377. package/dist/actions/get-merchant-shipment.mjs +14 -14
  378. package/dist/actions/get-merchant-shipment.mjs.map +1 -1
  379. package/dist/actions/get-merchant-track.cjs +20 -20
  380. package/dist/actions/get-merchant-track.cjs.map +1 -1
  381. package/dist/actions/get-merchant-track.d.cts +66 -3
  382. package/dist/actions/get-merchant-track.d.cts.map +1 -1
  383. package/dist/actions/get-merchant-track.d.mts +66 -3
  384. package/dist/actions/get-merchant-track.d.mts.map +1 -1
  385. package/dist/actions/get-merchant-track.mjs +20 -20
  386. package/dist/actions/get-merchant-track.mjs.map +1 -1
  387. package/dist/actions/get-merchant-transaction.cjs +2 -2
  388. package/dist/actions/get-merchant-transaction.cjs.map +1 -1
  389. package/dist/actions/get-merchant-transaction.d.cts +43 -3
  390. package/dist/actions/get-merchant-transaction.d.cts.map +1 -1
  391. package/dist/actions/get-merchant-transaction.d.mts +43 -3
  392. package/dist/actions/get-merchant-transaction.d.mts.map +1 -1
  393. package/dist/actions/get-merchant-transaction.mjs +2 -2
  394. package/dist/actions/get-merchant-transaction.mjs.map +1 -1
  395. package/dist/actions/get-merchant.cjs +5 -5
  396. package/dist/actions/get-merchant.cjs.map +1 -1
  397. package/dist/actions/get-merchant.d.cts +17 -3
  398. package/dist/actions/get-merchant.d.cts.map +1 -1
  399. package/dist/actions/get-merchant.d.mts +17 -3
  400. package/dist/actions/get-merchant.d.mts.map +1 -1
  401. package/dist/actions/get-merchant.mjs +5 -5
  402. package/dist/actions/get-merchant.mjs.map +1 -1
  403. package/dist/actions/get-order.cjs +6 -6
  404. package/dist/actions/get-order.cjs.map +1 -1
  405. package/dist/actions/get-order.d.cts +77 -3
  406. package/dist/actions/get-order.d.cts.map +1 -1
  407. package/dist/actions/get-order.d.mts +77 -3
  408. package/dist/actions/get-order.d.mts.map +1 -1
  409. package/dist/actions/get-order.mjs +6 -6
  410. package/dist/actions/get-order.mjs.map +1 -1
  411. package/dist/actions/get-parcel.cjs +4 -4
  412. package/dist/actions/get-parcel.cjs.map +1 -1
  413. package/dist/actions/get-parcel.d.cts +37 -3
  414. package/dist/actions/get-parcel.d.cts.map +1 -1
  415. package/dist/actions/get-parcel.d.mts +37 -3
  416. package/dist/actions/get-parcel.d.mts.map +1 -1
  417. package/dist/actions/get-parcel.mjs +4 -4
  418. package/dist/actions/get-parcel.mjs.map +1 -1
  419. package/dist/actions/get-rate.cjs +13 -13
  420. package/dist/actions/get-rate.cjs.map +1 -1
  421. package/dist/actions/get-rate.d.cts +42 -3
  422. package/dist/actions/get-rate.d.cts.map +1 -1
  423. package/dist/actions/get-rate.d.mts +42 -3
  424. package/dist/actions/get-rate.d.mts.map +1 -1
  425. package/dist/actions/get-rate.mjs +13 -13
  426. package/dist/actions/get-rate.mjs.map +1 -1
  427. package/dist/actions/get-refund.cjs +1 -1
  428. package/dist/actions/get-refund.cjs.map +1 -1
  429. package/dist/actions/get-refund.d.cts +22 -3
  430. package/dist/actions/get-refund.d.cts.map +1 -1
  431. package/dist/actions/get-refund.d.mts +22 -3
  432. package/dist/actions/get-refund.d.mts.map +1 -1
  433. package/dist/actions/get-refund.mjs +1 -1
  434. package/dist/actions/get-refund.mjs.map +1 -1
  435. package/dist/actions/get-shipment.cjs +14 -14
  436. package/dist/actions/get-shipment.cjs.map +1 -1
  437. package/dist/actions/get-shipment.d.cts +110 -3
  438. package/dist/actions/get-shipment.d.cts.map +1 -1
  439. package/dist/actions/get-shipment.d.mts +110 -3
  440. package/dist/actions/get-shipment.d.mts.map +1 -1
  441. package/dist/actions/get-shipment.mjs +14 -14
  442. package/dist/actions/get-shipment.mjs.map +1 -1
  443. package/dist/actions/get-shippo-account.cjs +6 -6
  444. package/dist/actions/get-shippo-account.cjs.map +1 -1
  445. package/dist/actions/get-shippo-account.d.cts +17 -3
  446. package/dist/actions/get-shippo-account.d.cts.map +1 -1
  447. package/dist/actions/get-shippo-account.d.mts +17 -3
  448. package/dist/actions/get-shippo-account.d.mts.map +1 -1
  449. package/dist/actions/get-shippo-account.mjs +6 -6
  450. package/dist/actions/get-shippo-account.mjs.map +1 -1
  451. package/dist/actions/get-track.cjs +20 -20
  452. package/dist/actions/get-track.cjs.map +1 -1
  453. package/dist/actions/get-track.d.cts +64 -3
  454. package/dist/actions/get-track.d.cts.map +1 -1
  455. package/dist/actions/get-track.d.mts +64 -3
  456. package/dist/actions/get-track.d.mts.map +1 -1
  457. package/dist/actions/get-track.mjs +20 -20
  458. package/dist/actions/get-track.mjs.map +1 -1
  459. package/dist/actions/get-transaction.cjs +2 -2
  460. package/dist/actions/get-transaction.cjs.map +1 -1
  461. package/dist/actions/get-transaction.d.cts +30 -3
  462. package/dist/actions/get-transaction.d.cts.map +1 -1
  463. package/dist/actions/get-transaction.d.mts +30 -3
  464. package/dist/actions/get-transaction.d.mts.map +1 -1
  465. package/dist/actions/get-transaction.mjs +2 -2
  466. package/dist/actions/get-transaction.mjs.map +1 -1
  467. package/dist/actions/get-user-parcel-template.cjs +2 -2
  468. package/dist/actions/get-user-parcel-template.cjs.map +1 -1
  469. package/dist/actions/get-user-parcel-template.d.cts +31 -3
  470. package/dist/actions/get-user-parcel-template.d.cts.map +1 -1
  471. package/dist/actions/get-user-parcel-template.d.mts +31 -3
  472. package/dist/actions/get-user-parcel-template.d.mts.map +1 -1
  473. package/dist/actions/get-user-parcel-template.mjs +2 -2
  474. package/dist/actions/get-user-parcel-template.mjs.map +1 -1
  475. package/dist/actions/get-webhook.cjs +9 -9
  476. package/dist/actions/get-webhook.cjs.map +1 -1
  477. package/dist/actions/get-webhook.d.cts +16 -3
  478. package/dist/actions/get-webhook.d.cts.map +1 -1
  479. package/dist/actions/get-webhook.d.mts +16 -3
  480. package/dist/actions/get-webhook.d.mts.map +1 -1
  481. package/dist/actions/get-webhook.mjs +9 -9
  482. package/dist/actions/get-webhook.mjs.map +1 -1
  483. package/dist/actions/list-addresses.cjs +4 -4
  484. package/dist/actions/list-addresses.cjs.map +1 -1
  485. package/dist/actions/list-addresses.d.cts +45 -3
  486. package/dist/actions/list-addresses.d.cts.map +1 -1
  487. package/dist/actions/list-addresses.d.mts +45 -3
  488. package/dist/actions/list-addresses.d.mts.map +1 -1
  489. package/dist/actions/list-addresses.mjs +4 -4
  490. package/dist/actions/list-addresses.mjs.map +1 -1
  491. package/dist/actions/list-carrier-accounts.cjs +4 -4
  492. package/dist/actions/list-carrier-accounts.cjs.map +1 -1
  493. package/dist/actions/list-carrier-accounts.d.cts +32 -3
  494. package/dist/actions/list-carrier-accounts.d.cts.map +1 -1
  495. package/dist/actions/list-carrier-accounts.d.mts +32 -3
  496. package/dist/actions/list-carrier-accounts.d.mts.map +1 -1
  497. package/dist/actions/list-carrier-accounts.mjs +4 -4
  498. package/dist/actions/list-carrier-accounts.mjs.map +1 -1
  499. package/dist/actions/list-carrier-parcel-templates.cjs +2 -2
  500. package/dist/actions/list-carrier-parcel-templates.cjs.map +1 -1
  501. package/dist/actions/list-carrier-parcel-templates.d.cts +33 -3
  502. package/dist/actions/list-carrier-parcel-templates.d.cts.map +1 -1
  503. package/dist/actions/list-carrier-parcel-templates.d.mts +33 -3
  504. package/dist/actions/list-carrier-parcel-templates.d.mts.map +1 -1
  505. package/dist/actions/list-carrier-parcel-templates.mjs +2 -2
  506. package/dist/actions/list-carrier-parcel-templates.mjs.map +1 -1
  507. package/dist/actions/list-customs-declarations.cjs +7 -7
  508. package/dist/actions/list-customs-declarations.cjs.map +1 -1
  509. package/dist/actions/list-customs-declarations.d.cts +63 -3
  510. package/dist/actions/list-customs-declarations.d.cts.map +1 -1
  511. package/dist/actions/list-customs-declarations.d.mts +63 -3
  512. package/dist/actions/list-customs-declarations.d.mts.map +1 -1
  513. package/dist/actions/list-customs-declarations.mjs +7 -7
  514. package/dist/actions/list-customs-declarations.mjs.map +1 -1
  515. package/dist/actions/list-customs-items.cjs +2 -2
  516. package/dist/actions/list-customs-items.cjs.map +1 -1
  517. package/dist/actions/list-customs-items.d.cts +32 -3
  518. package/dist/actions/list-customs-items.d.cts.map +1 -1
  519. package/dist/actions/list-customs-items.d.mts +32 -3
  520. package/dist/actions/list-customs-items.d.mts.map +1 -1
  521. package/dist/actions/list-customs-items.mjs +2 -2
  522. package/dist/actions/list-customs-items.mjs.map +1 -1
  523. package/dist/actions/list-manifests.cjs +2 -2
  524. package/dist/actions/list-manifests.cjs.map +1 -1
  525. package/dist/actions/list-manifests.d.cts +28 -3
  526. package/dist/actions/list-manifests.d.cts.map +1 -1
  527. package/dist/actions/list-manifests.d.mts +28 -3
  528. package/dist/actions/list-manifests.d.mts.map +1 -1
  529. package/dist/actions/list-manifests.mjs +2 -2
  530. package/dist/actions/list-manifests.mjs.map +1 -1
  531. package/dist/actions/list-merchant-addresses.cjs +4 -4
  532. package/dist/actions/list-merchant-addresses.cjs.map +1 -1
  533. package/dist/actions/list-merchant-addresses.d.cts +44 -3
  534. package/dist/actions/list-merchant-addresses.d.cts.map +1 -1
  535. package/dist/actions/list-merchant-addresses.d.mts +44 -3
  536. package/dist/actions/list-merchant-addresses.d.mts.map +1 -1
  537. package/dist/actions/list-merchant-addresses.mjs +4 -4
  538. package/dist/actions/list-merchant-addresses.mjs.map +1 -1
  539. package/dist/actions/list-merchant-carrier-accounts.cjs +3 -3
  540. package/dist/actions/list-merchant-carrier-accounts.cjs.map +1 -1
  541. package/dist/actions/list-merchant-carrier-accounts.d.cts +27 -3
  542. package/dist/actions/list-merchant-carrier-accounts.d.cts.map +1 -1
  543. package/dist/actions/list-merchant-carrier-accounts.d.mts +27 -3
  544. package/dist/actions/list-merchant-carrier-accounts.d.mts.map +1 -1
  545. package/dist/actions/list-merchant-carrier-accounts.mjs +3 -3
  546. package/dist/actions/list-merchant-carrier-accounts.mjs.map +1 -1
  547. package/dist/actions/list-merchant-customs-declarations.cjs +2 -2
  548. package/dist/actions/list-merchant-customs-declarations.cjs.map +1 -1
  549. package/dist/actions/list-merchant-customs-declarations.d.cts +44 -3
  550. package/dist/actions/list-merchant-customs-declarations.d.cts.map +1 -1
  551. package/dist/actions/list-merchant-customs-declarations.d.mts +44 -3
  552. package/dist/actions/list-merchant-customs-declarations.d.mts.map +1 -1
  553. package/dist/actions/list-merchant-customs-declarations.mjs +2 -2
  554. package/dist/actions/list-merchant-customs-declarations.mjs.map +1 -1
  555. package/dist/actions/list-merchant-customs-items.cjs +2 -2
  556. package/dist/actions/list-merchant-customs-items.cjs.map +1 -1
  557. package/dist/actions/list-merchant-customs-items.d.cts +35 -3
  558. package/dist/actions/list-merchant-customs-items.d.cts.map +1 -1
  559. package/dist/actions/list-merchant-customs-items.d.mts +35 -3
  560. package/dist/actions/list-merchant-customs-items.d.mts.map +1 -1
  561. package/dist/actions/list-merchant-customs-items.mjs +2 -2
  562. package/dist/actions/list-merchant-customs-items.mjs.map +1 -1
  563. package/dist/actions/list-merchant-manifests.cjs +3 -3
  564. package/dist/actions/list-merchant-manifests.cjs.map +1 -1
  565. package/dist/actions/list-merchant-manifests.d.cts +31 -3
  566. package/dist/actions/list-merchant-manifests.d.cts.map +1 -1
  567. package/dist/actions/list-merchant-manifests.d.mts +31 -3
  568. package/dist/actions/list-merchant-manifests.d.mts.map +1 -1
  569. package/dist/actions/list-merchant-manifests.mjs +3 -3
  570. package/dist/actions/list-merchant-manifests.mjs.map +1 -1
  571. package/dist/actions/list-merchant-parcels.cjs +3 -3
  572. package/dist/actions/list-merchant-parcels.cjs.map +1 -1
  573. package/dist/actions/list-merchant-parcels.d.cts +33 -3
  574. package/dist/actions/list-merchant-parcels.d.cts.map +1 -1
  575. package/dist/actions/list-merchant-parcels.d.mts +33 -3
  576. package/dist/actions/list-merchant-parcels.d.mts.map +1 -1
  577. package/dist/actions/list-merchant-parcels.mjs +3 -3
  578. package/dist/actions/list-merchant-parcels.mjs.map +1 -1
  579. package/dist/actions/list-merchant-shipment-rates-by-currency.cjs +4 -4
  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 +54 -3
  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 +54 -3
  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 +4 -4
  586. package/dist/actions/list-merchant-shipment-rates-by-currency.mjs.map +1 -1
  587. package/dist/actions/list-merchant-shipments.cjs +10 -10
  588. package/dist/actions/list-merchant-shipments.cjs.map +1 -1
  589. package/dist/actions/list-merchant-shipments.d.cts +110 -3
  590. package/dist/actions/list-merchant-shipments.d.cts.map +1 -1
  591. package/dist/actions/list-merchant-shipments.d.mts +110 -3
  592. package/dist/actions/list-merchant-shipments.d.mts.map +1 -1
  593. package/dist/actions/list-merchant-shipments.mjs +10 -10
  594. package/dist/actions/list-merchant-shipments.mjs.map +1 -1
  595. package/dist/actions/list-merchant-transactions.cjs +3 -3
  596. package/dist/actions/list-merchant-transactions.cjs.map +1 -1
  597. package/dist/actions/list-merchant-transactions.d.cts +38 -3
  598. package/dist/actions/list-merchant-transactions.d.cts.map +1 -1
  599. package/dist/actions/list-merchant-transactions.d.mts +38 -3
  600. package/dist/actions/list-merchant-transactions.d.mts.map +1 -1
  601. package/dist/actions/list-merchant-transactions.mjs +3 -3
  602. package/dist/actions/list-merchant-transactions.mjs.map +1 -1
  603. package/dist/actions/list-merchants.cjs +5 -5
  604. package/dist/actions/list-merchants.cjs.map +1 -1
  605. package/dist/actions/list-merchants.d.cts +23 -3
  606. package/dist/actions/list-merchants.d.cts.map +1 -1
  607. package/dist/actions/list-merchants.d.mts +23 -3
  608. package/dist/actions/list-merchants.d.mts.map +1 -1
  609. package/dist/actions/list-merchants.mjs +5 -5
  610. package/dist/actions/list-merchants.mjs.map +1 -1
  611. package/dist/actions/list-orders.cjs +6 -6
  612. package/dist/actions/list-orders.cjs.map +1 -1
  613. package/dist/actions/list-orders.d.cts +81 -3
  614. package/dist/actions/list-orders.d.cts.map +1 -1
  615. package/dist/actions/list-orders.d.mts +81 -3
  616. package/dist/actions/list-orders.d.mts.map +1 -1
  617. package/dist/actions/list-orders.mjs +6 -6
  618. package/dist/actions/list-orders.mjs.map +1 -1
  619. package/dist/actions/list-refunds.cjs +8 -8
  620. package/dist/actions/list-refunds.cjs.map +1 -1
  621. package/dist/actions/list-refunds.d.cts +21 -3
  622. package/dist/actions/list-refunds.d.cts.map +1 -1
  623. package/dist/actions/list-refunds.d.mts +21 -3
  624. package/dist/actions/list-refunds.d.mts.map +1 -1
  625. package/dist/actions/list-refunds.mjs +8 -8
  626. package/dist/actions/list-refunds.mjs.map +1 -1
  627. package/dist/actions/list-service-groups.cjs +7 -7
  628. package/dist/actions/list-service-groups.cjs.map +1 -1
  629. package/dist/actions/list-service-groups.d.cts +24 -3
  630. package/dist/actions/list-service-groups.d.cts.map +1 -1
  631. package/dist/actions/list-service-groups.d.mts +24 -3
  632. package/dist/actions/list-service-groups.d.mts.map +1 -1
  633. package/dist/actions/list-service-groups.mjs +7 -7
  634. package/dist/actions/list-service-groups.mjs.map +1 -1
  635. package/dist/actions/list-shipment-rates-by-currency.cjs +4 -4
  636. package/dist/actions/list-shipment-rates-by-currency.cjs.map +1 -1
  637. package/dist/actions/list-shipment-rates-by-currency.d.cts +52 -3
  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 +52 -3
  640. package/dist/actions/list-shipment-rates-by-currency.d.mts.map +1 -1
  641. package/dist/actions/list-shipment-rates-by-currency.mjs +4 -4
  642. package/dist/actions/list-shipment-rates-by-currency.mjs.map +1 -1
  643. package/dist/actions/list-shipment-rates.cjs +4 -4
  644. package/dist/actions/list-shipment-rates.cjs.map +1 -1
  645. package/dist/actions/list-shipment-rates.d.cts +50 -3
  646. package/dist/actions/list-shipment-rates.d.cts.map +1 -1
  647. package/dist/actions/list-shipment-rates.d.mts +50 -3
  648. package/dist/actions/list-shipment-rates.d.mts.map +1 -1
  649. package/dist/actions/list-shipment-rates.mjs +4 -4
  650. package/dist/actions/list-shipment-rates.mjs.map +1 -1
  651. package/dist/actions/list-shipments.cjs +9 -9
  652. package/dist/actions/list-shipments.cjs.map +1 -1
  653. package/dist/actions/list-shipments.d.cts +108 -3
  654. package/dist/actions/list-shipments.d.cts.map +1 -1
  655. package/dist/actions/list-shipments.d.mts +108 -3
  656. package/dist/actions/list-shipments.d.mts.map +1 -1
  657. package/dist/actions/list-shipments.mjs +9 -9
  658. package/dist/actions/list-shipments.mjs.map +1 -1
  659. package/dist/actions/list-shippo-accounts.cjs +8 -8
  660. package/dist/actions/list-shippo-accounts.cjs.map +1 -1
  661. package/dist/actions/list-shippo-accounts.d.cts +20 -3
  662. package/dist/actions/list-shippo-accounts.d.cts.map +1 -1
  663. package/dist/actions/list-shippo-accounts.d.mts +20 -3
  664. package/dist/actions/list-shippo-accounts.d.mts.map +1 -1
  665. package/dist/actions/list-shippo-accounts.mjs +8 -8
  666. package/dist/actions/list-shippo-accounts.mjs.map +1 -1
  667. package/dist/actions/list-user-parcel-templates.cjs +3 -3
  668. package/dist/actions/list-user-parcel-templates.cjs.map +1 -1
  669. package/dist/actions/list-user-parcel-templates.d.cts +31 -3
  670. package/dist/actions/list-user-parcel-templates.d.cts.map +1 -1
  671. package/dist/actions/list-user-parcel-templates.d.mts +31 -3
  672. package/dist/actions/list-user-parcel-templates.d.mts.map +1 -1
  673. package/dist/actions/list-user-parcel-templates.mjs +3 -3
  674. package/dist/actions/list-user-parcel-templates.mjs.map +1 -1
  675. package/dist/actions/purchase-merchant-batch.cjs +15 -15
  676. package/dist/actions/purchase-merchant-batch.cjs.map +1 -1
  677. package/dist/actions/purchase-merchant-batch.d.cts +39 -3
  678. package/dist/actions/purchase-merchant-batch.d.cts.map +1 -1
  679. package/dist/actions/purchase-merchant-batch.d.mts +39 -3
  680. package/dist/actions/purchase-merchant-batch.d.mts.map +1 -1
  681. package/dist/actions/purchase-merchant-batch.mjs +15 -15
  682. package/dist/actions/purchase-merchant-batch.mjs.map +1 -1
  683. package/dist/actions/remove-shipments-from-batch.cjs +16 -16
  684. package/dist/actions/remove-shipments-from-batch.cjs.map +1 -1
  685. package/dist/actions/remove-shipments-from-batch.d.cts +46 -3
  686. package/dist/actions/remove-shipments-from-batch.d.cts.map +1 -1
  687. package/dist/actions/remove-shipments-from-batch.d.mts +46 -3
  688. package/dist/actions/remove-shipments-from-batch.d.mts.map +1 -1
  689. package/dist/actions/remove-shipments-from-batch.mjs +16 -16
  690. package/dist/actions/remove-shipments-from-batch.mjs.map +1 -1
  691. package/dist/actions/update-carrier-account.cjs +5 -5
  692. package/dist/actions/update-carrier-account.cjs.map +1 -1
  693. package/dist/actions/update-carrier-account.d.cts +27 -3
  694. package/dist/actions/update-carrier-account.d.cts.map +1 -1
  695. package/dist/actions/update-carrier-account.d.mts +27 -3
  696. package/dist/actions/update-carrier-account.d.mts.map +1 -1
  697. package/dist/actions/update-carrier-account.mjs +5 -5
  698. package/dist/actions/update-carrier-account.mjs.map +1 -1
  699. package/dist/actions/update-default-parcel-template.cjs +3 -3
  700. package/dist/actions/update-default-parcel-template.cjs.map +1 -1
  701. package/dist/actions/update-default-parcel-template.d.cts +36 -3
  702. package/dist/actions/update-default-parcel-template.d.cts.map +1 -1
  703. package/dist/actions/update-default-parcel-template.d.mts +36 -3
  704. package/dist/actions/update-default-parcel-template.d.mts.map +1 -1
  705. package/dist/actions/update-default-parcel-template.mjs +3 -3
  706. package/dist/actions/update-default-parcel-template.mjs.map +1 -1
  707. package/dist/actions/update-merchant-carrier-account.cjs +2 -2
  708. package/dist/actions/update-merchant-carrier-account.cjs.map +1 -1
  709. package/dist/actions/update-merchant-carrier-account.d.cts +75 -3
  710. package/dist/actions/update-merchant-carrier-account.d.cts.map +1 -1
  711. package/dist/actions/update-merchant-carrier-account.d.mts +75 -3
  712. package/dist/actions/update-merchant-carrier-account.d.mts.map +1 -1
  713. package/dist/actions/update-merchant-carrier-account.mjs +2 -2
  714. package/dist/actions/update-merchant-carrier-account.mjs.map +1 -1
  715. package/dist/actions/update-merchant.cjs +5 -5
  716. package/dist/actions/update-merchant.cjs.map +1 -1
  717. package/dist/actions/update-merchant.d.cts +25 -3
  718. package/dist/actions/update-merchant.d.cts.map +1 -1
  719. package/dist/actions/update-merchant.d.mts +25 -3
  720. package/dist/actions/update-merchant.d.mts.map +1 -1
  721. package/dist/actions/update-merchant.mjs +5 -5
  722. package/dist/actions/update-merchant.mjs.map +1 -1
  723. package/dist/actions/update-service-group.cjs +7 -7
  724. package/dist/actions/update-service-group.cjs.map +1 -1
  725. package/dist/actions/update-service-group.d.cts +49 -3
  726. package/dist/actions/update-service-group.d.cts.map +1 -1
  727. package/dist/actions/update-service-group.d.mts +49 -3
  728. package/dist/actions/update-service-group.d.mts.map +1 -1
  729. package/dist/actions/update-service-group.mjs +7 -7
  730. package/dist/actions/update-service-group.mjs.map +1 -1
  731. package/dist/actions/update-user-parcel-template.cjs +2 -2
  732. package/dist/actions/update-user-parcel-template.cjs.map +1 -1
  733. package/dist/actions/update-user-parcel-template.d.cts +28 -3
  734. package/dist/actions/update-user-parcel-template.d.cts.map +1 -1
  735. package/dist/actions/update-user-parcel-template.d.mts +28 -3
  736. package/dist/actions/update-user-parcel-template.d.mts.map +1 -1
  737. package/dist/actions/update-user-parcel-template.mjs +2 -2
  738. package/dist/actions/update-user-parcel-template.mjs.map +1 -1
  739. package/dist/actions/update-webhook.cjs +6 -6
  740. package/dist/actions/update-webhook.cjs.map +1 -1
  741. package/dist/actions/update-webhook.d.cts +31 -3
  742. package/dist/actions/update-webhook.d.cts.map +1 -1
  743. package/dist/actions/update-webhook.d.mts +31 -3
  744. package/dist/actions/update-webhook.d.mts.map +1 -1
  745. package/dist/actions/update-webhook.mjs +6 -6
  746. package/dist/actions/update-webhook.mjs.map +1 -1
  747. package/dist/actions/validate-address.cjs +4 -4
  748. package/dist/actions/validate-address.cjs.map +1 -1
  749. package/dist/actions/validate-address.d.cts +39 -3
  750. package/dist/actions/validate-address.d.cts.map +1 -1
  751. package/dist/actions/validate-address.d.mts +39 -3
  752. package/dist/actions/validate-address.d.mts.map +1 -1
  753. package/dist/actions/validate-address.mjs +4 -4
  754. package/dist/actions/validate-address.mjs.map +1 -1
  755. package/dist/actions/validate-merchant-address.cjs +4 -4
  756. package/dist/actions/validate-merchant-address.cjs.map +1 -1
  757. package/dist/actions/validate-merchant-address.d.cts +38 -3
  758. package/dist/actions/validate-merchant-address.d.cts.map +1 -1
  759. package/dist/actions/validate-merchant-address.d.mts +38 -3
  760. package/dist/actions/validate-merchant-address.d.mts.map +1 -1
  761. package/dist/actions/validate-merchant-address.mjs +4 -4
  762. package/dist/actions/validate-merchant-address.mjs.map +1 -1
  763. package/package.json +2 -2
@@ -16,7 +16,7 @@ const ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = z.object({
16
16
  distance_unit: z.string().describe("Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)").nullable().optional(),
17
17
  provider_name: z.string().describe("Name of the carrier provider").nullable().optional(),
18
18
  is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional()
19
- }).describe("Carrier parcel template details.");
19
+ }).passthrough().describe("Carrier parcel template details.");
20
20
  const ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({
21
21
  name: z.string().describe("Name of the parcel template").nullable().optional(),
22
22
  width: z.string().describe("Width dimension of the parcel").nullable().optional(),
@@ -31,13 +31,13 @@ const ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({
31
31
  distance_unit: z.string().describe("Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)").nullable().optional(),
32
32
  object_created: z.string().describe("Timestamp when the parcel template was created").nullable().optional(),
33
33
  object_updated: z.string().describe("Timestamp when the parcel template was last updated").nullable().optional()
34
- }).describe("Represents the parcel template details.");
34
+ }).passthrough().describe("Represents the parcel template details.");
35
35
  const shippoUpdateDefaultParcelTemplate = action("SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE", {
36
36
  slug: "shippo-update-default-parcel-template",
37
37
  name: "Update Default Parcel Template",
38
38
  description: "Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.",
39
39
  input: ShippoUpdateDefaultParcelTemplateInput,
40
- output: z.object({ result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional() }).describe("Response from updating the default parcel template.")
40
+ output: z.object({ result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional() }).passthrough().describe("Response from updating the default parcel template.")
41
41
  });
42
42
  //#endregion
43
43
  export { shippoUpdateDefaultParcelTemplate };
@@ -1 +1 @@
1
- {"version":3,"file":"update-default-parcel-template.mjs","names":[],"sources":["../../src/actions/update-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateDefaultParcelTemplateInput: z.ZodTypeAny = z.object({\n object_id: z.string().describe(\"The unique identifier of the parcel template to set as default. This should be the ID of an existing parcel template in your Shippo account.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"Optional string used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"Token identifying the carrier parcel template\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel\").nullable().optional(),\n api_token: z.string().describe(\"API token for the carrier parcel template\").nullable().optional(),\n provider_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the carrier provider\").nullable().optional(),\n is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).describe(\"Carrier parcel template details.\");\nconst ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the parcel template\").nullable().optional(),\n width: z.string().describe(\"Width dimension of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height dimension of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length dimension of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n template: ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel template object\").nullable().optional(),\n is_default: z.boolean().describe(\"Indicates if this is the default parcel template\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for parcel weight (e.g., 'lb' for pounds, 'kg' for kilograms)\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the parcel template object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the parcel template was created\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the parcel template was last updated\").nullable().optional(),\n}).describe(\"Represents the parcel template details.\");\nexport const ShippoUpdateDefaultParcelTemplateOutput: z.ZodTypeAny = z.object({\n result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional(),\n}).describe(\"Response from updating the default parcel template.\");\n\nexport const shippoUpdateDefaultParcelTemplate = action(\"SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-default-parcel-template\",\n name: \"Update Default Parcel Template\",\n description: \"Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.\",\n input: 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,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmE,EAAE,OAAO,EAC5E,QAAQ,6DAA6D,SAAS,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-default-parcel-template.mjs","names":[],"sources":["../../src/actions/update-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateDefaultParcelTemplateInput = z.object({\n object_id: z.string().describe(\"The unique identifier of the parcel template to set as default. This should be the ID of an existing parcel template in your Shippo account.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"Optional string used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"Token identifying the carrier parcel template\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel\").nullable().optional(),\n api_token: z.string().describe(\"API token for the carrier parcel template\").nullable().optional(),\n provider_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the carrier provider\").nullable().optional(),\n is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Carrier parcel template details.\");\nconst ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({\n name: z.string().describe(\"Name of the parcel template\").nullable().optional(),\n width: z.string().describe(\"Width dimension of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height dimension of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length dimension of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n template: ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel template object\").nullable().optional(),\n is_default: z.boolean().describe(\"Indicates if this is the default parcel template\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for parcel weight (e.g., 'lb' for pounds, 'kg' for kilograms)\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the parcel template object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the parcel template was created\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the parcel template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents the parcel template details.\");\nexport const ShippoUpdateDefaultParcelTemplateOutput = z.object({\n result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response from updating the default parcel template.\");\n\nexport const shippoUpdateDefaultParcelTemplate = action(\"SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-default-parcel-template\",\n name: \"Update Default Parcel Template\",\n description: \"Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.\",\n input: ShippoUpdateDefaultParcelTemplateInput,\n output: ShippoUpdateDefaultParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CAC7K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC9K,CAAC;AACD,MAAM,0DAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,C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EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,QAAQ,6DAA6D,SAAS,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -40,10 +40,10 @@ const ShippoUpdateMerchantCarrierAccountOutput = zod.z.object({
40
40
  metadata: zod.z.string().describe("Custom metadata associated with the carrier account.").nullable().optional(),
41
41
  object_id: zod.z.string().describe("Unique identifier for this carrier account object.").nullable().optional(),
42
42
  account_id: zod.z.string().describe("The carrier account identifier (may be masked, e.g., '****').").nullable().optional(),
43
- parameters: zod.z.object({}).describe("Carrier-specific parameters. Some sensitive data may be masked in the response.").nullable().optional(),
43
+ parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Carrier-specific parameters. Some sensitive data may be masked in the response.").nullable().optional(),
44
44
  object_owner: zod.z.string().describe("The owner of this carrier account object (email address).").nullable().optional(),
45
45
  is_shippo_account: zod.z.boolean().describe("Indicates whether this is a Shippo-provided account.").nullable().optional()
46
- }).describe("Response model containing the updated carrier account details.");
46
+ }).passthrough().describe("Response model containing the updated carrier account details.");
47
47
  const shippoUpdateMerchantCarrierAccount = require_action.action("SHIPPO_UPDATE_MERCHANT_CARRIER_ACCOUNT", {
48
48
  slug: "shippo-update-merchant-carrier-account",
49
49
  name: "Update Merchant Carrier Account",
@@ -1 +1 @@
1
- {"version":3,"file":"update-merchant-carrier-account.cjs","names":["z","action"],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantCarrierAccountInput: z.ZodTypeAny = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'ups', 'usps', 'fedex'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.object({\n email: z.string().describe(\"Email address for the carrier account.\"),\n phone: z.string().describe(\"Phone number (e.g., '1112223333').\"),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Engineer, Mr, Ms, Mrs, Mx).\"),\n company: z.string().describe(\"Company name. Full name is acceptable if the user has no company name.\"),\n full_name: z.string().describe(\"Full name of the account holder.\"),\n collec_zip: z.string().describe(\"ZIP code of the collection/pickup address (5 digits).\"),\n has_invoice: z.boolean().describe(\"True if user has been issued a UPS invoice within the past 90 days (US/Canada) or 45 days (other countries).\"),\n invoice_date: z.string().describe(\"Date the invoice was issued in YYYYMMDD format (required if has_invoice is true).\").optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice_value (required if has_invoice is true).\").optional(),\n invoice_value: z.string().describe(\"Invoice value (required if has_invoice is true). Max 16 digits before decimal and 2 after.\").optional(),\n account_number: z.string().describe(\"The UPS account number (e.g., '94567e').\"),\n invoice_number: z.string().describe(\"Invoice number (required if has_invoice is true, 1-15 characters).\").optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to UPS terms and conditions. Must be true (error 400 if false).\"),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (required if has_invoice is true).\").optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true, 4 characters).\").optional(),\n billing_address_zip: z.string().describe(\"ZIP code of the billing address (5 digits).\"),\n collec_country_iso2: z.string().describe(\"Country ISO2 code for the collection address (2 characters).\"),\n billing_address_city: z.string().describe(\"City of the billing address.\"),\n billing_address_state: z.string().describe(\"State code of the billing address (2 characters).\"),\n billing_address_street1: z.string().describe(\"First line of the billing address.\"),\n billing_address_street2: z.string().describe(\"Second line of the billing address. Empty string acceptable.\").optional(),\n billing_address_country_iso2: z.string().describe(\"Country ISO2 code for the billing address (2 characters).\"),\n}).describe(\"Carrier-specific parameters. For UPS, includes billing address, account details, and invoice information.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '15c67bc9e2694e7c896c8d995d313442').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating a carrier account for a merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantCarrierAccountOutput: z.ZodTypeAny = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier (may be masked, e.g., '****').\").nullable().optional(),\n parameters: z.object({}).describe(\"Carrier-specific parameters. Some sensitive data may be masked in the response.\").nullable().optional(),\n object_owner: z.string().describe(\"The owner of this carrier account object (email address).\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates whether this is a Shippo-provided account.\").nullable().optional(),\n}).describe(\"Response model containing the updated carrier account details.\");\n\nexport const shippoUpdateMerchantCarrierAccount = action(\"SHIPPO_UPDATE_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-update-merchant-carrier-account\",\n name: \"Update Merchant Carrier Account\",\n description: \"Tool to update a carrier account for a merchant in Shippo Platform API. Use when you need to modify merchant carrier account settings such as activation status, billing address, or UPS-specific parameters. Requires Platform API authentication with merchant context.\",\n input: ShippoUpdateMerchantCarrierAccountInput,\n output: ShippoUpdateMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,YAAYA,IAAAA,EAAE,OAAO;EACrB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EACjE,YAAYA,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Aa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-merchant-carrier-account.cjs","names":["z","action"],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'ups', 'usps', 'fedex'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.object({\n email: z.string().describe(\"Email address for the carrier account.\"),\n phone: z.string().describe(\"Phone number (e.g., '1112223333').\"),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Engineer, Mr, Ms, Mrs, Mx).\"),\n company: z.string().describe(\"Company name. Full name is acceptable if the user has no company name.\"),\n full_name: z.string().describe(\"Full name of the account holder.\"),\n collec_zip: z.string().describe(\"ZIP code of the collection/pickup address (5 digits).\"),\n has_invoice: z.boolean().describe(\"True if user has been issued a UPS invoice within the past 90 days (US/Canada) or 45 days (other countries).\"),\n invoice_date: z.string().describe(\"Date the invoice was issued in YYYYMMDD format (required if has_invoice is true).\").optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice_value (required if has_invoice is true).\").optional(),\n invoice_value: z.string().describe(\"Invoice value (required if has_invoice is true). Max 16 digits before decimal and 2 after.\").optional(),\n account_number: z.string().describe(\"The UPS account number (e.g., '94567e').\"),\n invoice_number: z.string().describe(\"Invoice number (required if has_invoice is true, 1-15 characters).\").optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to UPS terms and conditions. Must be true (error 400 if false).\"),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (required if has_invoice is true).\").optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true, 4 characters).\").optional(),\n billing_address_zip: z.string().describe(\"ZIP code of the billing address (5 digits).\"),\n collec_country_iso2: z.string().describe(\"Country ISO2 code for the collection address (2 characters).\"),\n billing_address_city: z.string().describe(\"City of the billing address.\"),\n billing_address_state: z.string().describe(\"State code of the billing address (2 characters).\"),\n billing_address_street1: z.string().describe(\"First line of the billing address.\"),\n billing_address_street2: z.string().describe(\"Second line of the billing address. Empty string acceptable.\").optional(),\n billing_address_country_iso2: z.string().describe(\"Country ISO2 code for the billing address (2 characters).\"),\n}).describe(\"Carrier-specific parameters. For UPS, includes billing address, account details, and invoice information.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '15c67bc9e2694e7c896c8d995d313442').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating a carrier account for a merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier (may be masked, e.g., '****').\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters. Some sensitive data may be masked in the response.\").nullable().optional(),\n object_owner: z.string().describe(\"The owner of this carrier account object (email address).\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates whether this is a Shippo-provided account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated carrier account details.\");\n\nexport const shippoUpdateMerchantCarrierAccount = action(\"SHIPPO_UPDATE_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-update-merchant-carrier-account\",\n name: \"Update Merchant Carrier Account\",\n description: \"Tool to update a carrier account for a merchant in Shippo Platform API. Use when you need to modify merchant carrier account settings such as activation status, billing address, or UPS-specific parameters. Requires Platform API authentication with merchant context.\",\n input: ShippoUpdateMerchantCarrierAccountInput,\n output: ShippoUpdateMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,YAAYA,IAAAA,EAAE,OAAO;EACrB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACvF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G;EAChJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAChI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACvI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;EAC1I,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAC9E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAA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AE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,81 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-merchant-carrier-account.d.ts
4
- declare const ShippoUpdateMerchantCarrierAccountInput: z.ZodTypeAny;
5
- declare const ShippoUpdateMerchantCarrierAccountOutput: z.ZodTypeAny;
6
- declare const shippoUpdateMerchantCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShippoUpdateMerchantCarrierAccountInput: z.ZodObject<{
5
+ active: z.ZodOptional<z.ZodBoolean>;
6
+ carrier: z.ZodString;
7
+ account_id: z.ZodString;
8
+ parameters: z.ZodObject<{
9
+ email: z.ZodString;
10
+ phone: z.ZodString;
11
+ title: z.ZodString;
12
+ company: z.ZodString;
13
+ full_name: z.ZodString;
14
+ collec_zip: z.ZodString;
15
+ has_invoice: z.ZodBoolean;
16
+ invoice_date: z.ZodOptional<z.ZodString>;
17
+ currency_code: z.ZodOptional<z.ZodString>;
18
+ invoice_value: z.ZodOptional<z.ZodString>;
19
+ account_number: z.ZodString;
20
+ invoice_number: z.ZodOptional<z.ZodString>;
21
+ ups_agreements: z.ZodBoolean;
22
+ aia_country_iso2: z.ZodOptional<z.ZodString>;
23
+ invoice_controlid: z.ZodOptional<z.ZodString>;
24
+ billing_address_zip: z.ZodString;
25
+ collec_country_iso2: z.ZodString;
26
+ billing_address_city: z.ZodString;
27
+ billing_address_state: z.ZodString;
28
+ billing_address_street1: z.ZodString;
29
+ billing_address_street2: z.ZodOptional<z.ZodString>;
30
+ billing_address_country_iso2: z.ZodString;
31
+ }, z.core.$strip>;
32
+ merchant_id: z.ZodString;
33
+ carrier_account_id: z.ZodString;
34
+ shippo_api_version: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$strip>;
36
+ declare const ShippoUpdateMerchantCarrierAccountOutput: z.ZodObject<{
37
+ test: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
39
+ carrier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
44
+ object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
46
+ }, z.core.$loose>;
47
+ declare const shippoUpdateMerchantCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
48
+ carrier: string;
49
+ account_id: string;
50
+ parameters: {
51
+ email: string;
52
+ phone: string;
53
+ title: string;
54
+ company: string;
55
+ full_name: string;
56
+ collec_zip: string;
57
+ has_invoice: boolean;
58
+ account_number: string;
59
+ ups_agreements: boolean;
60
+ billing_address_zip: string;
61
+ collec_country_iso2: string;
62
+ billing_address_city: string;
63
+ billing_address_state: string;
64
+ billing_address_street1: string;
65
+ billing_address_country_iso2: string;
66
+ invoice_date?: string | undefined;
67
+ currency_code?: string | undefined;
68
+ invoice_value?: string | undefined;
69
+ invoice_number?: string | undefined;
70
+ aia_country_iso2?: string | undefined;
71
+ invoice_controlid?: string | undefined;
72
+ billing_address_street2?: string | undefined;
73
+ };
74
+ merchant_id: string;
75
+ carrier_account_id: string;
76
+ active?: boolean | undefined;
77
+ shippo_api_version?: string | undefined;
78
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
79
  //#endregion
8
80
  export { shippoUpdateMerchantCarrierAccount };
9
81
  //# sourceMappingURL=update-merchant-carrier-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-merchant-carrier-account.d.cts","names":[],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UA+B0C;AAAA,cACrF,wCAAA,EAA0C,CAAA,CAAE,UAUoB;AAAA,cAEhE,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-merchant-carrier-account.d.cts","names":[],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgCvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYxC,kCAAA,gCAAkC,wBAAA"}
@@ -1,9 +1,81 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-merchant-carrier-account.d.ts
4
- declare const ShippoUpdateMerchantCarrierAccountInput: z.ZodTypeAny;
5
- declare const ShippoUpdateMerchantCarrierAccountOutput: z.ZodTypeAny;
6
- declare const shippoUpdateMerchantCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShippoUpdateMerchantCarrierAccountInput: z.ZodObject<{
5
+ active: z.ZodOptional<z.ZodBoolean>;
6
+ carrier: z.ZodString;
7
+ account_id: z.ZodString;
8
+ parameters: z.ZodObject<{
9
+ email: z.ZodString;
10
+ phone: z.ZodString;
11
+ title: z.ZodString;
12
+ company: z.ZodString;
13
+ full_name: z.ZodString;
14
+ collec_zip: z.ZodString;
15
+ has_invoice: z.ZodBoolean;
16
+ invoice_date: z.ZodOptional<z.ZodString>;
17
+ currency_code: z.ZodOptional<z.ZodString>;
18
+ invoice_value: z.ZodOptional<z.ZodString>;
19
+ account_number: z.ZodString;
20
+ invoice_number: z.ZodOptional<z.ZodString>;
21
+ ups_agreements: z.ZodBoolean;
22
+ aia_country_iso2: z.ZodOptional<z.ZodString>;
23
+ invoice_controlid: z.ZodOptional<z.ZodString>;
24
+ billing_address_zip: z.ZodString;
25
+ collec_country_iso2: z.ZodString;
26
+ billing_address_city: z.ZodString;
27
+ billing_address_state: z.ZodString;
28
+ billing_address_street1: z.ZodString;
29
+ billing_address_street2: z.ZodOptional<z.ZodString>;
30
+ billing_address_country_iso2: z.ZodString;
31
+ }, z.core.$strip>;
32
+ merchant_id: z.ZodString;
33
+ carrier_account_id: z.ZodString;
34
+ shippo_api_version: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$strip>;
36
+ declare const ShippoUpdateMerchantCarrierAccountOutput: z.ZodObject<{
37
+ test: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
39
+ carrier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
44
+ object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
46
+ }, z.core.$loose>;
47
+ declare const shippoUpdateMerchantCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
48
+ carrier: string;
49
+ account_id: string;
50
+ parameters: {
51
+ email: string;
52
+ phone: string;
53
+ title: string;
54
+ company: string;
55
+ full_name: string;
56
+ collec_zip: string;
57
+ has_invoice: boolean;
58
+ account_number: string;
59
+ ups_agreements: boolean;
60
+ billing_address_zip: string;
61
+ collec_country_iso2: string;
62
+ billing_address_city: string;
63
+ billing_address_state: string;
64
+ billing_address_street1: string;
65
+ billing_address_country_iso2: string;
66
+ invoice_date?: string | undefined;
67
+ currency_code?: string | undefined;
68
+ invoice_value?: string | undefined;
69
+ invoice_number?: string | undefined;
70
+ aia_country_iso2?: string | undefined;
71
+ invoice_controlid?: string | undefined;
72
+ billing_address_street2?: string | undefined;
73
+ };
74
+ merchant_id: string;
75
+ carrier_account_id: string;
76
+ active?: boolean | undefined;
77
+ shippo_api_version?: string | undefined;
78
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
79
  //#endregion
8
80
  export { shippoUpdateMerchantCarrierAccount };
9
81
  //# sourceMappingURL=update-merchant-carrier-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-merchant-carrier-account.d.mts","names":[],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UA+B0C;AAAA,cACrF,wCAAA,EAA0C,CAAA,CAAE,UAUoB;AAAA,cAEhE,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-merchant-carrier-account.d.mts","names":[],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgCvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYxC,kCAAA,gCAAkC,wBAAA"}
@@ -43,10 +43,10 @@ const shippoUpdateMerchantCarrierAccount = action("SHIPPO_UPDATE_MERCHANT_CARRIE
43
43
  metadata: z.string().describe("Custom metadata associated with the carrier account.").nullable().optional(),
44
44
  object_id: z.string().describe("Unique identifier for this carrier account object.").nullable().optional(),
45
45
  account_id: z.string().describe("The carrier account identifier (may be masked, e.g., '****').").nullable().optional(),
46
- parameters: z.object({}).describe("Carrier-specific parameters. Some sensitive data may be masked in the response.").nullable().optional(),
46
+ parameters: z.record(z.string(), z.unknown()).describe("Carrier-specific parameters. Some sensitive data may be masked in the response.").nullable().optional(),
47
47
  object_owner: z.string().describe("The owner of this carrier account object (email address).").nullable().optional(),
48
48
  is_shippo_account: z.boolean().describe("Indicates whether this is a Shippo-provided account.").nullable().optional()
49
- }).describe("Response model containing the updated carrier account details.")
49
+ }).passthrough().describe("Response model containing the updated carrier account details.")
50
50
  });
51
51
  //#endregion
52
52
  export { shippoUpdateMerchantCarrierAccount };
@@ -1 +1 @@
1
- {"version":3,"file":"update-merchant-carrier-account.mjs","names":[],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantCarrierAccountInput: z.ZodTypeAny = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'ups', 'usps', 'fedex'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.object({\n email: z.string().describe(\"Email address for the carrier account.\"),\n phone: z.string().describe(\"Phone number (e.g., '1112223333').\"),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Engineer, Mr, Ms, Mrs, Mx).\"),\n company: z.string().describe(\"Company name. Full name is acceptable if the user has no company name.\"),\n full_name: z.string().describe(\"Full name of the account holder.\"),\n collec_zip: z.string().describe(\"ZIP code of the collection/pickup address (5 digits).\"),\n has_invoice: z.boolean().describe(\"True if user has been issued a UPS invoice within the past 90 days (US/Canada) or 45 days (other countries).\"),\n invoice_date: z.string().describe(\"Date the invoice was issued in YYYYMMDD format (required if has_invoice is true).\").optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice_value (required if has_invoice is true).\").optional(),\n invoice_value: z.string().describe(\"Invoice value (required if has_invoice is true). Max 16 digits before decimal and 2 after.\").optional(),\n account_number: z.string().describe(\"The UPS account number (e.g., '94567e').\"),\n invoice_number: z.string().describe(\"Invoice number (required if has_invoice is true, 1-15 characters).\").optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to UPS terms and conditions. Must be true (error 400 if false).\"),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (required if has_invoice is true).\").optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true, 4 characters).\").optional(),\n billing_address_zip: z.string().describe(\"ZIP code of the billing address (5 digits).\"),\n collec_country_iso2: z.string().describe(\"Country ISO2 code for the collection address (2 characters).\"),\n billing_address_city: z.string().describe(\"City of the billing address.\"),\n billing_address_state: z.string().describe(\"State code of the billing address (2 characters).\"),\n billing_address_street1: z.string().describe(\"First line of the billing address.\"),\n billing_address_street2: z.string().describe(\"Second line of the billing address. Empty string acceptable.\").optional(),\n billing_address_country_iso2: z.string().describe(\"Country ISO2 code for the billing address (2 characters).\"),\n}).describe(\"Carrier-specific parameters. For UPS, includes billing address, account details, and invoice information.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '15c67bc9e2694e7c896c8d995d313442').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating a carrier account for a merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantCarrierAccountOutput: z.ZodTypeAny = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier (may be masked, e.g., '****').\").nullable().optional(),\n parameters: z.object({}).describe(\"Carrier-specific parameters. Some sensitive data may be masked in the response.\").nullable().optional(),\n object_owner: z.string().describe(\"The owner of this carrier account object (email address).\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates whether this is a Shippo-provided account.\").nullable().optional(),\n}).describe(\"Response model containing the updated carrier account details.\");\n\nexport const shippoUpdateMerchantCarrierAccount = action(\"SHIPPO_UPDATE_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-update-merchant-carrier-account\",\n name: \"Update Merchant Carrier Account\",\n description: \"Tool to update a carrier account for a merchant in Shippo Platform API. Use when you need to modify merchant carrier account settings such as activation status, billing address, or UPS-specific parameters. Requires Platform API authentication with merchant context.\",\n input: ShippoUpdateMerchantCarrierAccountInput,\n output: ShippoUpdateMerchantCarrierAccountOutput,\n});\n"],"mappings":";;AAgDA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhDmE,EAAE,OAAO;EAC5E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACzF,YAAY,EAAE,OAAO;GACrB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;GACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;GAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;GACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;GACvF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G;GAChJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;GAChI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;GACvI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;GAC1I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;GAC9E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;GACnH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF;GAC9H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;GACjJ,mBAAmB,EA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,CAAC,CAAC,SAAS;EACrH,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-merchant-carrier-account.mjs","names":[],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'ups', 'usps', 'fedex'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.object({\n email: z.string().describe(\"Email address for the carrier account.\"),\n phone: z.string().describe(\"Phone number (e.g., '1112223333').\"),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Engineer, Mr, Ms, Mrs, Mx).\"),\n company: z.string().describe(\"Company name. Full name is acceptable if the user has no company name.\"),\n full_name: z.string().describe(\"Full name of the account holder.\"),\n collec_zip: z.string().describe(\"ZIP code of the collection/pickup address (5 digits).\"),\n has_invoice: z.boolean().describe(\"True if user has been issued a UPS invoice within the past 90 days (US/Canada) or 45 days (other countries).\"),\n invoice_date: z.string().describe(\"Date the invoice was issued in YYYYMMDD format (required if has_invoice is true).\").optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice_value (required if has_invoice is true).\").optional(),\n invoice_value: z.string().describe(\"Invoice value (required if has_invoice is true). Max 16 digits before decimal and 2 after.\").optional(),\n account_number: z.string().describe(\"The UPS account number (e.g., '94567e').\"),\n invoice_number: z.string().describe(\"Invoice number (required if has_invoice is true, 1-15 characters).\").optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to UPS terms and conditions. Must be true (error 400 if false).\"),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (required if has_invoice is true).\").optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true, 4 characters).\").optional(),\n billing_address_zip: z.string().describe(\"ZIP code of the billing address (5 digits).\"),\n collec_country_iso2: z.string().describe(\"Country ISO2 code for the collection address (2 characters).\"),\n billing_address_city: z.string().describe(\"City of the billing address.\"),\n billing_address_state: z.string().describe(\"State code of the billing address (2 characters).\"),\n billing_address_street1: z.string().describe(\"First line of the billing address.\"),\n billing_address_street2: z.string().describe(\"Second line of the billing address. Empty string acceptable.\").optional(),\n billing_address_country_iso2: z.string().describe(\"Country ISO2 code for the billing address (2 characters).\"),\n}).describe(\"Carrier-specific parameters. For UPS, includes billing address, account details, and invoice information.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '15c67bc9e2694e7c896c8d995d313442').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating a carrier account for a merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier (may be masked, e.g., '****').\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters. Some sensitive data may be masked in the response.\").nullable().optional(),\n object_owner: z.string().describe(\"The owner of this carrier account object (email address).\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates whether this is a Shippo-provided account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated carrier account details.\");\n\nexport const shippoUpdateMerchantCarrierAccount = action(\"SHIPPO_UPDATE_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-update-merchant-carrier-account\",\n name: \"Update Merchant Carrier Account\",\n description: \"Tool to update a carrier account for a merchant in Shippo Platform API. Use when you need to modify merchant carrier account settings such as activation status, billing address, or UPS-specific parameters. Requires Platform API authentication with merchant context.\",\n input: ShippoUpdateMerchantCarrierAccountInput,\n output: ShippoUpdateMerchantCarrierAccountOutput,\n});\n"],"mappings":";;AAgDA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhDqD,EAAE,OAAO;EAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACzF,YAAY,EAAE,OAAO;GACrB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;GACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;GAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;GACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;GACvF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,8GAA8G;GAChJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;GAChI,eAAe,EAAE,O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C,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
@@ -10,14 +10,14 @@ const ShippoUpdateMerchantInput = zod.z.object({
10
10
  shippo_api_version: zod.z.string().describe("Optional string to specify a non-default API version to use for this request.").optional()
11
11
  }).describe("Request model for updating an existing merchant in Shippo Platform API.");
12
12
  const ShippoUpdateMerchantOutput = zod.z.object({
13
- email: zod.z.string().describe("The merchant's email address."),
14
- last_name: zod.z.string().describe("The merchant's last name."),
13
+ email: zod.z.string().describe("The merchant's email address.").nullable(),
14
+ last_name: zod.z.string().describe("The merchant's last name.").nullable(),
15
15
  object_id: zod.z.string().describe("Unique identifier for this merchant object.").nullable().optional(),
16
- first_name: zod.z.string().describe("The merchant's first name."),
17
- merchant_name: zod.z.string().describe("The merchant's business/company name."),
16
+ first_name: zod.z.string().describe("The merchant's first name.").nullable(),
17
+ merchant_name: zod.z.string().describe("The merchant's business/company name.").nullable(),
18
18
  object_created: zod.z.string().describe("Timestamp when the merchant object was created (ISO 8601 format).").nullable().optional(),
19
19
  object_updated: zod.z.string().describe("Timestamp when the merchant object was last updated (ISO 8601 format).").nullable().optional()
20
- }).describe("Response model containing the updated merchant details.");
20
+ }).passthrough().describe("Response model containing the updated merchant details.");
21
21
  const shippoUpdateMerchant = require_action.action("SHIPPO_UPDATE_MERCHANT", {
22
22
  slug: "shippo-update-merchant",
23
23
  name: "Update Merchant",
@@ -1 +1 @@
1
- {"version":3,"file":"update-merchant.cjs","names":["z","action"],"sources":["../../src/actions/update-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The merchant's email address. This field is required.\"),\n last_name: z.string().describe(\"The merchant's last name. This field is required.\"),\n first_name: z.string().describe(\"The merchant's first name. This field is required.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant to update (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n merchant_name: z.string().describe(\"The merchant's business/company name. This field is required.\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantOutput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The merchant's email address.\"),\n last_name: z.string().describe(\"The merchant's last name.\"),\n object_id: z.string().describe(\"Unique identifier for this merchant object.\").nullable().optional(),\n first_name: z.string().describe(\"The merchant's first name.\"),\n merchant_name: z.string().describe(\"The merchant's business/company name.\"),\n object_created: z.string().describe(\"Timestamp when the merchant object was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the merchant object was last updated (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Response model containing the updated merchant details.\");\n\nexport const shippoUpdateMerchant = action(\"SHIPPO_UPDATE_MERCHANT\", {\n slug: \"shippo-update-merchant\",\n name: \"Update Merchant\",\n description: \"Tool to update an existing merchant in Shippo Platform API. Use when you need to modify merchant details such as name, email, or business information. This action requires Platform API authentication.\",\n input: ShippoUpdateMerchantInput,\n output: ShippoUpdateMerchantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAClH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAClG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-merchant.cjs","names":["z","action"],"sources":["../../src/actions/update-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantInput = z.object({\n email: z.string().describe(\"The merchant's email address. This field is required.\"),\n last_name: z.string().describe(\"The merchant's last name. This field is required.\"),\n first_name: z.string().describe(\"The merchant's first name. This field is required.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant to update (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n merchant_name: z.string().describe(\"The merchant's business/company name. This field is required.\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantOutput = z.object({\n email: z.string().describe(\"The merchant's email address.\").nullable(),\n last_name: z.string().describe(\"The merchant's last name.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this merchant object.\").nullable().optional(),\n first_name: z.string().describe(\"The merchant's first name.\").nullable(),\n merchant_name: z.string().describe(\"The merchant's business/company name.\").nullable(),\n object_created: z.string().describe(\"Timestamp when the merchant object was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the merchant object was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated merchant details.\");\n\nexport const shippoUpdateMerchant = action(\"SHIPPO_UPDATE_MERCHANT\", {\n slug: \"shippo-update-merchant\",\n name: \"Update Merchant\",\n description: \"Tool to update an existing merchant in Shippo Platform API. Use when you need to modify merchant details such as name, email, or business information. This action requires Platform API authentication.\",\n input: ShippoUpdateMerchantInput,\n output: ShippoUpdateMerchantOutput,\n});\n"],"mappings":";;;AAIA,M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CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-merchant.d.ts
4
- declare const ShippoUpdateMerchantInput: z.ZodTypeAny;
5
- declare const ShippoUpdateMerchantOutput: z.ZodTypeAny;
6
- declare const shippoUpdateMerchant: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShippoUpdateMerchantInput: z.ZodObject<{
5
+ email: z.ZodString;
6
+ last_name: z.ZodString;
7
+ first_name: z.ZodString;
8
+ merchant_id: z.ZodString;
9
+ merchant_name: z.ZodString;
10
+ shippo_api_version: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const ShippoUpdateMerchantOutput: z.ZodObject<{
13
+ email: z.ZodNullable<z.ZodString>;
14
+ last_name: z.ZodNullable<z.ZodString>;
15
+ object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ first_name: z.ZodNullable<z.ZodString>;
17
+ merchant_name: z.ZodNullable<z.ZodString>;
18
+ object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>;
21
+ declare const shippoUpdateMerchant: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ email: string;
23
+ last_name: string;
24
+ first_name: string;
25
+ merchant_id: string;
26
+ merchant_name: string;
27
+ shippo_api_version?: string | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { shippoUpdateMerchant };
9
31
  //# sourceMappingURL=update-merchant.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-merchant.d.cts","names":[],"sources":["../../src/actions/update-merchant.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAO4C;AAAA,cACzE,0BAAA,EAA4B,CAAA,CAAE,UAQ2B;AAAA,cAEzD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-merchant.d.cts","names":[],"sources":["../../src/actions/update-merchant.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAU1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-merchant.d.ts
4
- declare const ShippoUpdateMerchantInput: z.ZodTypeAny;
5
- declare const ShippoUpdateMerchantOutput: z.ZodTypeAny;
6
- declare const shippoUpdateMerchant: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShippoUpdateMerchantInput: z.ZodObject<{
5
+ email: z.ZodString;
6
+ last_name: z.ZodString;
7
+ first_name: z.ZodString;
8
+ merchant_id: z.ZodString;
9
+ merchant_name: z.ZodString;
10
+ shippo_api_version: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const ShippoUpdateMerchantOutput: z.ZodObject<{
13
+ email: z.ZodNullable<z.ZodString>;
14
+ last_name: z.ZodNullable<z.ZodString>;
15
+ object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ first_name: z.ZodNullable<z.ZodString>;
17
+ merchant_name: z.ZodNullable<z.ZodString>;
18
+ object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>;
21
+ declare const shippoUpdateMerchant: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ email: string;
23
+ last_name: string;
24
+ first_name: string;
25
+ merchant_id: string;
26
+ merchant_name: string;
27
+ shippo_api_version?: string | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { shippoUpdateMerchant };
9
31
  //# sourceMappingURL=update-merchant.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-merchant.d.mts","names":[],"sources":["../../src/actions/update-merchant.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAO4C;AAAA,cACzE,0BAAA,EAA4B,CAAA,CAAE,UAQ2B;AAAA,cAEzD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-merchant.d.mts","names":[],"sources":["../../src/actions/update-merchant.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAU1B,oBAAA,gCAAoB,wBAAA"}
@@ -13,14 +13,14 @@ const shippoUpdateMerchant = action("SHIPPO_UPDATE_MERCHANT", {
13
13
  shippo_api_version: z.string().describe("Optional string to specify a non-default API version to use for this request.").optional()
14
14
  }).describe("Request model for updating an existing merchant in Shippo Platform API."),
15
15
  output: z.object({
16
- email: z.string().describe("The merchant's email address."),
17
- last_name: z.string().describe("The merchant's last name."),
16
+ email: z.string().describe("The merchant's email address.").nullable(),
17
+ last_name: z.string().describe("The merchant's last name.").nullable(),
18
18
  object_id: z.string().describe("Unique identifier for this merchant object.").nullable().optional(),
19
- first_name: z.string().describe("The merchant's first name."),
20
- merchant_name: z.string().describe("The merchant's business/company name."),
19
+ first_name: z.string().describe("The merchant's first name.").nullable(),
20
+ merchant_name: z.string().describe("The merchant's business/company name.").nullable(),
21
21
  object_created: z.string().describe("Timestamp when the merchant object was created (ISO 8601 format).").nullable().optional(),
22
22
  object_updated: z.string().describe("Timestamp when the merchant object was last updated (ISO 8601 format).").nullable().optional()
23
- }).describe("Response model containing the updated merchant details.")
23
+ }).passthrough().describe("Response model containing the updated merchant details.")
24
24
  });
25
25
  //#endregion
26
26
  export { shippoUpdateMerchant };
@@ -1 +1 @@
1
- {"version":3,"file":"update-merchant.mjs","names":[],"sources":["../../src/actions/update-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The merchant's email address. This field is required.\"),\n last_name: z.string().describe(\"The merchant's last name. This field is required.\"),\n first_name: z.string().describe(\"The merchant's first name. This field is required.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant to update (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n merchant_name: z.string().describe(\"The merchant's business/company name. This field is required.\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantOutput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The merchant's email address.\"),\n last_name: z.string().describe(\"The merchant's last name.\"),\n object_id: z.string().describe(\"Unique identifier for this merchant object.\").nullable().optional(),\n first_name: z.string().describe(\"The merchant's first name.\"),\n merchant_name: z.string().describe(\"The merchant's business/company name.\"),\n object_created: z.string().describe(\"Timestamp when the merchant object was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the merchant object was last updated (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Response model containing the updated merchant details.\");\n\nexport const shippoUpdateMerchant = action(\"SHIPPO_UPDATE_MERCHANT\", {\n slug: \"shippo-update-merchant\",\n name: \"Update Merchant\",\n description: \"Tool to update an existing merchant in Shippo Platform API. Use when you need to modify merchant details such as name, email, or business information. This action requires Platform API authentication.\",\n input: ShippoUpdateMerchantInput,\n output: ShippoUpdateMerchantOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBqD,EAAE,OAAO;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAClH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAClG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,yEAeH;CACP,QAfsD,EAAE,OAAO;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC1E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-merchant.mjs","names":[],"sources":["../../src/actions/update-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantInput = z.object({\n email: z.string().describe(\"The merchant's email address. This field is required.\"),\n last_name: z.string().describe(\"The merchant's last name. This field is required.\"),\n first_name: z.string().describe(\"The merchant's first name. This field is required.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant to update (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n merchant_name: z.string().describe(\"The merchant's business/company name. This field is required.\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantOutput = z.object({\n email: z.string().describe(\"The merchant's email address.\").nullable(),\n last_name: z.string().describe(\"The merchant's last name.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this merchant object.\").nullable().optional(),\n first_name: z.string().describe(\"The merchant's first name.\").nullable(),\n merchant_name: z.string().describe(\"The merchant's business/company name.\").nullable(),\n object_created: z.string().describe(\"Timestamp when the merchant object was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the merchant object was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated merchant details.\");\n\nexport const shippoUpdateMerchant = action(\"SHIPPO_UPDATE_MERCHANT\", {\n slug: \"shippo-update-merchant\",\n name: \"Update Merchant\",\n description: \"Tool to update an existing merchant in Shippo Platform API. Use when you need to modify merchant details such as name, email, or business information. This action requires Platform API authentication.\",\n input: ShippoUpdateMerchantInput,\n output: ShippoUpdateMerchantOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAClH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAClG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,yEAeH;CACP,QAfwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACvE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const ShippoUpdateServiceGroupInput = zod.z.object({
11
11
  service_levels: zod.z.array(zod.z.object({
12
12
  account_object_id: zod.z.string().describe("The carrier account object ID"),
13
13
  service_level_token: zod.z.string().describe("The service level token identifying the shipping service")
14
- }).describe("Service level configuration for a service group.")).describe("Array of service level configurations to associate with this group").optional(),
14
+ }).passthrough().describe("Service level configuration for a service group.")).describe("Array of service level configurations to associate with this group").optional(),
15
15
  rate_adjustment: zod.z.number().int().describe("Rate adjustment value as percentage (e.g., 10 for 10% increase, -5 for 5% decrease)").optional(),
16
16
  flat_rate_currency: zod.z.string().describe("Currency for the flat rate (ISO 4217 currency code)").optional(),
17
17
  free_shipping_threshold_min: zod.z.string().describe("Minimum amount for free shipping threshold").optional(),
@@ -20,20 +20,20 @@ const ShippoUpdateServiceGroupInput = zod.z.object({
20
20
  const ShippoUpdateServiceGroup_ServiceLevelResponseSchema = zod.z.object({
21
21
  account_object_id: zod.z.string().describe("The carrier account object ID").nullable().optional(),
22
22
  service_level_token: zod.z.string().describe("The service level token").nullable().optional()
23
- }).describe("Service level in the response.");
23
+ }).passthrough().describe("Service level in the response.");
24
24
  const ShippoUpdateServiceGroupOutput = zod.z.object({
25
- name: zod.z.string().describe("Name of the service group"),
26
- type: zod.z.string().describe("Type of service group"),
25
+ name: zod.z.string().describe("Name of the service group").nullable(),
26
+ type: zod.z.string().describe("Type of service group").nullable(),
27
27
  flat_rate: zod.z.string().describe("Flat rate amount").nullable().optional(),
28
28
  is_active: zod.z.boolean().describe("Whether the service group is active").nullable().optional(),
29
- object_id: zod.z.string().describe("The object ID of the service group"),
30
- description: zod.z.string().describe("Description of the service group"),
29
+ object_id: zod.z.string().describe("The object ID of the service group").nullable(),
30
+ description: zod.z.string().describe("Description of the service group").nullable(),
31
31
  service_levels: zod.z.array(ShippoUpdateServiceGroup_ServiceLevelResponseSchema).describe("Array of service levels"),
32
32
  rate_adjustment: zod.z.number().int().describe("Rate adjustment value").nullable().optional(),
33
33
  flat_rate_currency: zod.z.string().describe("Flat rate currency").nullable().optional(),
34
34
  free_shipping_threshold_min: zod.z.string().describe("Minimum amount for free shipping").nullable().optional(),
35
35
  free_shipping_threshold_currency: zod.z.string().describe("Currency for free shipping threshold").nullable().optional()
36
- }).describe("Response model after updating a service group.");
36
+ }).passthrough().describe("Response model after updating a service group.");
37
37
  const shippoUpdateServiceGroup = require_action.action("SHIPPO_UPDATE_SERVICE_GROUP", {
38
38
  slug: "shippo-update-service-group",
39
39
  name: "Update Service Group",
@@ -1 +1 @@
1
- {"version":3,"file":"update-service-group.cjs","names":["z","action"],"sources":["../../src/actions/update-service-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateServiceGroupInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the service group\").optional(),\n type: z.string().describe(\"Type of service group (e.g., FLAT_RATE, LIVE_RATE)\").optional(),\n flat_rate: z.string().describe(\"Flat rate amount (used when type is FLAT_RATE)\").optional(),\n is_active: z.boolean().describe(\"Whether the service group is active\").optional(),\n object_id: z.string().describe(\"The object ID of the service group being updated\"),\n description: z.string().describe(\"Description of the service group\").optional(),\n service_levels: z.array(z.object({\n account_object_id: z.string().describe(\"The carrier account object ID\"),\n service_level_token: z.string().describe(\"The service level token identifying the shipping service\"),\n}).describe(\"Service level configuration for a service group.\")).describe(\"Array of service level configurations to associate with this group\").optional(),\n rate_adjustment: z.number().int().describe(\"Rate adjustment value as percentage (e.g., 10 for 10% increase, -5 for 5% decrease)\").optional(),\n flat_rate_currency: z.string().describe(\"Currency for the flat rate (ISO 4217 currency code)\").optional(),\n free_shipping_threshold_min: z.string().describe(\"Minimum amount for free shipping threshold\").optional(),\n free_shipping_threshold_currency: z.string().describe(\"Currency for free shipping threshold (ISO 4217 currency code)\").optional(),\n}).describe(\"Request model for updating an existing Shippo service group.\");\nconst ShippoUpdateServiceGroup_ServiceLevelResponseSchema: z.ZodTypeAny = z.object({\n account_object_id: z.string().describe(\"The carrier account object ID\").nullable().optional(),\n service_level_token: z.string().describe(\"The service level token\").nullable().optional(),\n}).describe(\"Service level in the response.\");\nexport const ShippoUpdateServiceGroupOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the service group\"),\n type: z.string().describe(\"Type of service group\"),\n flat_rate: z.string().describe(\"Flat rate amount\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the service group is active\").nullable().optional(),\n object_id: z.string().describe(\"The object ID of the service group\"),\n description: z.string().describe(\"Description of the service group\"),\n service_levels: z.array(ShippoUpdateServiceGroup_ServiceLevelResponseSchema).describe(\"Array of service levels\"),\n rate_adjustment: z.number().int().describe(\"Rate adjustment value\").nullable().optional(),\n flat_rate_currency: z.string().describe(\"Flat rate currency\").nullable().optional(),\n free_shipping_threshold_min: z.string().describe(\"Minimum amount for free shipping\").nullable().optional(),\n free_shipping_threshold_currency: z.string().describe(\"Currency for free shipping threshold\").nullable().optional(),\n}).describe(\"Response model after updating a service group.\");\n\nexport const shippoUpdateServiceGroup = action(\"SHIPPO_UPDATE_SERVICE_GROUP\", {\n slug: \"shippo-update-service-group\",\n name: \"Update Service Group\",\n description: \"Tool to update an existing Shippo service group. Use when you need to modify service group details such as name, description, rate adjustment, or service levels.\",\n input: ShippoUpdateServiceGroupInput,\n output: ShippoUpdateServiceGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACjC,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACtE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACrG,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACvJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-service-group.cjs","names":["z","action"],"sources":["../../src/actions/update-service-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateServiceGroupInput = z.object({\n name: z.string().describe(\"Name of the service group\").optional(),\n type: z.string().describe(\"Type of service group (e.g., FLAT_RATE, LIVE_RATE)\").optional(),\n flat_rate: z.string().describe(\"Flat rate amount (used when type is FLAT_RATE)\").optional(),\n is_active: z.boolean().describe(\"Whether the service group is active\").optional(),\n object_id: z.string().describe(\"The object ID of the service group being updated\"),\n description: z.string().describe(\"Description of the service group\").optional(),\n service_levels: z.array(z.object({\n account_object_id: z.string().describe(\"The carrier account object ID\"),\n service_level_token: z.string().describe(\"The service level token identifying the shipping service\"),\n}).passthrough().describe(\"Service level configuration for a service group.\")).describe(\"Array of service level configurations to associate with this group\").optional(),\n rate_adjustment: z.number().int().describe(\"Rate adjustment value as percentage (e.g., 10 for 10% increase, -5 for 5% decrease)\").optional(),\n flat_rate_currency: z.string().describe(\"Currency for the flat rate (ISO 4217 currency code)\").optional(),\n free_shipping_threshold_min: z.string().describe(\"Minimum amount for free shipping threshold\").optional(),\n free_shipping_threshold_currency: z.string().describe(\"Currency for free shipping threshold (ISO 4217 currency code)\").optional(),\n}).describe(\"Request model for updating an existing Shippo service group.\");\nconst ShippoUpdateServiceGroup_ServiceLevelResponseSchema = z.object({\n account_object_id: z.string().describe(\"The carrier account object ID\").nullable().optional(),\n service_level_token: z.string().describe(\"The service level token\").nullable().optional(),\n}).passthrough().describe(\"Service level in the response.\");\nexport const ShippoUpdateServiceGroupOutput = z.object({\n name: z.string().describe(\"Name of the service group\").nullable(),\n type: z.string().describe(\"Type of service group\").nullable(),\n flat_rate: z.string().describe(\"Flat rate amount\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the service group is active\").nullable().optional(),\n object_id: z.string().describe(\"The object ID of the service group\").nullable(),\n description: z.string().describe(\"Description of the service group\").nullable(),\n service_levels: z.array(ShippoUpdateServiceGroup_ServiceLevelResponseSchema).describe(\"Array of service levels\"),\n rate_adjustment: z.number().int().describe(\"Rate adjustment value\").nullable().optional(),\n flat_rate_currency: z.string().describe(\"Flat rate currency\").nullable().optional(),\n free_shipping_threshold_min: z.string().describe(\"Minimum amount for free shipping\").nullable().optional(),\n free_shipping_threshold_currency: z.string().describe(\"Currency for free shipping threshold\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating a service group.\");\n\nexport const shippoUpdateServiceGroup = action(\"SHIPPO_UPDATE_SERVICE_GROUP\", {\n slug: \"shippo-update-service-group\",\n name: \"Update Service Group\",\n description: \"Tool to update an existing Shippo service group. Use when you need to modify service group details such as name, description, rate adjustment, or service levels.\",\n input: ShippoUpdateServiceGroupInput,\n output: ShippoUpdateServiceGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CA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