@keystrokehq/shippo 0.1.2 → 0.1.4
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.
- package/dist/actions/create-address.cjs +3 -3
- package/dist/actions/create-address.cjs.map +1 -1
- package/dist/actions/create-address.d.cts +16 -4
- package/dist/actions/create-address.d.mts +16 -4
- package/dist/actions/create-address.mjs +3 -3
- package/dist/actions/create-address.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +4 -4
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +19 -5
- package/dist/actions/create-batch.d.mts +19 -5
- package/dist/actions/create-batch.mjs +4 -4
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-carrier-account.cjs +2 -2
- package/dist/actions/create-carrier-account.cjs.map +1 -1
- package/dist/actions/create-carrier-account.d.cts +15 -3
- package/dist/actions/create-carrier-account.d.mts +15 -3
- package/dist/actions/create-carrier-account.mjs +2 -2
- package/dist/actions/create-carrier-account.mjs.map +1 -1
- package/dist/actions/create-customs-item.cjs +1 -1
- package/dist/actions/create-customs-item.cjs.map +1 -1
- package/dist/actions/create-customs-item.d.cts +14 -2
- package/dist/actions/create-customs-item.d.mts +14 -2
- package/dist/actions/create-customs-item.mjs +1 -1
- package/dist/actions/create-customs-item.mjs.map +1 -1
- package/dist/actions/create-live-rate.cjs +6 -6
- package/dist/actions/create-live-rate.cjs.map +1 -1
- package/dist/actions/create-live-rate.d.cts +23 -7
- package/dist/actions/create-live-rate.d.mts +23 -7
- package/dist/actions/create-live-rate.mjs +6 -6
- package/dist/actions/create-live-rate.mjs.map +1 -1
- package/dist/actions/create-manifest.cjs +2 -2
- package/dist/actions/create-manifest.cjs.map +1 -1
- package/dist/actions/create-manifest.d.cts +15 -3
- package/dist/actions/create-manifest.d.mts +15 -3
- package/dist/actions/create-manifest.mjs +2 -2
- package/dist/actions/create-manifest.mjs.map +1 -1
- package/dist/actions/create-merchant-address.cjs +3 -3
- package/dist/actions/create-merchant-address.cjs.map +1 -1
- package/dist/actions/create-merchant-address.d.cts +16 -4
- package/dist/actions/create-merchant-address.d.mts +16 -4
- package/dist/actions/create-merchant-address.mjs +3 -3
- package/dist/actions/create-merchant-address.mjs.map +1 -1
- package/dist/actions/create-merchant-batch.cjs +6 -6
- package/dist/actions/create-merchant-batch.cjs.map +1 -1
- package/dist/actions/create-merchant-batch.d.cts +22 -9
- package/dist/actions/create-merchant-batch.d.mts +22 -9
- package/dist/actions/create-merchant-batch.mjs +6 -6
- package/dist/actions/create-merchant-batch.mjs.map +1 -1
- package/dist/actions/create-merchant-carrier-account.cjs +2 -2
- package/dist/actions/create-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/create-merchant-carrier-account.d.cts +15 -3
- package/dist/actions/create-merchant-carrier-account.d.mts +15 -3
- package/dist/actions/create-merchant-carrier-account.mjs +2 -2
- package/dist/actions/create-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.cjs +2 -2
- package/dist/actions/create-merchant-customs-declaration.cjs.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.d.cts +17 -4
- package/dist/actions/create-merchant-customs-declaration.d.mts +17 -4
- package/dist/actions/create-merchant-customs-declaration.mjs +2 -2
- package/dist/actions/create-merchant-customs-declaration.mjs.map +1 -1
- package/dist/actions/create-merchant-customs-item.cjs +1 -1
- package/dist/actions/create-merchant-customs-item.cjs.map +1 -1
- package/dist/actions/create-merchant-customs-item.d.cts +15 -3
- package/dist/actions/create-merchant-customs-item.d.mts +15 -3
- package/dist/actions/create-merchant-customs-item.mjs +1 -1
- package/dist/actions/create-merchant-customs-item.mjs.map +1 -1
- package/dist/actions/create-merchant-order.cjs +4 -4
- package/dist/actions/create-merchant-order.cjs.map +1 -1
- package/dist/actions/create-merchant-order.d.cts +19 -6
- package/dist/actions/create-merchant-order.d.mts +19 -6
- package/dist/actions/create-merchant-order.mjs +4 -4
- package/dist/actions/create-merchant-order.mjs.map +1 -1
- package/dist/actions/create-merchant-parcel.cjs +4 -4
- package/dist/actions/create-merchant-parcel.cjs.map +1 -1
- package/dist/actions/create-merchant-parcel.d.cts +19 -7
- package/dist/actions/create-merchant-parcel.d.mts +19 -7
- package/dist/actions/create-merchant-parcel.mjs +4 -4
- package/dist/actions/create-merchant-parcel.mjs.map +1 -1
- package/dist/actions/create-merchant-refund.cjs +1 -1
- package/dist/actions/create-merchant-refund.cjs.map +1 -1
- package/dist/actions/create-merchant-refund.d.cts +14 -2
- package/dist/actions/create-merchant-refund.d.mts +14 -2
- package/dist/actions/create-merchant-refund.mjs +1 -1
- package/dist/actions/create-merchant-refund.mjs.map +1 -1
- package/dist/actions/create-merchant-shipment.cjs +14 -14
- package/dist/actions/create-merchant-shipment.cjs.map +1 -1
- package/dist/actions/create-merchant-shipment.d.cts +34 -21
- package/dist/actions/create-merchant-shipment.d.mts +34 -21
- package/dist/actions/create-merchant-shipment.mjs +14 -14
- package/dist/actions/create-merchant-shipment.mjs.map +1 -1
- package/dist/actions/create-merchant-transaction.cjs +2 -2
- package/dist/actions/create-merchant-transaction.cjs.map +1 -1
- package/dist/actions/create-merchant-transaction.d.cts +17 -5
- package/dist/actions/create-merchant-transaction.d.mts +17 -5
- package/dist/actions/create-merchant-transaction.mjs +2 -2
- package/dist/actions/create-merchant-transaction.mjs.map +1 -1
- package/dist/actions/create-order.cjs +4 -4
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +19 -6
- package/dist/actions/create-order.d.mts +19 -6
- package/dist/actions/create-order.mjs +4 -4
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/create-parcel.cjs +4 -4
- package/dist/actions/create-parcel.cjs.map +1 -1
- package/dist/actions/create-parcel.d.cts +19 -7
- package/dist/actions/create-parcel.d.mts +19 -7
- package/dist/actions/create-parcel.mjs +4 -4
- package/dist/actions/create-parcel.mjs.map +1 -1
- package/dist/actions/create-refund.cjs +1 -1
- package/dist/actions/create-refund.cjs.map +1 -1
- package/dist/actions/create-refund.d.cts +14 -2
- package/dist/actions/create-refund.d.mts +14 -2
- package/dist/actions/create-refund.mjs +1 -1
- package/dist/actions/create-refund.mjs.map +1 -1
- package/dist/actions/create-service-group.cjs +3 -3
- package/dist/actions/create-service-group.cjs.map +1 -1
- package/dist/actions/create-service-group.d.cts +17 -4
- package/dist/actions/create-service-group.d.mts +17 -4
- package/dist/actions/create-service-group.mjs +3 -3
- package/dist/actions/create-service-group.mjs.map +1 -1
- package/dist/actions/create-shipment.cjs +10 -10
- package/dist/actions/create-shipment.cjs.map +1 -1
- package/dist/actions/create-shipment.d.cts +31 -18
- package/dist/actions/create-shipment.d.cts.map +1 -1
- package/dist/actions/create-shipment.d.mts +31 -18
- package/dist/actions/create-shipment.d.mts.map +1 -1
- package/dist/actions/create-shipment.mjs +10 -10
- package/dist/actions/create-shipment.mjs.map +1 -1
- package/dist/actions/create-track.cjs +5 -5
- package/dist/actions/create-track.cjs.map +1 -1
- package/dist/actions/create-track.d.cts +21 -9
- package/dist/actions/create-track.d.mts +21 -9
- package/dist/actions/create-track.mjs +5 -5
- package/dist/actions/create-track.mjs.map +1 -1
- package/dist/actions/create-transaction.cjs +3 -3
- package/dist/actions/create-transaction.cjs.map +1 -1
- package/dist/actions/create-transaction.d.cts +19 -7
- package/dist/actions/create-transaction.d.cts.map +1 -1
- package/dist/actions/create-transaction.d.mts +19 -7
- package/dist/actions/create-transaction.d.mts.map +1 -1
- package/dist/actions/create-transaction.mjs +3 -3
- package/dist/actions/create-transaction.mjs.map +1 -1
- package/dist/actions/create-user-parcel-template.cjs +2 -2
- package/dist/actions/create-user-parcel-template.cjs.map +1 -1
- package/dist/actions/create-user-parcel-template.d.cts +15 -3
- package/dist/actions/create-user-parcel-template.d.mts +15 -3
- package/dist/actions/create-user-parcel-template.mjs +2 -2
- package/dist/actions/create-user-parcel-template.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -1
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +18 -6
- package/dist/actions/create-webhook.d.mts +18 -6
- package/dist/actions/create-webhook.mjs +1 -1
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-default-parcel-template.cjs +1 -1
- package/dist/actions/delete-default-parcel-template.cjs.map +1 -1
- package/dist/actions/delete-default-parcel-template.d.cts +14 -2
- package/dist/actions/delete-default-parcel-template.d.mts +14 -2
- package/dist/actions/delete-default-parcel-template.mjs +1 -1
- package/dist/actions/delete-default-parcel-template.mjs.map +1 -1
- package/dist/actions/delete-user-parcel-template.cjs +1 -1
- package/dist/actions/delete-user-parcel-template.cjs.map +1 -1
- package/dist/actions/delete-user-parcel-template.d.cts +14 -2
- package/dist/actions/delete-user-parcel-template.d.mts +14 -2
- package/dist/actions/delete-user-parcel-template.mjs +1 -1
- package/dist/actions/delete-user-parcel-template.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +14 -2
- package/dist/actions/delete-webhook.d.mts +14 -2
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-address.cjs +3 -3
- package/dist/actions/get-address.cjs.map +1 -1
- package/dist/actions/get-address.d.cts +16 -4
- package/dist/actions/get-address.d.mts +16 -4
- package/dist/actions/get-address.mjs +3 -3
- package/dist/actions/get-address.mjs.map +1 -1
- package/dist/actions/get-carrier-account.cjs +2 -2
- package/dist/actions/get-carrier-account.cjs.map +1 -1
- package/dist/actions/get-carrier-account.d.cts +15 -3
- package/dist/actions/get-carrier-account.d.mts +15 -3
- package/dist/actions/get-carrier-account.mjs +2 -2
- package/dist/actions/get-carrier-account.mjs.map +1 -1
- package/dist/actions/get-carrier-parcel-template.cjs +1 -1
- package/dist/actions/get-carrier-parcel-template.cjs.map +1 -1
- package/dist/actions/get-carrier-parcel-template.d.cts +15 -3
- package/dist/actions/get-carrier-parcel-template.d.mts +15 -3
- package/dist/actions/get-carrier-parcel-template.mjs +1 -1
- package/dist/actions/get-carrier-parcel-template.mjs.map +1 -1
- package/dist/actions/get-carrier-registration-status.cjs +1 -1
- package/dist/actions/get-carrier-registration-status.cjs.map +1 -1
- package/dist/actions/get-carrier-registration-status.d.cts +14 -2
- package/dist/actions/get-carrier-registration-status.d.mts +14 -2
- package/dist/actions/get-carrier-registration-status.mjs +1 -1
- package/dist/actions/get-carrier-registration-status.mjs.map +1 -1
- package/dist/actions/get-customs-declaration.cjs +4 -4
- package/dist/actions/get-customs-declaration.cjs.map +1 -1
- package/dist/actions/get-customs-declaration.d.cts +17 -5
- package/dist/actions/get-customs-declaration.d.mts +17 -5
- package/dist/actions/get-customs-declaration.mjs +4 -4
- package/dist/actions/get-customs-declaration.mjs.map +1 -1
- package/dist/actions/get-customs-item.cjs +1 -1
- package/dist/actions/get-customs-item.cjs.map +1 -1
- package/dist/actions/get-customs-item.d.cts +14 -2
- package/dist/actions/get-customs-item.d.mts +14 -2
- package/dist/actions/get-customs-item.mjs +1 -1
- package/dist/actions/get-customs-item.mjs.map +1 -1
- package/dist/actions/get-default-parcel-template.cjs +2 -2
- package/dist/actions/get-default-parcel-template.cjs.map +1 -1
- package/dist/actions/get-default-parcel-template.d.cts +15 -3
- package/dist/actions/get-default-parcel-template.d.mts +15 -3
- package/dist/actions/get-default-parcel-template.mjs +2 -2
- package/dist/actions/get-default-parcel-template.mjs.map +1 -1
- package/dist/actions/get-merchant-address.cjs +3 -3
- package/dist/actions/get-merchant-address.cjs.map +1 -1
- package/dist/actions/get-merchant-address.d.cts +16 -4
- package/dist/actions/get-merchant-address.d.mts +16 -4
- package/dist/actions/get-merchant-address.mjs +3 -3
- package/dist/actions/get-merchant-address.mjs.map +1 -1
- package/dist/actions/get-merchant-batch.cjs +3 -3
- package/dist/actions/get-merchant-batch.cjs.map +1 -1
- package/dist/actions/get-merchant-batch.d.cts +18 -6
- package/dist/actions/get-merchant-batch.d.mts +18 -6
- package/dist/actions/get-merchant-batch.mjs +3 -3
- package/dist/actions/get-merchant-batch.mjs.map +1 -1
- package/dist/actions/get-merchant-carrier-account.cjs +2 -2
- package/dist/actions/get-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/get-merchant-carrier-account.d.cts +15 -3
- package/dist/actions/get-merchant-carrier-account.d.mts +15 -3
- package/dist/actions/get-merchant-carrier-account.mjs +2 -2
- package/dist/actions/get-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.cjs +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.cjs.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.d.cts +14 -2
- package/dist/actions/get-merchant-carrier-registration-status.d.mts +14 -2
- package/dist/actions/get-merchant-carrier-registration-status.mjs +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.mjs.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.cjs +1 -1
- package/dist/actions/get-merchant-customs-declaration.cjs.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.d.cts +14 -2
- package/dist/actions/get-merchant-customs-declaration.d.mts +14 -2
- package/dist/actions/get-merchant-customs-declaration.mjs +1 -1
- package/dist/actions/get-merchant-customs-declaration.mjs.map +1 -1
- package/dist/actions/get-merchant-customs-item.cjs +1 -1
- package/dist/actions/get-merchant-customs-item.cjs.map +1 -1
- package/dist/actions/get-merchant-customs-item.d.cts +14 -2
- package/dist/actions/get-merchant-customs-item.d.mts +14 -2
- package/dist/actions/get-merchant-customs-item.mjs +1 -1
- package/dist/actions/get-merchant-customs-item.mjs.map +1 -1
- package/dist/actions/get-merchant-manifest.cjs +1 -1
- package/dist/actions/get-merchant-manifest.cjs.map +1 -1
- package/dist/actions/get-merchant-manifest.d.cts +14 -2
- package/dist/actions/get-merchant-manifest.d.mts +14 -2
- package/dist/actions/get-merchant-manifest.mjs +1 -1
- package/dist/actions/get-merchant-manifest.mjs.map +1 -1
- package/dist/actions/get-merchant-order.cjs +3 -3
- package/dist/actions/get-merchant-order.cjs.map +1 -1
- package/dist/actions/get-merchant-order.d.cts +17 -5
- package/dist/actions/get-merchant-order.d.mts +17 -5
- package/dist/actions/get-merchant-order.mjs +3 -3
- package/dist/actions/get-merchant-order.mjs.map +1 -1
- package/dist/actions/get-merchant-parcel.cjs +4 -4
- package/dist/actions/get-merchant-parcel.cjs.map +1 -1
- package/dist/actions/get-merchant-parcel.d.cts +17 -5
- package/dist/actions/get-merchant-parcel.d.mts +17 -5
- package/dist/actions/get-merchant-parcel.mjs +4 -4
- package/dist/actions/get-merchant-parcel.mjs.map +1 -1
- package/dist/actions/get-merchant-rate.cjs +3 -3
- package/dist/actions/get-merchant-rate.cjs.map +1 -1
- package/dist/actions/get-merchant-rate.d.cts +16 -4
- package/dist/actions/get-merchant-rate.d.mts +16 -4
- package/dist/actions/get-merchant-rate.mjs +3 -3
- package/dist/actions/get-merchant-rate.mjs.map +1 -1
- package/dist/actions/get-merchant-refund.cjs +1 -1
- package/dist/actions/get-merchant-refund.cjs.map +1 -1
- package/dist/actions/get-merchant-refund.d.cts +14 -2
- package/dist/actions/get-merchant-refund.d.mts +14 -2
- package/dist/actions/get-merchant-refund.mjs +1 -1
- package/dist/actions/get-merchant-refund.mjs.map +1 -1
- package/dist/actions/get-merchant-shipment.cjs +14 -14
- package/dist/actions/get-merchant-shipment.cjs.map +1 -1
- package/dist/actions/get-merchant-shipment.d.cts +32 -20
- package/dist/actions/get-merchant-shipment.d.mts +32 -20
- package/dist/actions/get-merchant-shipment.mjs +14 -14
- package/dist/actions/get-merchant-shipment.mjs.map +1 -1
- package/dist/actions/get-merchant-track.cjs +6 -6
- package/dist/actions/get-merchant-track.cjs.map +1 -1
- package/dist/actions/get-merchant-track.d.cts +21 -9
- package/dist/actions/get-merchant-track.d.mts +21 -9
- package/dist/actions/get-merchant-track.mjs +6 -6
- package/dist/actions/get-merchant-track.mjs.map +1 -1
- package/dist/actions/get-merchant-transaction.cjs +2 -2
- package/dist/actions/get-merchant-transaction.cjs.map +1 -1
- package/dist/actions/get-merchant-transaction.d.cts +17 -5
- package/dist/actions/get-merchant-transaction.d.mts +17 -5
- package/dist/actions/get-merchant-transaction.mjs +2 -2
- package/dist/actions/get-merchant-transaction.mjs.map +1 -1
- package/dist/actions/get-merchant.cjs +1 -1
- package/dist/actions/get-merchant.cjs.map +1 -1
- package/dist/actions/get-merchant.d.cts +14 -2
- package/dist/actions/get-merchant.d.mts +14 -2
- package/dist/actions/get-merchant.mjs +1 -1
- package/dist/actions/get-merchant.mjs.map +1 -1
- package/dist/actions/get-order.cjs +5 -5
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +19 -7
- package/dist/actions/get-order.d.mts +19 -7
- package/dist/actions/get-order.mjs +5 -5
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-parcel.cjs +4 -4
- package/dist/actions/get-parcel.cjs.map +1 -1
- package/dist/actions/get-parcel.d.cts +17 -5
- package/dist/actions/get-parcel.d.mts +17 -5
- package/dist/actions/get-parcel.mjs +4 -4
- package/dist/actions/get-parcel.mjs.map +1 -1
- package/dist/actions/get-rate.cjs +3 -3
- package/dist/actions/get-rate.cjs.map +1 -1
- package/dist/actions/get-rate.d.cts +16 -4
- package/dist/actions/get-rate.d.mts +16 -4
- package/dist/actions/get-rate.mjs +3 -3
- package/dist/actions/get-rate.mjs.map +1 -1
- package/dist/actions/get-refund.cjs +1 -1
- package/dist/actions/get-refund.cjs.map +1 -1
- package/dist/actions/get-refund.d.cts +14 -2
- package/dist/actions/get-refund.d.mts +14 -2
- package/dist/actions/get-refund.mjs +1 -1
- package/dist/actions/get-refund.mjs.map +1 -1
- package/dist/actions/get-shipment.cjs +9 -9
- package/dist/actions/get-shipment.cjs.map +1 -1
- package/dist/actions/get-shipment.d.cts +26 -14
- package/dist/actions/get-shipment.d.mts +26 -14
- package/dist/actions/get-shipment.mjs +9 -9
- package/dist/actions/get-shipment.mjs.map +1 -1
- package/dist/actions/get-shippo-account.cjs +1 -1
- package/dist/actions/get-shippo-account.cjs.map +1 -1
- package/dist/actions/get-shippo-account.d.cts +14 -2
- package/dist/actions/get-shippo-account.d.mts +14 -2
- package/dist/actions/get-shippo-account.mjs +1 -1
- package/dist/actions/get-shippo-account.mjs.map +1 -1
- package/dist/actions/get-track.cjs +6 -6
- package/dist/actions/get-track.cjs.map +1 -1
- package/dist/actions/get-track.d.cts +21 -9
- package/dist/actions/get-track.d.mts +21 -9
- package/dist/actions/get-track.mjs +6 -6
- package/dist/actions/get-track.mjs.map +1 -1
- package/dist/actions/get-transaction.cjs +2 -2
- package/dist/actions/get-transaction.cjs.map +1 -1
- package/dist/actions/get-transaction.d.cts +15 -3
- package/dist/actions/get-transaction.d.mts +15 -3
- package/dist/actions/get-transaction.mjs +2 -2
- package/dist/actions/get-transaction.mjs.map +1 -1
- package/dist/actions/get-user-parcel-template.cjs +2 -2
- package/dist/actions/get-user-parcel-template.cjs.map +1 -1
- package/dist/actions/get-user-parcel-template.d.cts +15 -3
- package/dist/actions/get-user-parcel-template.d.mts +15 -3
- package/dist/actions/get-user-parcel-template.mjs +2 -2
- package/dist/actions/get-user-parcel-template.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -1
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +14 -2
- package/dist/actions/get-webhook.d.mts +14 -2
- package/dist/actions/get-webhook.mjs +1 -1
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-addresses.cjs +4 -4
- package/dist/actions/list-addresses.cjs.map +1 -1
- package/dist/actions/list-addresses.d.cts +17 -5
- package/dist/actions/list-addresses.d.mts +17 -5
- package/dist/actions/list-addresses.mjs +4 -4
- package/dist/actions/list-addresses.mjs.map +1 -1
- package/dist/actions/list-carrier-accounts.cjs +4 -4
- package/dist/actions/list-carrier-accounts.cjs.map +1 -1
- package/dist/actions/list-carrier-accounts.d.cts +17 -5
- package/dist/actions/list-carrier-accounts.d.mts +17 -5
- package/dist/actions/list-carrier-accounts.mjs +4 -4
- package/dist/actions/list-carrier-accounts.mjs.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.cjs +2 -2
- package/dist/actions/list-carrier-parcel-templates.cjs.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.d.cts +16 -4
- package/dist/actions/list-carrier-parcel-templates.d.mts +16 -4
- package/dist/actions/list-carrier-parcel-templates.mjs +2 -2
- package/dist/actions/list-carrier-parcel-templates.mjs.map +1 -1
- package/dist/actions/list-customs-declarations.cjs +7 -7
- package/dist/actions/list-customs-declarations.cjs.map +1 -1
- package/dist/actions/list-customs-declarations.d.cts +20 -8
- package/dist/actions/list-customs-declarations.d.mts +20 -8
- package/dist/actions/list-customs-declarations.mjs +7 -7
- package/dist/actions/list-customs-declarations.mjs.map +1 -1
- package/dist/actions/list-customs-items.cjs +2 -2
- package/dist/actions/list-customs-items.cjs.map +1 -1
- package/dist/actions/list-customs-items.d.cts +15 -3
- package/dist/actions/list-customs-items.d.mts +15 -3
- package/dist/actions/list-customs-items.mjs +2 -2
- package/dist/actions/list-customs-items.mjs.map +1 -1
- package/dist/actions/list-manifests.cjs +2 -2
- package/dist/actions/list-manifests.cjs.map +1 -1
- package/dist/actions/list-manifests.d.cts +15 -3
- package/dist/actions/list-manifests.d.mts +15 -3
- package/dist/actions/list-manifests.mjs +2 -2
- package/dist/actions/list-manifests.mjs.map +1 -1
- package/dist/actions/list-merchant-addresses.cjs +4 -4
- package/dist/actions/list-merchant-addresses.cjs.map +1 -1
- package/dist/actions/list-merchant-addresses.d.cts +17 -5
- package/dist/actions/list-merchant-addresses.d.mts +17 -5
- package/dist/actions/list-merchant-addresses.mjs +4 -4
- package/dist/actions/list-merchant-addresses.mjs.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.cjs +3 -3
- package/dist/actions/list-merchant-carrier-accounts.cjs.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.d.cts +16 -4
- package/dist/actions/list-merchant-carrier-accounts.d.mts +16 -4
- package/dist/actions/list-merchant-carrier-accounts.mjs +3 -3
- package/dist/actions/list-merchant-carrier-accounts.mjs.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.cjs +2 -2
- package/dist/actions/list-merchant-customs-declarations.cjs.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.d.cts +15 -3
- package/dist/actions/list-merchant-customs-declarations.d.mts +15 -3
- package/dist/actions/list-merchant-customs-declarations.mjs +2 -2
- package/dist/actions/list-merchant-customs-declarations.mjs.map +1 -1
- package/dist/actions/list-merchant-customs-items.cjs +2 -2
- package/dist/actions/list-merchant-customs-items.cjs.map +1 -1
- package/dist/actions/list-merchant-customs-items.d.cts +15 -3
- package/dist/actions/list-merchant-customs-items.d.mts +15 -3
- package/dist/actions/list-merchant-customs-items.mjs +2 -2
- package/dist/actions/list-merchant-customs-items.mjs.map +1 -1
- package/dist/actions/list-merchant-manifests.cjs +3 -3
- package/dist/actions/list-merchant-manifests.cjs.map +1 -1
- package/dist/actions/list-merchant-manifests.d.cts +16 -4
- package/dist/actions/list-merchant-manifests.d.mts +16 -4
- package/dist/actions/list-merchant-manifests.mjs +3 -3
- package/dist/actions/list-merchant-manifests.mjs.map +1 -1
- package/dist/actions/list-merchant-parcels.cjs +3 -3
- package/dist/actions/list-merchant-parcels.cjs.map +1 -1
- package/dist/actions/list-merchant-parcels.d.cts +16 -4
- package/dist/actions/list-merchant-parcels.d.mts +16 -4
- package/dist/actions/list-merchant-parcels.mjs +3 -3
- package/dist/actions/list-merchant-parcels.mjs.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.cjs +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.cjs.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.cts +17 -5
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts +17 -5
- package/dist/actions/list-merchant-shipment-rates-by-currency.mjs +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.mjs.map +1 -1
- package/dist/actions/list-merchant-shipments.cjs +10 -10
- package/dist/actions/list-merchant-shipments.cjs.map +1 -1
- package/dist/actions/list-merchant-shipments.d.cts +26 -14
- package/dist/actions/list-merchant-shipments.d.mts +26 -14
- package/dist/actions/list-merchant-shipments.mjs +10 -10
- package/dist/actions/list-merchant-shipments.mjs.map +1 -1
- package/dist/actions/list-merchant-transactions.cjs +3 -3
- package/dist/actions/list-merchant-transactions.cjs.map +1 -1
- package/dist/actions/list-merchant-transactions.d.cts +16 -4
- package/dist/actions/list-merchant-transactions.d.mts +16 -4
- package/dist/actions/list-merchant-transactions.mjs +3 -3
- package/dist/actions/list-merchant-transactions.mjs.map +1 -1
- package/dist/actions/list-merchants.cjs +2 -2
- package/dist/actions/list-merchants.cjs.map +1 -1
- package/dist/actions/list-merchants.d.cts +15 -3
- package/dist/actions/list-merchants.d.mts +15 -3
- package/dist/actions/list-merchants.mjs +2 -2
- package/dist/actions/list-merchants.mjs.map +1 -1
- package/dist/actions/list-orders.cjs +6 -6
- package/dist/actions/list-orders.cjs.map +1 -1
- package/dist/actions/list-orders.d.cts +20 -8
- package/dist/actions/list-orders.d.mts +20 -8
- package/dist/actions/list-orders.mjs +6 -6
- package/dist/actions/list-orders.mjs.map +1 -1
- package/dist/actions/list-refunds.cjs +2 -2
- package/dist/actions/list-refunds.cjs.map +1 -1
- package/dist/actions/list-refunds.d.cts +15 -3
- package/dist/actions/list-refunds.d.mts +15 -3
- package/dist/actions/list-refunds.mjs +2 -2
- package/dist/actions/list-refunds.mjs.map +1 -1
- package/dist/actions/list-service-groups.cjs +3 -3
- package/dist/actions/list-service-groups.cjs.map +1 -1
- package/dist/actions/list-service-groups.d.cts +16 -4
- package/dist/actions/list-service-groups.d.mts +16 -4
- package/dist/actions/list-service-groups.mjs +3 -3
- package/dist/actions/list-service-groups.mjs.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.cjs +4 -4
- package/dist/actions/list-shipment-rates-by-currency.cjs.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.d.cts +17 -5
- package/dist/actions/list-shipment-rates-by-currency.d.mts +17 -5
- package/dist/actions/list-shipment-rates-by-currency.mjs +4 -4
- package/dist/actions/list-shipment-rates-by-currency.mjs.map +1 -1
- package/dist/actions/list-shipment-rates.cjs +4 -4
- package/dist/actions/list-shipment-rates.cjs.map +1 -1
- package/dist/actions/list-shipment-rates.d.cts +17 -5
- package/dist/actions/list-shipment-rates.d.mts +17 -5
- package/dist/actions/list-shipment-rates.mjs +4 -4
- package/dist/actions/list-shipment-rates.mjs.map +1 -1
- package/dist/actions/list-shipments.cjs +9 -9
- package/dist/actions/list-shipments.cjs.map +1 -1
- package/dist/actions/list-shipments.d.cts +26 -14
- package/dist/actions/list-shipments.d.mts +26 -14
- package/dist/actions/list-shipments.mjs +9 -9
- package/dist/actions/list-shipments.mjs.map +1 -1
- package/dist/actions/list-shippo-accounts.cjs +2 -2
- package/dist/actions/list-shippo-accounts.cjs.map +1 -1
- package/dist/actions/list-shippo-accounts.d.cts +15 -3
- package/dist/actions/list-shippo-accounts.d.mts +15 -3
- package/dist/actions/list-shippo-accounts.mjs +2 -2
- package/dist/actions/list-shippo-accounts.mjs.map +1 -1
- package/dist/actions/list-user-parcel-templates.cjs +3 -3
- package/dist/actions/list-user-parcel-templates.cjs.map +1 -1
- package/dist/actions/list-user-parcel-templates.d.cts +16 -4
- package/dist/actions/list-user-parcel-templates.d.mts +16 -4
- package/dist/actions/list-user-parcel-templates.mjs +3 -3
- package/dist/actions/list-user-parcel-templates.mjs.map +1 -1
- package/dist/actions/purchase-merchant-batch.cjs +4 -4
- package/dist/actions/purchase-merchant-batch.cjs.map +1 -1
- package/dist/actions/purchase-merchant-batch.d.cts +17 -5
- package/dist/actions/purchase-merchant-batch.d.mts +17 -5
- package/dist/actions/purchase-merchant-batch.mjs +4 -4
- package/dist/actions/purchase-merchant-batch.mjs.map +1 -1
- package/dist/actions/remove-shipments-from-batch.cjs +5 -5
- package/dist/actions/remove-shipments-from-batch.cjs.map +1 -1
- package/dist/actions/remove-shipments-from-batch.d.cts +18 -6
- package/dist/actions/remove-shipments-from-batch.d.mts +18 -6
- package/dist/actions/remove-shipments-from-batch.mjs +5 -5
- package/dist/actions/remove-shipments-from-batch.mjs.map +1 -1
- package/dist/actions/update-carrier-account.cjs +3 -3
- package/dist/actions/update-carrier-account.cjs.map +1 -1
- package/dist/actions/update-carrier-account.d.cts +17 -5
- package/dist/actions/update-carrier-account.d.cts.map +1 -1
- package/dist/actions/update-carrier-account.d.mts +17 -5
- package/dist/actions/update-carrier-account.d.mts.map +1 -1
- package/dist/actions/update-carrier-account.mjs +3 -3
- package/dist/actions/update-carrier-account.mjs.map +1 -1
- package/dist/actions/update-default-parcel-template.cjs +3 -3
- package/dist/actions/update-default-parcel-template.cjs.map +1 -1
- package/dist/actions/update-default-parcel-template.d.cts +16 -4
- package/dist/actions/update-default-parcel-template.d.mts +16 -4
- package/dist/actions/update-default-parcel-template.mjs +3 -3
- package/dist/actions/update-default-parcel-template.mjs.map +1 -1
- package/dist/actions/update-merchant-carrier-account.cjs +2 -2
- package/dist/actions/update-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/update-merchant-carrier-account.d.cts +15 -3
- package/dist/actions/update-merchant-carrier-account.d.mts +15 -3
- package/dist/actions/update-merchant-carrier-account.mjs +2 -2
- package/dist/actions/update-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/update-merchant.cjs +1 -1
- package/dist/actions/update-merchant.cjs.map +1 -1
- package/dist/actions/update-merchant.d.cts +14 -2
- package/dist/actions/update-merchant.d.mts +14 -2
- package/dist/actions/update-merchant.mjs +1 -1
- package/dist/actions/update-merchant.mjs.map +1 -1
- package/dist/actions/update-service-group.cjs +3 -3
- package/dist/actions/update-service-group.cjs.map +1 -1
- package/dist/actions/update-service-group.d.cts +17 -4
- package/dist/actions/update-service-group.d.mts +17 -4
- package/dist/actions/update-service-group.mjs +3 -3
- package/dist/actions/update-service-group.mjs.map +1 -1
- package/dist/actions/update-user-parcel-template.cjs +2 -2
- package/dist/actions/update-user-parcel-template.cjs.map +1 -1
- package/dist/actions/update-user-parcel-template.d.cts +15 -3
- package/dist/actions/update-user-parcel-template.d.mts +15 -3
- package/dist/actions/update-user-parcel-template.mjs +2 -2
- package/dist/actions/update-user-parcel-template.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -1
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +18 -6
- package/dist/actions/update-webhook.d.mts +18 -6
- package/dist/actions/update-webhook.mjs +1 -1
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/validate-address.cjs +3 -3
- package/dist/actions/validate-address.cjs.map +1 -1
- package/dist/actions/validate-address.d.cts +16 -4
- package/dist/actions/validate-address.d.mts +16 -4
- package/dist/actions/validate-address.mjs +3 -3
- package/dist/actions/validate-address.mjs.map +1 -1
- package/dist/actions/validate-merchant-address.cjs +3 -3
- package/dist/actions/validate-merchant-address.cjs.map +1 -1
- package/dist/actions/validate-merchant-address.d.cts +16 -4
- package/dist/actions/validate-merchant-address.d.mts +16 -4
- package/dist/actions/validate-merchant-address.mjs +3 -3
- package/dist/actions/validate-merchant-address.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-shipment-rates-by-currency.mjs","names":[],"sources":["../../src/actions/list-merchant-shipment-rates-by-currency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantShipmentRatesByCurrencyInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shipment_id: z.string().describe(\"Object ID of the shipment to retrieve rates for\"),\n currency_code: z.string().describe(\"ISO currency code to filter rates by (e.g., USD, EUR, GBP)\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing merchant shipment rates filtered by currency code.\");\nconst ShippoListMerchantShipmentRatesByCurrency_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).describe(\"Message object in the rate response.\");\nconst ShippoListMerchantShipmentRatesByCurrency_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoListMerchantShipmentRatesByCurrency_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.\").nullable().optional(),\n}).describe(\"Service level information for the rate.\");\nconst ShippoListMerchantShipmentRatesByCurrency_ShipmentRateSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n messages: z.array(ShippoListMerchantShipmentRatesByCurrency_MessageObjectSchema).describe(\"An array containing message objects with code and text information\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'\").nullable().optional(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object\").nullable().optional(),\n arrives_by: z.string().describe(\"Estimated arrival time information\").nullable().optional(),\n attributes: z.array(ShippoListMerchantShipmentRatesByCurrency_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\").nullable().optional(),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the rate object\").nullable().optional(),\n servicelevel: ShippoListMerchantShipmentRatesByCurrency_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px\").nullable().optional(),\n}).describe(\"Rate object for a shipment.\");\nexport const ShippoListMerchantShipmentRatesByCurrencyOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListMerchantShipmentRatesByCurrency_ShipmentRateSchema).describe(\"Array of rate objects for the shipment in the specified currency\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).describe(\"Response containing paginated list of shipment rates filtered by currency.\");\n\nexport const shippoListMerchantShipmentRatesByCurrency = action(\"SHIPPO_LIST_MERCHANT_SHIPMENT_RATES_BY_CURRENCY\", {\n slug: \"shippo-list-merchant-shipment-rates-by-currency\",\n name: \"List Merchant Shipment Rates by Currency\",\n description: \"Tool to retrieve available shipping rates for a merchant's shipment filtered by currency code using the Shippo Platform API. Use when you need to compare carrier pricing in a specific currency for a merchant's shipment.\",\n input: ShippoListMerchantShipmentRatesByCurrencyInput,\n output: ShippoListMerchantShipmentRatesByCurrencyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,gEAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"list-merchant-shipment-rates-by-currency.mjs","names":[],"sources":["../../src/actions/list-merchant-shipment-rates-by-currency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantShipmentRatesByCurrencyInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shipment_id: z.string().describe(\"Object ID of the shipment to retrieve rates for\"),\n currency_code: z.string().describe(\"ISO currency code to filter rates by (e.g., USD, EUR, GBP)\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing merchant shipment rates filtered by currency code.\");\nconst ShippoListMerchantShipmentRatesByCurrency_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoListMerchantShipmentRatesByCurrency_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoListMerchantShipmentRatesByCurrency_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nconst ShippoListMerchantShipmentRatesByCurrency_ShipmentRateSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n messages: z.array(ShippoListMerchantShipmentRatesByCurrency_MessageObjectSchema).describe(\"An array containing message objects with code and text information\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'\").nullable().optional(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object\").nullable().optional(),\n arrives_by: z.string().describe(\"Estimated arrival time information\").nullable().optional(),\n attributes: z.array(ShippoListMerchantShipmentRatesByCurrency_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\").nullable().optional(),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the rate object\").nullable().optional(),\n servicelevel: ShippoListMerchantShipmentRatesByCurrency_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'\").nullable().optional(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px\").nullable().optional(),\n}).passthrough().describe(\"Rate object for a shipment.\");\nexport const ShippoListMerchantShipmentRatesByCurrencyOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListMerchantShipmentRatesByCurrency_ShipmentRateSchema).describe(\"Array of rate objects for the shipment in the specified currency\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of shipment rates filtered by currency.\");\n\nexport const shippoListMerchantShipmentRatesByCurrency = action(\"SHIPPO_LIST_MERCHANT_SHIPMENT_RATES_BY_CURRENCY\", {\n slug: \"shippo-list-merchant-shipment-rates-by-currency\",\n name: \"List Merchant Shipment Rates by Currency\",\n description: \"Tool to retrieve available shipping rates for a merchant's shipment filtered by currency code using the Shippo Platform API. Use when you need to compare carrier pricing in a specific currency for a merchant's shipment.\",\n input: ShippoListMerchantShipmentRatesByCurrencyInput,\n output: ShippoListMerchantShipmentRatesByCurrencyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,gEAAgE,EAAE,OAAO;CAC7E,M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AoB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAOvD,MAAa,4CAA4C,OAAO,mDAAmD;CACjH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6D,EAAE,OAAO;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
|
|
@@ -13,17 +13,17 @@ const ShippoListMerchantShipments_ServiceLevelSchema = zod.z.object({
|
|
|
13
13
|
token: zod.z.string().describe("Service level token").nullable().optional(),
|
|
14
14
|
display_name: zod.z.string().describe("Display name").nullable().optional(),
|
|
15
15
|
parent_servicelevel: zod.z.string().describe("Parent service level reference").nullable().optional()
|
|
16
|
-
}).describe("Service level details for a shipment rate.");
|
|
16
|
+
}).passthrough().describe("Service level details for a shipment rate.");
|
|
17
17
|
const ShippoListMerchantShipments_ShipmentRateSchema = zod.z.object({
|
|
18
18
|
amount: zod.z.string().describe("Rate amount").nullable().optional(),
|
|
19
19
|
currency: zod.z.string().describe("Currency code").nullable().optional(),
|
|
20
20
|
provider: zod.z.string().describe("Carrier provider name").nullable().optional(),
|
|
21
21
|
object_id: zod.z.string().describe("Unique identifier for the rate").nullable().optional(),
|
|
22
|
-
servicelevel: zod.z.union([ShippoListMerchantShipments_ServiceLevelSchema, zod.z.
|
|
22
|
+
servicelevel: zod.z.union([ShippoListMerchantShipments_ServiceLevelSchema, zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
|
|
23
23
|
duration_terms: zod.z.string().describe("Duration terms description").nullable().optional(),
|
|
24
24
|
estimated_days: zod.z.number().int().describe("Estimated delivery days").nullable().optional(),
|
|
25
25
|
carrier_account: zod.z.string().describe("Carrier account ID used").nullable().optional()
|
|
26
|
-
}).describe("Rate object for a shipment.");
|
|
26
|
+
}).passthrough().describe("Rate object for a shipment.");
|
|
27
27
|
const ShippoListMerchantShipments_ShipmentParcelSchema = zod.z.object({
|
|
28
28
|
width: zod.z.string().describe("Width of the parcel").nullable().optional(),
|
|
29
29
|
height: zod.z.string().describe("Height of the parcel").nullable().optional(),
|
|
@@ -32,7 +32,7 @@ const ShippoListMerchantShipments_ShipmentParcelSchema = zod.z.object({
|
|
|
32
32
|
mass_unit: zod.z.string().describe("Unit for weight (e.g., lb, kg)").nullable().optional(),
|
|
33
33
|
object_id: zod.z.string().describe("Unique identifier for the parcel").nullable().optional(),
|
|
34
34
|
distance_unit: zod.z.string().describe("Unit for dimensions (e.g., cm, in)").nullable().optional()
|
|
35
|
-
}).describe("Parcel object within a shipment.");
|
|
35
|
+
}).passthrough().describe("Parcel object within a shipment.");
|
|
36
36
|
const ShippoListMerchantShipments_ShipmentAddressSchema = zod.z.object({
|
|
37
37
|
zip: zod.z.string().describe("Postal code").nullable().optional(),
|
|
38
38
|
city: zod.z.string().describe("City name").nullable().optional(),
|
|
@@ -49,16 +49,16 @@ const ShippoListMerchantShipments_ShipmentAddressSchema = zod.z.object({
|
|
|
49
49
|
object_id: zod.z.string().describe("Unique identifier for the address").nullable().optional(),
|
|
50
50
|
is_complete: zod.z.boolean().describe("Whether all required address fields are present").nullable().optional(),
|
|
51
51
|
is_residential: zod.z.boolean().describe("Whether this is a residential address").nullable().optional(),
|
|
52
|
-
validation_results: zod.z.
|
|
53
|
-
}).describe("Address object within a shipment.");
|
|
52
|
+
validation_results: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Address validation results").nullable().optional()
|
|
53
|
+
}).passthrough().describe("Address object within a shipment.");
|
|
54
54
|
const ShippoListMerchantShipments_MerchantShipmentSchema = zod.z.object({
|
|
55
55
|
test: zod.z.boolean().describe("Indicates whether this is a test shipment.").nullable().optional(),
|
|
56
56
|
async: zod.z.boolean().describe("Indicates whether the shipment was created asynchronously.").nullable().optional(),
|
|
57
|
-
extra: zod.z.
|
|
57
|
+
extra: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional options and services for the shipment.").nullable().optional(),
|
|
58
58
|
rates: zod.z.array(ShippoListMerchantShipments_ShipmentRateSchema).describe("List of rate objects available for this shipment.").nullable().optional(),
|
|
59
59
|
status: zod.z.string().describe("Status of the shipment. Possible values include 'SUCCESS', 'QUEUED', 'ERROR'.").nullable().optional(),
|
|
60
60
|
parcels: zod.z.array(zod.z.union([ShippoListMerchantShipments_ShipmentParcelSchema, zod.z.string()])).describe("List of parcel objects or parcel IDs included in the shipment.").nullable().optional(),
|
|
61
|
-
messages: zod.z.array(zod.z.
|
|
61
|
+
messages: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of messages or notifications related to the shipment.").nullable().optional(),
|
|
62
62
|
metadata: zod.z.string().describe("Custom metadata string associated with the shipment.").nullable().optional(),
|
|
63
63
|
object_id: zod.z.string().describe("Unique identifier for the shipment object.").nullable().optional(),
|
|
64
64
|
address_to: zod.z.union([ShippoListMerchantShipments_ShipmentAddressSchema, zod.z.string()]).nullable().optional(),
|
|
@@ -70,12 +70,12 @@ const ShippoListMerchantShipments_MerchantShipmentSchema = zod.z.object({
|
|
|
70
70
|
object_updated: zod.z.string().describe("Timestamp when the shipment was last updated in ISO 8601 format.").nullable().optional(),
|
|
71
71
|
carrier_accounts: zod.z.array(zod.z.string()).describe("List of carrier account object IDs used for getting rates.").nullable().optional(),
|
|
72
72
|
customs_declaration: zod.z.string().describe("Object ID of the customs declaration if applicable.").nullable().optional()
|
|
73
|
-
}).describe("Model representing a single shipment for a merchant.");
|
|
73
|
+
}).passthrough().describe("Model representing a single shipment for a merchant.");
|
|
74
74
|
const ShippoListMerchantShipmentsOutput = zod.z.object({
|
|
75
75
|
next: zod.z.string().describe("URL to the next page of results. Null if there are no more pages.").nullable().optional(),
|
|
76
76
|
results: zod.z.array(ShippoListMerchantShipments_MerchantShipmentSchema).describe("List of shipment objects on the current page.").nullable().optional(),
|
|
77
77
|
previous: zod.z.string().describe("URL to the previous page of results. Null if this is the first page.").nullable().optional()
|
|
78
|
-
}).describe("Response model containing paginated list of shipments for a merchant.");
|
|
78
|
+
}).passthrough().describe("Response model containing paginated list of shipments for a merchant.");
|
|
79
79
|
const shippoListMerchantShipments = require_action.action("SHIPPO_LIST_MERCHANT_SHIPMENTS", {
|
|
80
80
|
slug: "shippo-list-merchant-shipments",
|
|
81
81
|
name: "List Merchant Shipments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-shipments.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-shipments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantShipmentsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select. Must be greater than or equal to 1.\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page. Must be between 1 and 100. Maximum is 100.\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant to retrieve shipments for. This is the unique identifier for the merchant account.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for listing shipments for a specific merchant.\");\nconst ShippoListMerchantShipments_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Service level name\").nullable().optional(),\n terms: z.string().describe(\"Service level terms\").nullable().optional(),\n token: z.string().describe(\"Service level token\").nullable().optional(),\n display_name: z.string().describe(\"Display name\").nullable().optional(),\n parent_servicelevel: z.string().describe(\"Parent service level reference\").nullable().optional(),\n}).describe(\"Service level details for a shipment rate.\");\nconst ShippoListMerchantShipments_ShipmentRateSchema = z.object({\n amount: z.string().describe(\"Rate amount\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n provider: z.string().describe(\"Carrier provider name\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the rate\").nullable().optional(),\n servicelevel: z.union([ShippoListMerchantShipments_ServiceLevelSchema, z.object({})]).nullable().optional(),\n duration_terms: z.string().describe(\"Duration terms description\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated delivery days\").nullable().optional(),\n carrier_account: z.string().describe(\"Carrier account ID used\").nullable().optional(),\n}).describe(\"Rate object for a shipment.\");\nconst ShippoListMerchantShipments_ShipmentParcelSchema = z.object({\n width: z.string().describe(\"Width of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit for weight (e.g., lb, kg)\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the parcel\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit for dimensions (e.g., cm, in)\").nullable().optional(),\n}).describe(\"Parcel object within a shipment.\");\nconst ShippoListMerchantShipments_ShipmentAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Recipient or sender name\").nullable().optional(),\n test: z.boolean().describe(\"Whether this is a test mode address\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO country code\").nullable().optional(),\n street1: z.string().describe(\"First street line\").nullable().optional(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n street3: z.string().describe(\"Third street line\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether all required address fields are present\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether this is a residential address\").nullable().optional(),\n validation_results: z.object({}).describe(\"Address validation results\").nullable().optional(),\n}).describe(\"Address object within a shipment.\");\nconst ShippoListMerchantShipments_MerchantShipmentSchema = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test shipment.\").nullable().optional(),\n async: z.boolean().describe(\"Indicates whether the shipment was created asynchronously.\").nullable().optional(),\n extra: z.object({}).describe(\"Additional options and services for the shipment.\").nullable().optional(),\n rates: z.array(ShippoListMerchantShipments_ShipmentRateSchema).describe(\"List of rate objects available for this shipment.\").nullable().optional(),\n status: z.string().describe(\"Status of the shipment. Possible values include 'SUCCESS', 'QUEUED', 'ERROR'.\").nullable().optional(),\n parcels: z.array(z.union([ShippoListMerchantShipments_ShipmentParcelSchema, z.string()])).describe(\"List of parcel objects or parcel IDs included in the shipment.\").nullable().optional(),\n messages: z.array(z.object({})).describe(\"List of messages or notifications related to the shipment.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the shipment.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the shipment object.\").nullable().optional(),\n address_to: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n address_from: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created this shipment.\").nullable().optional(),\n shipment_date: z.string().describe(\"Date and time of the shipment in ISO 8601 format.\").nullable().optional(),\n address_return: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the shipment was created in ISO 8601 format.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the shipment was last updated in ISO 8601 format.\").nullable().optional(),\n carrier_accounts: z.array(z.string()).describe(\"List of carrier account object IDs used for getting rates.\").nullable().optional(),\n customs_declaration: z.string().describe(\"Object ID of the customs declaration if applicable.\").nullable().optional(),\n}).describe(\"Model representing a single shipment for a merchant.\");\nexport const ShippoListMerchantShipmentsOutput = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more pages.\").nullable().optional(),\n results: z.array(ShippoListMerchantShipments_MerchantShipmentSchema).describe(\"List of shipment objects on the current page.\").nullable().optional(),\n previous: z.string().describe(\"URL to the previous page of results. Null if this is the first page.\").nullable().optional(),\n}).describe(\"Response model containing paginated list of shipments for a merchant.\");\n\nexport const shippoListMerchantShipments = action(\"SHIPPO_LIST_MERCHANT_SHIPMENTS\", {\n slug: \"shippo-list-merchant-shipments\",\n name: \"List Merchant Shipments\",\n description: \"Tool to list all shipments for a specific merchant using Shippo's Platform API. Use when you need to retrieve shipments for a merchant account with optional pagination.\",\n input: ShippoListMerchantShipmentsInput,\n output: ShippoListMerchantShipmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAChJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CAC/I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAA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ments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantShipmentsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select. Must be greater than or equal to 1.\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page. Must be between 1 and 100. Maximum is 100.\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant to retrieve shipments for. This is the unique identifier for the merchant account.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for listing shipments for a specific merchant.\");\nconst ShippoListMerchantShipments_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Service level name\").nullable().optional(),\n terms: z.string().describe(\"Service level terms\").nullable().optional(),\n token: z.string().describe(\"Service level token\").nullable().optional(),\n display_name: z.string().describe(\"Display name\").nullable().optional(),\n parent_servicelevel: z.string().describe(\"Parent service level reference\").nullable().optional(),\n}).passthrough().describe(\"Service level details for a shipment rate.\");\nconst ShippoListMerchantShipments_ShipmentRateSchema = z.object({\n amount: z.string().describe(\"Rate amount\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n provider: z.string().describe(\"Carrier provider name\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the rate\").nullable().optional(),\n servicelevel: z.union([ShippoListMerchantShipments_ServiceLevelSchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n duration_terms: z.string().describe(\"Duration terms description\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated delivery days\").nullable().optional(),\n carrier_account: z.string().describe(\"Carrier account ID used\").nullable().optional(),\n}).passthrough().describe(\"Rate object for a shipment.\");\nconst ShippoListMerchantShipments_ShipmentParcelSchema = z.object({\n width: z.string().describe(\"Width of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit for weight (e.g., lb, kg)\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the parcel\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit for dimensions (e.g., cm, in)\").nullable().optional(),\n}).passthrough().describe(\"Parcel object within a shipment.\");\nconst ShippoListMerchantShipments_ShipmentAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Recipient or sender name\").nullable().optional(),\n test: z.boolean().describe(\"Whether this is a test mode address\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO country code\").nullable().optional(),\n street1: z.string().describe(\"First street line\").nullable().optional(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n street3: z.string().describe(\"Third street line\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether all required address fields are present\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether this is a residential address\").nullable().optional(),\n validation_results: z.record(z.string(), z.unknown()).describe(\"Address validation results\").nullable().optional(),\n}).passthrough().describe(\"Address object within a shipment.\");\nconst ShippoListMerchantShipments_MerchantShipmentSchema = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test shipment.\").nullable().optional(),\n async: z.boolean().describe(\"Indicates whether the shipment was created asynchronously.\").nullable().optional(),\n extra: z.record(z.string(), z.unknown()).describe(\"Additional options and services for the shipment.\").nullable().optional(),\n rates: z.array(ShippoListMerchantShipments_ShipmentRateSchema).describe(\"List of rate objects available for this shipment.\").nullable().optional(),\n status: z.string().describe(\"Status of the shipment. Possible values include 'SUCCESS', 'QUEUED', 'ERROR'.\").nullable().optional(),\n parcels: z.array(z.union([ShippoListMerchantShipments_ShipmentParcelSchema, z.string()])).describe(\"List of parcel objects or parcel IDs included in the shipment.\").nullable().optional(),\n messages: z.array(z.record(z.string(), z.unknown())).describe(\"List of messages or notifications related to the shipment.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the shipment.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the shipment object.\").nullable().optional(),\n address_to: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n address_from: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created this shipment.\").nullable().optional(),\n shipment_date: z.string().describe(\"Date and time of the shipment in ISO 8601 format.\").nullable().optional(),\n address_return: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the shipment was created in ISO 8601 format.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the shipment was last updated in ISO 8601 format.\").nullable().optional(),\n carrier_accounts: z.array(z.string()).describe(\"List of carrier account object IDs used for getting rates.\").nullable().optional(),\n customs_declaration: z.string().describe(\"Object ID of the customs declaration if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single shipment for a merchant.\");\nexport const ShippoListMerchantShipmentsOutput = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more pages.\").nullable().optional(),\n results: z.array(ShippoListMerchantShipments_MerchantShipmentSchema).describe(\"List of shipment objects on the current page.\").nullable().optional(),\n previous: z.string().describe(\"URL to the previous page of results. Null if this is the first page.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing paginated list of shipments for a merchant.\");\n\nexport const shippoListMerchantShipments = action(\"SHIPPO_LIST_MERCHANT_SHIPMENTS\", {\n slug: \"shippo-list-merchant-shipments\",\n name: \"List Merchant Shipments\",\n description: \"Tool to list all shipments for a specific merchant using Shippo's Platform API. Use when you need to retrieve shipments for a merchant account with optional pagination.\",\n input: ShippoListMerchantShipmentsInput,\n output: ShippoListMerchantShipmentsOutput,\n});\n"],"mappings":";;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C,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
12
12
|
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
test: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
14
|
async: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15
|
-
extra: z.ZodOptional<z.ZodNullable<z.
|
|
15
|
+
extra: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
16
|
rates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
17
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -24,11 +24,11 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
24
24
|
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
parent_servicelevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
28
28
|
duration_terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
estimated_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
carrier_account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>>;
|
|
32
32
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
parcels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
34
34
|
width: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -38,8 +38,8 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
38
38
|
mass_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
42
|
-
messages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
41
|
+
}, z.core.$loose>, z.ZodString]>>>>;
|
|
42
|
+
messages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
43
43
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
address_to: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -58,8 +58,8 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
58
58
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
is_complete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
60
60
|
is_residential: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
61
|
-
validation_results: z.ZodOptional<z.ZodNullable<z.
|
|
62
|
-
}, z.core.$
|
|
61
|
+
validation_results: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
62
|
+
}, z.core.$loose>, z.ZodString]>>>;
|
|
63
63
|
address_from: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
64
64
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -76,8 +76,8 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
76
76
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
77
|
is_complete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
78
78
|
is_residential: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
79
|
-
validation_results: z.ZodOptional<z.ZodNullable<z.
|
|
80
|
-
}, z.core.$
|
|
79
|
+
validation_results: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
80
|
+
}, z.core.$loose>, z.ZodString]>>>;
|
|
81
81
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
82
|
shipment_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
address_return: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -96,21 +96,33 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
96
96
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
97
|
is_complete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
98
98
|
is_residential: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
99
|
-
validation_results: z.ZodOptional<z.ZodNullable<z.
|
|
100
|
-
}, z.core.$
|
|
99
|
+
validation_results: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
100
|
+
}, z.core.$loose>, z.ZodString]>>>;
|
|
101
101
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
102
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
103
103
|
carrier_accounts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
104
104
|
customs_declaration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
-
}, z.core.$
|
|
105
|
+
}, z.core.$loose>>>>;
|
|
106
106
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
|
-
}, z.core.$
|
|
107
|
+
}, z.core.$loose>;
|
|
108
108
|
declare const shippoListMerchantShipments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
109
109
|
merchant_id: string;
|
|
110
110
|
page?: number | undefined;
|
|
111
111
|
results?: number | undefined;
|
|
112
112
|
shippo_api_version?: string | undefined;
|
|
113
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
113
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
114
|
+
connectionId: z.ZodString;
|
|
115
|
+
entityId: z.ZodString;
|
|
116
|
+
instanceId: z.ZodString;
|
|
117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
118
|
+
accessToken: z.ZodString;
|
|
119
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
120
|
+
connectionId: z.ZodString;
|
|
121
|
+
entityId: z.ZodString;
|
|
122
|
+
instanceId: z.ZodString;
|
|
123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
124
|
+
accessToken: z.ZodString;
|
|
125
|
+
}, z.core.$strip>>]>;
|
|
114
126
|
//#endregion
|
|
115
127
|
export { shippoListMerchantShipments };
|
|
116
128
|
//# sourceMappingURL=list-merchant-shipments.d.cts.map
|
|
@@ -12,7 +12,7 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
12
12
|
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
test: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
14
|
async: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15
|
-
extra: z.ZodOptional<z.ZodNullable<z.
|
|
15
|
+
extra: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
16
|
rates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
17
|
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -24,11 +24,11 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
24
24
|
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
parent_servicelevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
28
28
|
duration_terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
estimated_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
30
|
carrier_account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>>;
|
|
32
32
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
parcels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
34
34
|
width: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -38,8 +38,8 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
38
38
|
mass_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
42
|
-
messages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
41
|
+
}, z.core.$loose>, z.ZodString]>>>>;
|
|
42
|
+
messages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
43
43
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
address_to: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -58,8 +58,8 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
58
58
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
is_complete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
60
60
|
is_residential: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
61
|
-
validation_results: z.ZodOptional<z.ZodNullable<z.
|
|
62
|
-
}, z.core.$
|
|
61
|
+
validation_results: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
62
|
+
}, z.core.$loose>, z.ZodString]>>>;
|
|
63
63
|
address_from: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
64
64
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -76,8 +76,8 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
76
76
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
77
|
is_complete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
78
78
|
is_residential: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
79
|
-
validation_results: z.ZodOptional<z.ZodNullable<z.
|
|
80
|
-
}, z.core.$
|
|
79
|
+
validation_results: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
80
|
+
}, z.core.$loose>, z.ZodString]>>>;
|
|
81
81
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
82
|
shipment_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
address_return: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -96,21 +96,33 @@ declare const ShippoListMerchantShipmentsOutput: z.ZodObject<{
|
|
|
96
96
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
97
|
is_complete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
98
98
|
is_residential: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
99
|
-
validation_results: z.ZodOptional<z.ZodNullable<z.
|
|
100
|
-
}, z.core.$
|
|
99
|
+
validation_results: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
100
|
+
}, z.core.$loose>, z.ZodString]>>>;
|
|
101
101
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
102
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
103
103
|
carrier_accounts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
104
104
|
customs_declaration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
-
}, z.core.$
|
|
105
|
+
}, z.core.$loose>>>>;
|
|
106
106
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
|
-
}, z.core.$
|
|
107
|
+
}, z.core.$loose>;
|
|
108
108
|
declare const shippoListMerchantShipments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
109
109
|
merchant_id: string;
|
|
110
110
|
page?: number | undefined;
|
|
111
111
|
results?: number | undefined;
|
|
112
112
|
shippo_api_version?: string | undefined;
|
|
113
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
113
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
114
|
+
connectionId: z.ZodString;
|
|
115
|
+
entityId: z.ZodString;
|
|
116
|
+
instanceId: z.ZodString;
|
|
117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
118
|
+
accessToken: z.ZodString;
|
|
119
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
120
|
+
connectionId: z.ZodString;
|
|
121
|
+
entityId: z.ZodString;
|
|
122
|
+
instanceId: z.ZodString;
|
|
123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
124
|
+
accessToken: z.ZodString;
|
|
125
|
+
}, z.core.$strip>>]>;
|
|
114
126
|
//#endregion
|
|
115
127
|
export { shippoListMerchantShipments };
|
|
116
128
|
//# sourceMappingURL=list-merchant-shipments.d.mts.map
|
|
@@ -13,17 +13,17 @@ const ShippoListMerchantShipments_ServiceLevelSchema = z.object({
|
|
|
13
13
|
token: z.string().describe("Service level token").nullable().optional(),
|
|
14
14
|
display_name: z.string().describe("Display name").nullable().optional(),
|
|
15
15
|
parent_servicelevel: z.string().describe("Parent service level reference").nullable().optional()
|
|
16
|
-
}).describe("Service level details for a shipment rate.");
|
|
16
|
+
}).passthrough().describe("Service level details for a shipment rate.");
|
|
17
17
|
const ShippoListMerchantShipments_ShipmentRateSchema = z.object({
|
|
18
18
|
amount: z.string().describe("Rate amount").nullable().optional(),
|
|
19
19
|
currency: z.string().describe("Currency code").nullable().optional(),
|
|
20
20
|
provider: z.string().describe("Carrier provider name").nullable().optional(),
|
|
21
21
|
object_id: z.string().describe("Unique identifier for the rate").nullable().optional(),
|
|
22
|
-
servicelevel: z.union([ShippoListMerchantShipments_ServiceLevelSchema, z.
|
|
22
|
+
servicelevel: z.union([ShippoListMerchantShipments_ServiceLevelSchema, z.record(z.string(), z.unknown())]).nullable().optional(),
|
|
23
23
|
duration_terms: z.string().describe("Duration terms description").nullable().optional(),
|
|
24
24
|
estimated_days: z.number().int().describe("Estimated delivery days").nullable().optional(),
|
|
25
25
|
carrier_account: z.string().describe("Carrier account ID used").nullable().optional()
|
|
26
|
-
}).describe("Rate object for a shipment.");
|
|
26
|
+
}).passthrough().describe("Rate object for a shipment.");
|
|
27
27
|
const ShippoListMerchantShipments_ShipmentParcelSchema = z.object({
|
|
28
28
|
width: z.string().describe("Width of the parcel").nullable().optional(),
|
|
29
29
|
height: z.string().describe("Height of the parcel").nullable().optional(),
|
|
@@ -32,7 +32,7 @@ const ShippoListMerchantShipments_ShipmentParcelSchema = z.object({
|
|
|
32
32
|
mass_unit: z.string().describe("Unit for weight (e.g., lb, kg)").nullable().optional(),
|
|
33
33
|
object_id: z.string().describe("Unique identifier for the parcel").nullable().optional(),
|
|
34
34
|
distance_unit: z.string().describe("Unit for dimensions (e.g., cm, in)").nullable().optional()
|
|
35
|
-
}).describe("Parcel object within a shipment.");
|
|
35
|
+
}).passthrough().describe("Parcel object within a shipment.");
|
|
36
36
|
const ShippoListMerchantShipments_ShipmentAddressSchema = z.object({
|
|
37
37
|
zip: z.string().describe("Postal code").nullable().optional(),
|
|
38
38
|
city: z.string().describe("City name").nullable().optional(),
|
|
@@ -49,16 +49,16 @@ const ShippoListMerchantShipments_ShipmentAddressSchema = z.object({
|
|
|
49
49
|
object_id: z.string().describe("Unique identifier for the address").nullable().optional(),
|
|
50
50
|
is_complete: z.boolean().describe("Whether all required address fields are present").nullable().optional(),
|
|
51
51
|
is_residential: z.boolean().describe("Whether this is a residential address").nullable().optional(),
|
|
52
|
-
validation_results: z.
|
|
53
|
-
}).describe("Address object within a shipment.");
|
|
52
|
+
validation_results: z.record(z.string(), z.unknown()).describe("Address validation results").nullable().optional()
|
|
53
|
+
}).passthrough().describe("Address object within a shipment.");
|
|
54
54
|
const ShippoListMerchantShipments_MerchantShipmentSchema = z.object({
|
|
55
55
|
test: z.boolean().describe("Indicates whether this is a test shipment.").nullable().optional(),
|
|
56
56
|
async: z.boolean().describe("Indicates whether the shipment was created asynchronously.").nullable().optional(),
|
|
57
|
-
extra: z.
|
|
57
|
+
extra: z.record(z.string(), z.unknown()).describe("Additional options and services for the shipment.").nullable().optional(),
|
|
58
58
|
rates: z.array(ShippoListMerchantShipments_ShipmentRateSchema).describe("List of rate objects available for this shipment.").nullable().optional(),
|
|
59
59
|
status: z.string().describe("Status of the shipment. Possible values include 'SUCCESS', 'QUEUED', 'ERROR'.").nullable().optional(),
|
|
60
60
|
parcels: z.array(z.union([ShippoListMerchantShipments_ShipmentParcelSchema, z.string()])).describe("List of parcel objects or parcel IDs included in the shipment.").nullable().optional(),
|
|
61
|
-
messages: z.array(z.
|
|
61
|
+
messages: z.array(z.record(z.string(), z.unknown())).describe("List of messages or notifications related to the shipment.").nullable().optional(),
|
|
62
62
|
metadata: z.string().describe("Custom metadata string associated with the shipment.").nullable().optional(),
|
|
63
63
|
object_id: z.string().describe("Unique identifier for the shipment object.").nullable().optional(),
|
|
64
64
|
address_to: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),
|
|
@@ -70,7 +70,7 @@ const ShippoListMerchantShipments_MerchantShipmentSchema = z.object({
|
|
|
70
70
|
object_updated: z.string().describe("Timestamp when the shipment was last updated in ISO 8601 format.").nullable().optional(),
|
|
71
71
|
carrier_accounts: z.array(z.string()).describe("List of carrier account object IDs used for getting rates.").nullable().optional(),
|
|
72
72
|
customs_declaration: z.string().describe("Object ID of the customs declaration if applicable.").nullable().optional()
|
|
73
|
-
}).describe("Model representing a single shipment for a merchant.");
|
|
73
|
+
}).passthrough().describe("Model representing a single shipment for a merchant.");
|
|
74
74
|
const shippoListMerchantShipments = action("SHIPPO_LIST_MERCHANT_SHIPMENTS", {
|
|
75
75
|
slug: "shippo-list-merchant-shipments",
|
|
76
76
|
name: "List Merchant Shipments",
|
|
@@ -80,7 +80,7 @@ const shippoListMerchantShipments = action("SHIPPO_LIST_MERCHANT_SHIPMENTS", {
|
|
|
80
80
|
next: z.string().describe("URL to the next page of results. Null if there are no more pages.").nullable().optional(),
|
|
81
81
|
results: z.array(ShippoListMerchantShipments_MerchantShipmentSchema).describe("List of shipment objects on the current page.").nullable().optional(),
|
|
82
82
|
previous: z.string().describe("URL to the previous page of results. Null if this is the first page.").nullable().optional()
|
|
83
|
-
}).describe("Response model containing paginated list of shipments for a merchant.")
|
|
83
|
+
}).passthrough().describe("Response model containing paginated list of shipments for a merchant.")
|
|
84
84
|
});
|
|
85
85
|
//#endregion
|
|
86
86
|
export { shippoListMerchantShipments };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-shipments.mjs","names":[],"sources":["../../src/actions/list-merchant-shipments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantShipmentsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select. Must be greater than or equal to 1.\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page. Must be between 1 and 100. Maximum is 100.\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant to retrieve shipments for. This is the unique identifier for the merchant account.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for listing shipments for a specific merchant.\");\nconst ShippoListMerchantShipments_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Service level name\").nullable().optional(),\n terms: z.string().describe(\"Service level terms\").nullable().optional(),\n token: z.string().describe(\"Service level token\").nullable().optional(),\n display_name: z.string().describe(\"Display name\").nullable().optional(),\n parent_servicelevel: z.string().describe(\"Parent service level reference\").nullable().optional(),\n}).describe(\"Service level details for a shipment rate.\");\nconst ShippoListMerchantShipments_ShipmentRateSchema = z.object({\n amount: z.string().describe(\"Rate amount\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n provider: z.string().describe(\"Carrier provider name\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the rate\").nullable().optional(),\n servicelevel: z.union([ShippoListMerchantShipments_ServiceLevelSchema, z.object({})]).nullable().optional(),\n duration_terms: z.string().describe(\"Duration terms description\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated delivery days\").nullable().optional(),\n carrier_account: z.string().describe(\"Carrier account ID used\").nullable().optional(),\n}).describe(\"Rate object for a shipment.\");\nconst ShippoListMerchantShipments_ShipmentParcelSchema = z.object({\n width: z.string().describe(\"Width of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit for weight (e.g., lb, kg)\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the parcel\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit for dimensions (e.g., cm, in)\").nullable().optional(),\n}).describe(\"Parcel object within a shipment.\");\nconst ShippoListMerchantShipments_ShipmentAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Recipient or sender name\").nullable().optional(),\n test: z.boolean().describe(\"Whether this is a test mode address\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO country code\").nullable().optional(),\n street1: z.string().describe(\"First street line\").nullable().optional(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n street3: z.string().describe(\"Third street line\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether all required address fields are present\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether this is a residential address\").nullable().optional(),\n validation_results: z.object({}).describe(\"Address validation results\").nullable().optional(),\n}).describe(\"Address object within a shipment.\");\nconst ShippoListMerchantShipments_MerchantShipmentSchema = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test shipment.\").nullable().optional(),\n async: z.boolean().describe(\"Indicates whether the shipment was created asynchronously.\").nullable().optional(),\n extra: z.object({}).describe(\"Additional options and services for the shipment.\").nullable().optional(),\n rates: z.array(ShippoListMerchantShipments_ShipmentRateSchema).describe(\"List of rate objects available for this shipment.\").nullable().optional(),\n status: z.string().describe(\"Status of the shipment. Possible values include 'SUCCESS', 'QUEUED', 'ERROR'.\").nullable().optional(),\n parcels: z.array(z.union([ShippoListMerchantShipments_ShipmentParcelSchema, z.string()])).describe(\"List of parcel objects or parcel IDs included in the shipment.\").nullable().optional(),\n messages: z.array(z.object({})).describe(\"List of messages or notifications related to the shipment.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the shipment.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the shipment object.\").nullable().optional(),\n address_to: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n address_from: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created this shipment.\").nullable().optional(),\n shipment_date: z.string().describe(\"Date and time of the shipment in ISO 8601 format.\").nullable().optional(),\n address_return: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the shipment was created in ISO 8601 format.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the shipment was last updated in ISO 8601 format.\").nullable().optional(),\n carrier_accounts: z.array(z.string()).describe(\"List of carrier account object IDs used for getting rates.\").nullable().optional(),\n customs_declaration: z.string().describe(\"Object ID of the customs declaration if applicable.\").nullable().optional(),\n}).describe(\"Model representing a single shipment for a merchant.\");\nexport const ShippoListMerchantShipmentsOutput = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more pages.\").nullable().optional(),\n results: z.array(ShippoListMerchantShipments_MerchantShipmentSchema).describe(\"List of shipment objects on the current page.\").nullable().optional(),\n previous: z.string().describe(\"URL to the previous page of results. Null if this is the first page.\").nullable().optional(),\n}).describe(\"Response model containing paginated list of shipments for a merchant.\");\n\nexport const shippoListMerchantShipments = action(\"SHIPPO_LIST_MERCHANT_SHIPMENTS\", {\n slug: \"shippo-list-merchant-shipments\",\n name: \"List Merchant Shipments\",\n description: \"Tool to list all shipments for a specific merchant using Shippo's Platform API. Use when you need to retrieve shipments for a merchant account with optional pagination.\",\n input: ShippoListMerchantShipmentsInput,\n output: ShippoListMerchantShipmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CA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CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgB,EAAE,MAAM,CAAC,mDAAmD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAOlE,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,uEAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-merchant-shipments.mjs","names":[],"sources":["../../src/actions/list-merchant-shipments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantShipmentsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select. Must be greater than or equal to 1.\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page. Must be between 1 and 100. Maximum is 100.\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant to retrieve shipments for. This is the unique identifier for the merchant account.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for listing shipments for a specific merchant.\");\nconst ShippoListMerchantShipments_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Service level name\").nullable().optional(),\n terms: z.string().describe(\"Service level terms\").nullable().optional(),\n token: z.string().describe(\"Service level token\").nullable().optional(),\n display_name: z.string().describe(\"Display name\").nullable().optional(),\n parent_servicelevel: z.string().describe(\"Parent service level reference\").nullable().optional(),\n}).passthrough().describe(\"Service level details for a shipment rate.\");\nconst ShippoListMerchantShipments_ShipmentRateSchema = z.object({\n amount: z.string().describe(\"Rate amount\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n provider: z.string().describe(\"Carrier provider name\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the rate\").nullable().optional(),\n servicelevel: z.union([ShippoListMerchantShipments_ServiceLevelSchema, z.record(z.string(), z.unknown())]).nullable().optional(),\n duration_terms: z.string().describe(\"Duration terms description\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated delivery days\").nullable().optional(),\n carrier_account: z.string().describe(\"Carrier account ID used\").nullable().optional(),\n}).passthrough().describe(\"Rate object for a shipment.\");\nconst ShippoListMerchantShipments_ShipmentParcelSchema = z.object({\n width: z.string().describe(\"Width of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit for weight (e.g., lb, kg)\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the parcel\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit for dimensions (e.g., cm, in)\").nullable().optional(),\n}).passthrough().describe(\"Parcel object within a shipment.\");\nconst ShippoListMerchantShipments_ShipmentAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Recipient or sender name\").nullable().optional(),\n test: z.boolean().describe(\"Whether this is a test mode address\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO country code\").nullable().optional(),\n street1: z.string().describe(\"First street line\").nullable().optional(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n street3: z.string().describe(\"Third street line\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether all required address fields are present\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether this is a residential address\").nullable().optional(),\n validation_results: z.record(z.string(), z.unknown()).describe(\"Address validation results\").nullable().optional(),\n}).passthrough().describe(\"Address object within a shipment.\");\nconst ShippoListMerchantShipments_MerchantShipmentSchema = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test shipment.\").nullable().optional(),\n async: z.boolean().describe(\"Indicates whether the shipment was created asynchronously.\").nullable().optional(),\n extra: z.record(z.string(), z.unknown()).describe(\"Additional options and services for the shipment.\").nullable().optional(),\n rates: z.array(ShippoListMerchantShipments_ShipmentRateSchema).describe(\"List of rate objects available for this shipment.\").nullable().optional(),\n status: z.string().describe(\"Status of the shipment. Possible values include 'SUCCESS', 'QUEUED', 'ERROR'.\").nullable().optional(),\n parcels: z.array(z.union([ShippoListMerchantShipments_ShipmentParcelSchema, z.string()])).describe(\"List of parcel objects or parcel IDs included in the shipment.\").nullable().optional(),\n messages: z.array(z.record(z.string(), z.unknown())).describe(\"List of messages or notifications related to the shipment.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string associated with the shipment.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the shipment object.\").nullable().optional(),\n address_to: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n address_from: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created this shipment.\").nullable().optional(),\n shipment_date: z.string().describe(\"Date and time of the shipment in ISO 8601 format.\").nullable().optional(),\n address_return: z.union([ShippoListMerchantShipments_ShipmentAddressSchema, z.string()]).nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the shipment was created in ISO 8601 format.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the shipment was last updated in ISO 8601 format.\").nullable().optional(),\n carrier_accounts: z.array(z.string()).describe(\"List of carrier account object IDs used for getting rates.\").nullable().optional(),\n customs_declaration: z.string().describe(\"Object ID of the customs declaration if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single shipment for a merchant.\");\nexport const ShippoListMerchantShipmentsOutput = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more pages.\").nullable().optional(),\n results: z.array(ShippoListMerchantShipments_MerchantShipmentSchema).describe(\"List of shipment objects on the current page.\").nullable().optional(),\n previous: z.string().describe(\"URL to the previous page of results. Null if this is the first page.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing paginated list of shipments for a merchant.\");\n\nexport const shippoListMerchantShipments = action(\"SHIPPO_LIST_MERCHANT_SHIPMENTS\", {\n slug: \"shippo-list-merchant-shipments\",\n name: \"List Merchant Shipments\",\n description: \"Tool to list all shipments for a specific merchant using Shippo's Platform API. Use when you need to retrieve shipments for a merchant account with optional pagination.\",\n input: ShippoListMerchantShipmentsInput,\n output: ShippoListMerchantShipmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,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AS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const ShippoListMerchantTransactionsInput = zod.z.object({
|
|
|
10
10
|
const ShippoListMerchantTransactions_MessageObjectSchema = zod.z.object({
|
|
11
11
|
code: zod.z.string().describe("Identifier for the message").nullable().optional(),
|
|
12
12
|
message: zod.z.string().describe("Publishable message containing further information").nullable().optional()
|
|
13
|
-
}).describe("Model for a single message in the transaction.");
|
|
13
|
+
}).passthrough().describe("Model for a single message in the transaction.");
|
|
14
14
|
const ShippoListMerchantTransactions_TransactionSchema = zod.z.object({
|
|
15
15
|
eta: zod.z.string().describe("The estimated time of arrival according to the carrier").nullable().optional(),
|
|
16
16
|
rate: zod.z.string().describe("ID of the Rate object for which a Label has to be obtained").nullable().optional(),
|
|
@@ -29,12 +29,12 @@ const ShippoListMerchantTransactions_TransactionSchema = zod.z.object({
|
|
|
29
29
|
tracking_status: zod.z.string().describe("Indicates the high level status of the shipment: 'UNKNOWN', 'DELIVERED', 'TRANSIT', 'FAILURE', 'RETURNED'").nullable().optional(),
|
|
30
30
|
tracking_url_provider: zod.z.string().describe("A link to track this item on the carrier-provided tracking website").nullable().optional(),
|
|
31
31
|
commercial_invoice_url: zod.z.string().describe("A URL pointing to the commercial invoice as a 8.5x11 inch PDF file").nullable().optional()
|
|
32
|
-
}).describe("Transaction object returned by the Shippo Platform API.");
|
|
32
|
+
}).passthrough().describe("Transaction object returned by the Shippo Platform API.");
|
|
33
33
|
const ShippoListMerchantTransactionsOutput = zod.z.object({
|
|
34
34
|
next: zod.z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
35
35
|
results: zod.z.array(ShippoListMerchantTransactions_TransactionSchema).describe("Array of transaction objects for the specified merchant").nullable().optional(),
|
|
36
36
|
previous: zod.z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
37
|
-
}).describe("Response containing paginated list of merchant transactions.");
|
|
37
|
+
}).passthrough().describe("Response containing paginated list of merchant transactions.");
|
|
38
38
|
const shippoListMerchantTransactions = require_action.action("SHIPPO_LIST_MERCHANT_TRANSACTIONS", {
|
|
39
39
|
slug: "shippo-list-merchant-transactions",
|
|
40
40
|
name: "List Merchant Transactions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-transactions.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-transactions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantTransactionsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant to retrieve transactions for\"),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing merchant transactions with pagination.\");\nconst ShippoListMerchantTransactions_MessageObjectSchema = z.object({\n code: z.string().describe(\"Identifier for the message\").nullable().optional(),\n message: z.string().describe(\"Publishable message containing further information\").nullable().optional(),\n}).describe(\"Model for a single message in the transaction.\");\nconst ShippoListMerchantTransactions_TransactionSchema = z.object({\n eta: z.string().describe(\"The estimated time of arrival according to the carrier\").nullable().optional(),\n rate: z.string().describe(\"ID of the Rate object for which a Label has to be obtained\").nullable().optional(),\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n status: z.string().describe(\"Indicates the status of the Transaction (WAITING, QUEUED, SUCCESS, ERROR, REFUNDED, REFUNDPENDING, REFUNDREJECTED)\").nullable().optional(),\n messages: z.array(ShippoListMerchantTransactions_MessageObjectSchema).describe(\"An array containing elements with code and message fields providing additional information\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object\").nullable().optional(),\n label_url: z.string().describe(\"A URL pointing directly to the label in the format you've set in your settings\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Transaction object\").nullable().optional(),\n qr_code_url: z.string().describe(\"A URL pointing directly to the QR code in PNG format\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the Transaction object\").nullable().optional(),\n object_state: z.string().describe(\"Indicates the validity of the enclosing object (VALID or INVALID)\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Transaction creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last Transaction update in ISO 8601 format\").nullable().optional(),\n tracking_number: z.string().describe(\"The carrier-specific tracking number that can be used to track the Shipment\").nullable().optional(),\n tracking_status: z.string().describe(\"Indicates the high level status of the shipment: 'UNKNOWN', 'DELIVERED', 'TRANSIT', 'FAILURE', 'RETURNED'\").nullable().optional(),\n tracking_url_provider: z.string().describe(\"A link to track this item on the carrier-provided tracking website\").nullable().optional(),\n commercial_invoice_url: z.string().describe(\"A URL pointing to the commercial invoice as a 8.5x11 inch PDF file\").nullable().optional(),\n}).describe(\"Transaction object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantTransactionsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListMerchantTransactions_TransactionSchema).describe(\"Array of transaction objects for the specified merchant\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).describe(\"Response containing paginated list of merchant transactions.\");\n\nexport const shippoListMerchantTransactions = action(\"SHIPPO_LIST_MERCHANT_TRANSACTIONS\", {\n slug: \"shippo-list-merchant-transactions\",\n name: \"List Merchant Transactions\",\n description: \"Tool to list all shipping label transactions for a merchant using the Shippo Platform API. Use when you need to retrieve shipping labels created for a specific merchant with pagination support.\",\n input: ShippoListMerchantTransactionsInput,\n output: ShippoListMerchantTransactionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"list-merchant-transactions.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-transactions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantTransactionsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant to retrieve transactions for\"),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing merchant transactions with pagination.\");\nconst ShippoListMerchantTransactions_MessageObjectSchema = z.object({\n code: z.string().describe(\"Identifier for the message\").nullable().optional(),\n message: z.string().describe(\"Publishable message containing further information\").nullable().optional(),\n}).passthrough().describe(\"Model for a single message in the transaction.\");\nconst ShippoListMerchantTransactions_TransactionSchema = z.object({\n eta: z.string().describe(\"The estimated time of arrival according to the carrier\").nullable().optional(),\n rate: z.string().describe(\"ID of the Rate object for which a Label has to be obtained\").nullable().optional(),\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n status: z.string().describe(\"Indicates the status of the Transaction (WAITING, QUEUED, SUCCESS, ERROR, REFUNDED, REFUNDPENDING, REFUNDREJECTED)\").nullable().optional(),\n messages: z.array(ShippoListMerchantTransactions_MessageObjectSchema).describe(\"An array containing elements with code and message fields providing additional information\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object\").nullable().optional(),\n label_url: z.string().describe(\"A URL pointing directly to the label in the format you've set in your settings\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Transaction object\").nullable().optional(),\n qr_code_url: z.string().describe(\"A URL pointing directly to the QR code in PNG format\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the Transaction object\").nullable().optional(),\n object_state: z.string().describe(\"Indicates the validity of the enclosing object (VALID or INVALID)\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Transaction creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last Transaction update in ISO 8601 format\").nullable().optional(),\n tracking_number: z.string().describe(\"The carrier-specific tracking number that can be used to track the Shipment\").nullable().optional(),\n tracking_status: z.string().describe(\"Indicates the high level status of the shipment: 'UNKNOWN', 'DELIVERED', 'TRANSIT', 'FAILURE', 'RETURNED'\").nullable().optional(),\n tracking_url_provider: z.string().describe(\"A link to track this item on the carrier-provided tracking website\").nullable().optional(),\n commercial_invoice_url: z.string().describe(\"A URL pointing to the commercial invoice as a 8.5x11 inch PDF file\").nullable().optional(),\n}).passthrough().describe(\"Transaction object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantTransactionsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListMerchantTransactions_TransactionSchema).describe(\"Array of transaction objects for the specified merchant\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of merchant transactions.\");\n\nexport const shippoListMerchantTransactions = action(\"SHIPPO_LIST_MERCHANT_TRANSACTIONS\", {\n slug: \"shippo-list-merchant-transactions\",\n name: \"List Merchant Transactions\",\n description: \"Tool to list all shipping label transactions for a merchant using the Shippo Platform API. Use when you need to retrieve shipping labels created for a specific merchant with pagination support.\",\n input: ShippoListMerchantTransactionsInput,\n output: ShippoListMerchantTransactionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAM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