@keystrokehq/shippo 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-address.cjs +3 -3
- package/dist/actions/create-address.cjs.map +1 -1
- package/dist/actions/create-address.d.cts +3 -3
- package/dist/actions/create-address.d.mts +3 -3
- 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 +6 -4
- package/dist/actions/create-batch.d.mts +6 -4
- 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 +2 -2
- package/dist/actions/create-carrier-account.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/create-customs-item.d.mts +1 -1
- 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 +10 -6
- package/dist/actions/create-live-rate.d.mts +10 -6
- 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 +2 -2
- package/dist/actions/create-manifest.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/create-merchant-address.d.mts +3 -3
- 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 +9 -8
- package/dist/actions/create-merchant-batch.d.mts +9 -8
- 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 +2 -2
- package/dist/actions/create-merchant-carrier-account.d.mts +2 -2
- 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 +4 -3
- package/dist/actions/create-merchant-customs-declaration.d.mts +4 -3
- 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 +2 -2
- package/dist/actions/create-merchant-customs-item.d.mts +2 -2
- 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 +6 -5
- package/dist/actions/create-merchant-order.d.mts +6 -5
- 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 +6 -6
- package/dist/actions/create-merchant-parcel.d.mts +6 -6
- 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 +1 -1
- package/dist/actions/create-merchant-refund.d.mts +1 -1
- 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 +21 -20
- package/dist/actions/create-merchant-shipment.d.mts +21 -20
- 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 +3 -3
- package/dist/actions/create-merchant-transaction.d.mts +3 -3
- 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 +6 -5
- package/dist/actions/create-order.d.mts +6 -5
- 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 +6 -6
- package/dist/actions/create-parcel.d.mts +6 -6
- 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 +1 -1
- package/dist/actions/create-refund.d.mts +1 -1
- 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 +4 -3
- package/dist/actions/create-service-group.d.mts +4 -3
- 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 +18 -17
- package/dist/actions/create-shipment.d.cts.map +1 -1
- package/dist/actions/create-shipment.d.mts +18 -17
- 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 +8 -8
- package/dist/actions/create-track.d.mts +8 -8
- 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 +5 -5
- package/dist/actions/create-transaction.d.mts +5 -5
- 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 +2 -2
- package/dist/actions/create-user-parcel-template.d.mts +2 -2
- 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 +5 -5
- package/dist/actions/create-webhook.d.mts +5 -5
- 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 +1 -1
- package/dist/actions/delete-default-parcel-template.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-user-parcel-template.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- 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 +3 -3
- package/dist/actions/get-address.d.mts +3 -3
- 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 +2 -2
- package/dist/actions/get-carrier-account.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-carrier-parcel-template.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/get-carrier-registration-status.d.mts +1 -1
- 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 +4 -4
- package/dist/actions/get-customs-declaration.d.mts +4 -4
- 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 +1 -1
- package/dist/actions/get-customs-item.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/get-default-parcel-template.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/get-merchant-address.d.mts +3 -3
- 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 +5 -5
- package/dist/actions/get-merchant-batch.d.mts +5 -5
- 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 +2 -2
- package/dist/actions/get-merchant-carrier-account.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/get-merchant-customs-declaration.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/get-merchant-customs-item.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/get-merchant-manifest.d.mts +1 -1
- 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 +4 -4
- package/dist/actions/get-merchant-order.d.mts +4 -4
- 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 +4 -4
- package/dist/actions/get-merchant-parcel.d.mts +4 -4
- 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 +3 -3
- package/dist/actions/get-merchant-rate.d.mts +3 -3
- 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 +1 -1
- package/dist/actions/get-merchant-refund.d.mts +1 -1
- 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 +19 -19
- package/dist/actions/get-merchant-shipment.d.mts +19 -19
- 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 +8 -8
- package/dist/actions/get-merchant-track.d.mts +8 -8
- 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 +3 -3
- package/dist/actions/get-merchant-transaction.d.mts +3 -3
- 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 +1 -1
- package/dist/actions/get-merchant.d.mts +1 -1
- 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 +6 -6
- package/dist/actions/get-order.d.mts +6 -6
- 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 +4 -4
- package/dist/actions/get-parcel.d.mts +4 -4
- 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 +3 -3
- package/dist/actions/get-rate.d.mts +3 -3
- 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 +1 -1
- package/dist/actions/get-refund.d.mts +1 -1
- 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 +13 -13
- package/dist/actions/get-shipment.d.mts +13 -13
- 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 +1 -1
- package/dist/actions/get-shippo-account.d.mts +1 -1
- 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 +8 -8
- package/dist/actions/get-track.d.mts +8 -8
- 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 +2 -2
- package/dist/actions/get-transaction.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-user-parcel-template.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/get-webhook.d.mts +1 -1
- 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 +4 -4
- package/dist/actions/list-addresses.d.mts +4 -4
- 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 +4 -4
- package/dist/actions/list-carrier-accounts.d.mts +4 -4
- 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 +3 -3
- package/dist/actions/list-carrier-parcel-templates.d.mts +3 -3
- 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 +7 -7
- package/dist/actions/list-customs-declarations.d.mts +7 -7
- 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 +2 -2
- package/dist/actions/list-customs-items.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/list-manifests.d.mts +2 -2
- 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 +4 -4
- package/dist/actions/list-merchant-addresses.d.mts +4 -4
- 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 +3 -3
- package/dist/actions/list-merchant-carrier-accounts.d.mts +3 -3
- 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 +2 -2
- package/dist/actions/list-merchant-customs-declarations.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/list-merchant-customs-items.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/list-merchant-manifests.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/list-merchant-parcels.d.mts +3 -3
- 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 +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts +4 -4
- 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 +13 -13
- package/dist/actions/list-merchant-shipments.d.mts +13 -13
- 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 +3 -3
- package/dist/actions/list-merchant-transactions.d.mts +3 -3
- 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 +2 -2
- package/dist/actions/list-merchants.d.mts +2 -2
- 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 +7 -7
- package/dist/actions/list-orders.d.mts +7 -7
- 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 +2 -2
- package/dist/actions/list-refunds.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/list-service-groups.d.mts +3 -3
- 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 +4 -4
- package/dist/actions/list-shipment-rates-by-currency.d.mts +4 -4
- 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 +4 -4
- package/dist/actions/list-shipment-rates.d.mts +4 -4
- 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 +13 -13
- package/dist/actions/list-shipments.d.mts +13 -13
- 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 +2 -2
- package/dist/actions/list-shippo-accounts.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/list-user-parcel-templates.d.mts +3 -3
- 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 +4 -4
- package/dist/actions/purchase-merchant-batch.d.mts +4 -4
- 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 +5 -5
- package/dist/actions/remove-shipments-from-batch.d.mts +5 -5
- 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 +4 -4
- package/dist/actions/update-carrier-account.d.mts +4 -4
- 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 +3 -3
- package/dist/actions/update-default-parcel-template.d.mts +3 -3
- 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 +2 -2
- package/dist/actions/update-merchant-carrier-account.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/update-merchant.d.mts +1 -1
- 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 +4 -3
- package/dist/actions/update-service-group.d.mts +4 -3
- 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 +2 -2
- package/dist/actions/update-user-parcel-template.d.mts +2 -2
- 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 +5 -5
- package/dist/actions/update-webhook.d.mts +5 -5
- 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 +3 -3
- package/dist/actions/validate-address.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/validate-merchant-address.d.mts +3 -3
- package/dist/actions/validate-merchant-address.mjs +3 -3
- package/dist/actions/validate-merchant-address.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ declare const ShippoListMerchantManifestsOutput: z.ZodObject<{
|
|
|
14
14
|
documents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
15
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
address_from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -23,9 +23,9 @@ declare const ShippoListMerchantManifestsOutput: z.ZodObject<{
|
|
|
23
23
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
carrier_account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const shippoListMerchantManifests: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
merchant_id: string;
|
|
31
31
|
page?: number | undefined;
|
|
@@ -10,7 +10,7 @@ const ShippoListMerchantManifestsInput = z.object({
|
|
|
10
10
|
const ShippoListMerchantManifests_ManifestDocumentSchema = z.object({
|
|
11
11
|
url: z.string().describe("URL where the manifest document can be downloaded.").nullable().optional(),
|
|
12
12
|
type: z.string().describe("Type of document (e.g., 'PDF', 'PNG', 'ZPL').").nullable().optional()
|
|
13
|
-
}).describe("Model for manifest document information.");
|
|
13
|
+
}).passthrough().describe("Model for manifest document information.");
|
|
14
14
|
const ShippoListMerchantManifests_MerchantManifestSchema = z.object({
|
|
15
15
|
status: z.string().describe("Status of the manifest. Possible values include 'SUCCESS', 'QUEUED', 'ERROR'.").nullable().optional(),
|
|
16
16
|
documents: z.array(ShippoListMerchantManifests_ManifestDocumentSchema).describe("List of documents associated with the manifest.").nullable().optional(),
|
|
@@ -22,7 +22,7 @@ const ShippoListMerchantManifests_MerchantManifestSchema = z.object({
|
|
|
22
22
|
object_created: z.string().describe("Timestamp when the manifest was created in ISO 8601 format.").nullable().optional(),
|
|
23
23
|
object_updated: z.string().describe("Timestamp when the manifest was last updated in ISO 8601 format.").nullable().optional(),
|
|
24
24
|
carrier_account: z.string().describe("Object ID of the carrier account associated with this manifest.").nullable().optional()
|
|
25
|
-
}).describe("Model representing a single manifest for a merchant.");
|
|
25
|
+
}).passthrough().describe("Model representing a single manifest for a merchant.");
|
|
26
26
|
const shippoListMerchantManifests = action("SHIPPO_LIST_MERCHANT_MANIFESTS", {
|
|
27
27
|
slug: "shippo-list-merchant-manifests",
|
|
28
28
|
name: "List Merchant Manifests",
|
|
@@ -32,7 +32,7 @@ const shippoListMerchantManifests = action("SHIPPO_LIST_MERCHANT_MANIFESTS", {
|
|
|
32
32
|
next: z.string().describe("URL to the next page of results. Null if there are no more pages.").nullable().optional(),
|
|
33
33
|
results: z.array(ShippoListMerchantManifests_MerchantManifestSchema).describe("List of manifest objects on the current page.").nullable().optional(),
|
|
34
34
|
previous: z.string().describe("URL to the previous page of results. Null if this is the first page.").nullable().optional()
|
|
35
|
-
}).describe("Response model containing paginated list of manifests for a merchant.")
|
|
35
|
+
}).passthrough().describe("Response model containing paginated list of manifests for a merchant.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { shippoListMerchantManifests };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-manifests.mjs","names":[],"sources":["../../src/actions/list-merchant-manifests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantManifestsInput = z.object({\n page: z.number().int().describe(\"The page number you want to select. Must be greater than or equal to 1.\").optional(),\n results: z.number().int().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 manifests 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 manifests for a specific merchant.\");\nconst ShippoListMerchantManifests_ManifestDocumentSchema = z.object({\n url: z.string().describe(\"URL where the manifest document can be downloaded.\").nullable().optional(),\n type: z.string().describe(\"Type of document (e.g., 'PDF', 'PNG', 'ZPL').\").nullable().optional(),\n}).describe(\"Model for manifest document information.\");\nconst ShippoListMerchantManifests_MerchantManifestSchema = z.object({\n status: z.string().describe(\"Status of the manifest. Possible values include 'SUCCESS', 'QUEUED', 'ERROR'.\").nullable().optional(),\n documents: z.array(ShippoListMerchantManifests_ManifestDocumentSchema).describe(\"List of documents associated with the manifest.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the manifest object.\").nullable().optional(),\n address_from: z.string().describe(\"Object ID of the address the manifest is sent from.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created this manifest.\").nullable().optional(),\n transactions: z.array(z.string()).describe(\"List of transaction object IDs included in the manifest.\").nullable().optional(),\n shipment_date: z.string().describe(\"Date and time of the shipment in ISO 8601 format.\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the manifest was created in ISO 8601 format.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the manifest was last updated in ISO 8601 format.\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account associated with this manifest.\").nullable().optional(),\n}).describe(\"Model representing a single manifest for a merchant.\");\nexport const ShippoListMerchantManifestsOutput = 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(ShippoListMerchantManifests_MerchantManifestSchema).describe(\"List of manifest 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 manifests for a merchant.\");\n\nexport const shippoListMerchantManifests = action(\"SHIPPO_LIST_MERCHANT_MANIFESTS\", {\n slug: \"shippo-list-merchant-manifests\",\n name: \"List Merchant Manifests\",\n description: \"Tool to list all manifests for a specific merchant using Shippo's Platform API. Use when you need to retrieve manifests for a merchant account with optional pagination.\",\n input: ShippoListMerchantManifestsInput,\n output: ShippoListMerchantManifestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CAC/I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qDAAqD,EAAE,OAAO;CAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"list-merchant-manifests.mjs","names":[],"sources":["../../src/actions/list-merchant-manifests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantManifestsInput = z.object({\n page: z.number().int().describe(\"The page number you want to select. Must be greater than or equal to 1.\").optional(),\n results: z.number().int().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 manifests 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 manifests for a specific merchant.\");\nconst ShippoListMerchantManifests_ManifestDocumentSchema = z.object({\n url: z.string().describe(\"URL where the manifest document can be downloaded.\").nullable().optional(),\n type: z.string().describe(\"Type of document (e.g., 'PDF', 'PNG', 'ZPL').\").nullable().optional(),\n}).passthrough().describe(\"Model for manifest document information.\");\nconst ShippoListMerchantManifests_MerchantManifestSchema = z.object({\n status: z.string().describe(\"Status of the manifest. Possible values include 'SUCCESS', 'QUEUED', 'ERROR'.\").nullable().optional(),\n documents: z.array(ShippoListMerchantManifests_ManifestDocumentSchema).describe(\"List of documents associated with the manifest.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the manifest object.\").nullable().optional(),\n address_from: z.string().describe(\"Object ID of the address the manifest is sent from.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created this manifest.\").nullable().optional(),\n transactions: z.array(z.string()).describe(\"List of transaction object IDs included in the manifest.\").nullable().optional(),\n shipment_date: z.string().describe(\"Date and time of the shipment in ISO 8601 format.\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the manifest was created in ISO 8601 format.\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the manifest was last updated in ISO 8601 format.\").nullable().optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account associated with this manifest.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single manifest for a merchant.\");\nexport const ShippoListMerchantManifestsOutput = 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(ShippoListMerchantManifests_MerchantManifestSchema).describe(\"List of manifest 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 manifests for a merchant.\");\n\nexport const shippoListMerchantManifests = action(\"SHIPPO_LIST_MERCHANT_MANIFESTS\", {\n slug: \"shippo-list-merchant-manifests\",\n name: \"List Merchant Manifests\",\n description: \"Tool to list all manifests for a specific merchant using Shippo's Platform API. Use when you need to retrieve manifests for a merchant account with optional pagination.\",\n input: ShippoListMerchantManifestsInput,\n output: ShippoListMerchantManifestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CAC/I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qDAAqD,EAAE,OAAO;CAClE,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a,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,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const ShippoListMerchantParcelsInput = zod.z.object({
|
|
|
9
9
|
}).describe("Request model for listing parcels for a merchant.");
|
|
10
10
|
const ShippoListMerchantParcels_MerchantParcelSchema = zod.z.object({
|
|
11
11
|
test: zod.z.boolean().describe("Indicates whether the object has been created in test mode").nullable().optional(),
|
|
12
|
-
extra: zod.z.
|
|
12
|
+
extra: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional parcel options").nullable().optional(),
|
|
13
13
|
width: zod.z.string().describe("Width of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted").nullable().optional(),
|
|
14
14
|
height: zod.z.string().describe("Height of the parcel. Up to six digits in front and four digits after the decimal separator are accepted").nullable().optional(),
|
|
15
15
|
length: zod.z.string().describe("Length of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted").nullable().optional(),
|
|
@@ -23,12 +23,12 @@ const ShippoListMerchantParcels_MerchantParcelSchema = zod.z.object({
|
|
|
23
23
|
distance_unit: zod.z.string().describe("The measure unit used for length, width and height").nullable().optional(),
|
|
24
24
|
object_created: zod.z.string().describe("ISO 8601 timestamp when the parcel was created").nullable().optional(),
|
|
25
25
|
object_updated: zod.z.string().describe("ISO 8601 timestamp of last update").nullable().optional()
|
|
26
|
-
}).describe("Parcel object returned by the Shippo Platform API.");
|
|
26
|
+
}).passthrough().describe("Parcel object returned by the Shippo Platform API.");
|
|
27
27
|
const ShippoListMerchantParcelsOutput = zod.z.object({
|
|
28
28
|
next: zod.z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
29
29
|
results: zod.z.array(ShippoListMerchantParcels_MerchantParcelSchema).describe("Array of parcel objects").nullable().optional(),
|
|
30
30
|
previous: zod.z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
31
|
-
}).describe("Response containing paginated list of merchant parcels.");
|
|
31
|
+
}).passthrough().describe("Response containing paginated list of merchant parcels.");
|
|
32
32
|
const shippoListMerchantParcels = require_action.action("SHIPPO_LIST_MERCHANT_PARCELS", {
|
|
33
33
|
slug: "shippo-list-merchant-parcels",
|
|
34
34
|
name: "List Merchant Parcels",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-parcels.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-parcels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantParcelsInput = 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 whose parcels you want to list\"),\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 parcels for a merchant.\");\nconst ShippoListMerchantParcels_MerchantParcelSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n extra: z.
|
|
1
|
+
{"version":3,"file":"list-merchant-parcels.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-parcels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantParcelsInput = 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 whose parcels you want to list\"),\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 parcels for a merchant.\");\nconst ShippoListMerchantParcels_MerchantParcelSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n extra: z.record(z.string(), z.unknown()).describe(\"Additional parcel options\").nullable().optional(),\n width: z.string().describe(\"Width of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel. Up to six digits in front and four digits after the decimal separator are accepted\").nullable().optional(),\n length: z.string().describe(\"Length of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel. Up to six digits in front and four digits after the decimal separator are accepted\").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 template: z.string().describe(\"If template is passed, length, width, height, and distance_unit are not required\").nullable().optional(),\n mass_unit: z.string().describe(\"The unit used for weight\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Parcel object\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the Parcel object\").nullable().optional(),\n object_state: z.string().describe(\"A Parcel will only be valid when all required values have been sent and validated successfully\").nullable().optional(),\n distance_unit: z.string().describe(\"The measure unit used for length, width and height\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the parcel was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n}).passthrough().describe(\"Parcel object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantParcelsOutput = 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(ShippoListMerchantParcels_MerchantParcelSchema).describe(\"Array of parcel objects\").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 parcels.\");\n\nexport const shippoListMerchantParcels = action(\"SHIPPO_LIST_MERCHANT_PARCELS\", {\n slug: \"shippo-list-merchant-parcels\",\n name: \"List Merchant Parcels\",\n description: \"Tool to list all parcels for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant parcels with pagination support.\",\n input: ShippoListMerchantParcelsInput,\n output: ShippoListMerchantParcelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,0DAA0D;CAC3F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,QAAQA,IAAAA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AS;CACzG,SAASA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const ShippoListMerchantParcelsOutput: z.ZodObject<{
|
|
|
11
11
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
test: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
-
extra: z.ZodOptional<z.ZodNullable<z.
|
|
14
|
+
extra: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
15
|
width: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
height: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
length: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -25,9 +25,9 @@ declare const ShippoListMerchantParcelsOutput: z.ZodObject<{
|
|
|
25
25
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>>;
|
|
29
29
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const shippoListMerchantParcels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
merchant_id: string;
|
|
33
33
|
page?: number | undefined;
|
|
@@ -11,7 +11,7 @@ declare const ShippoListMerchantParcelsOutput: z.ZodObject<{
|
|
|
11
11
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
test: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
-
extra: z.ZodOptional<z.ZodNullable<z.
|
|
14
|
+
extra: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
15
|
width: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
height: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
length: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -25,9 +25,9 @@ declare const ShippoListMerchantParcelsOutput: z.ZodObject<{
|
|
|
25
25
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>>;
|
|
29
29
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const shippoListMerchantParcels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
merchant_id: string;
|
|
33
33
|
page?: number | undefined;
|
|
@@ -9,7 +9,7 @@ const ShippoListMerchantParcelsInput = z.object({
|
|
|
9
9
|
}).describe("Request model for listing parcels for a merchant.");
|
|
10
10
|
const ShippoListMerchantParcels_MerchantParcelSchema = z.object({
|
|
11
11
|
test: z.boolean().describe("Indicates whether the object has been created in test mode").nullable().optional(),
|
|
12
|
-
extra: z.
|
|
12
|
+
extra: z.record(z.string(), z.unknown()).describe("Additional parcel options").nullable().optional(),
|
|
13
13
|
width: z.string().describe("Width of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted").nullable().optional(),
|
|
14
14
|
height: z.string().describe("Height of the parcel. Up to six digits in front and four digits after the decimal separator are accepted").nullable().optional(),
|
|
15
15
|
length: z.string().describe("Length of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted").nullable().optional(),
|
|
@@ -23,7 +23,7 @@ const ShippoListMerchantParcels_MerchantParcelSchema = z.object({
|
|
|
23
23
|
distance_unit: z.string().describe("The measure unit used for length, width and height").nullable().optional(),
|
|
24
24
|
object_created: z.string().describe("ISO 8601 timestamp when the parcel was created").nullable().optional(),
|
|
25
25
|
object_updated: z.string().describe("ISO 8601 timestamp of last update").nullable().optional()
|
|
26
|
-
}).describe("Parcel object returned by the Shippo Platform API.");
|
|
26
|
+
}).passthrough().describe("Parcel object returned by the Shippo Platform API.");
|
|
27
27
|
const shippoListMerchantParcels = action("SHIPPO_LIST_MERCHANT_PARCELS", {
|
|
28
28
|
slug: "shippo-list-merchant-parcels",
|
|
29
29
|
name: "List Merchant Parcels",
|
|
@@ -33,7 +33,7 @@ const shippoListMerchantParcels = action("SHIPPO_LIST_MERCHANT_PARCELS", {
|
|
|
33
33
|
next: z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
34
34
|
results: z.array(ShippoListMerchantParcels_MerchantParcelSchema).describe("Array of parcel objects").nullable().optional(),
|
|
35
35
|
previous: z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
36
|
-
}).describe("Response containing paginated list of merchant parcels.")
|
|
36
|
+
}).passthrough().describe("Response containing paginated list of merchant parcels.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { shippoListMerchantParcels };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-parcels.mjs","names":[],"sources":["../../src/actions/list-merchant-parcels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantParcelsInput = 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 whose parcels you want to list\"),\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 parcels for a merchant.\");\nconst ShippoListMerchantParcels_MerchantParcelSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n extra: z.
|
|
1
|
+
{"version":3,"file":"list-merchant-parcels.mjs","names":[],"sources":["../../src/actions/list-merchant-parcels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantParcelsInput = 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 whose parcels you want to list\"),\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 parcels for a merchant.\");\nconst ShippoListMerchantParcels_MerchantParcelSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n extra: z.record(z.string(), z.unknown()).describe(\"Additional parcel options\").nullable().optional(),\n width: z.string().describe(\"Width of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel. Up to six digits in front and four digits after the decimal separator are accepted\").nullable().optional(),\n length: z.string().describe(\"Length of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel. Up to six digits in front and four digits after the decimal separator are accepted\").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 template: z.string().describe(\"If template is passed, length, width, height, and distance_unit are not required\").nullable().optional(),\n mass_unit: z.string().describe(\"The unit used for weight\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Parcel object\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the Parcel object\").nullable().optional(),\n object_state: z.string().describe(\"A Parcel will only be valid when all required values have been sent and validated successfully\").nullable().optional(),\n distance_unit: z.string().describe(\"The measure unit used for length, width and height\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the parcel was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n}).passthrough().describe(\"Parcel object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantParcelsOutput = 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(ShippoListMerchantParcels_MerchantParcelSchema).describe(\"Array of parcel objects\").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 parcels.\");\n\nexport const shippoListMerchantParcels = action(\"SHIPPO_LIST_MERCHANT_PARCELS\", {\n slug: \"shippo-list-merchant-parcels\",\n name: \"List Merchant Parcels\",\n description: \"Tool to list all parcels for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant parcels with pagination support.\",\n input: ShippoListMerchantParcelsInput,\n output: ShippoListMerchantParcelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,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,0DAA0D;CAC3F,oBAAoB,EAA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EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAO9E,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const ShippoListMerchantShipmentRatesByCurrency_MessageObjectSchema = zod.z.obje
|
|
|
13
13
|
code: zod.z.string().describe("An identifier for the corresponding message (not always available).").nullable().optional(),
|
|
14
14
|
text: zod.z.string().describe("A publishable message containing further information.").nullable().optional(),
|
|
15
15
|
source: zod.z.string().describe("Source of the message.").nullable().optional()
|
|
16
|
-
}).describe("Message object in the rate response.");
|
|
16
|
+
}).passthrough().describe("Message object in the rate response.");
|
|
17
17
|
const ShippoListMerchantShipmentRatesByCurrency_RateAttributeSchema = zod.z.enum([
|
|
18
18
|
"BESTVALUE",
|
|
19
19
|
"CHEAPEST",
|
|
@@ -23,7 +23,7 @@ const ShippoListMerchantShipmentRatesByCurrency_ServiceLevelSchema = zod.z.objec
|
|
|
23
23
|
name: zod.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(),
|
|
24
24
|
terms: zod.z.string().describe("Further clarification of the service.").nullable().optional(),
|
|
25
25
|
token: zod.z.string().describe("Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.").nullable().optional()
|
|
26
|
-
}).describe("Service level information for the rate.");
|
|
26
|
+
}).passthrough().describe("Service level information for the rate.");
|
|
27
27
|
const ShippoListMerchantShipmentRatesByCurrency_ShipmentRateSchema = zod.z.object({
|
|
28
28
|
test: zod.z.boolean().describe("Indicates whether the object has been created in test mode").nullable().optional(),
|
|
29
29
|
zone: zod.z.string().describe("The parcel's transit zone token. These tokens can vary depending on the provider").nullable().optional(),
|
|
@@ -45,12 +45,12 @@ const ShippoListMerchantShipmentRatesByCurrency_ShipmentRateSchema = zod.z.objec
|
|
|
45
45
|
carrier_account: zod.z.string().describe("Object ID of the carrier account that has been used to retrieve the rate").nullable().optional(),
|
|
46
46
|
provider_image_75: zod.z.string().describe("URL to the provider logo with max. dimensions of 75*75px").nullable().optional(),
|
|
47
47
|
provider_image_200: zod.z.string().describe("URL to the provider logo with max. dimensions of 200*200px").nullable().optional()
|
|
48
|
-
}).describe("Rate object for a shipment.");
|
|
48
|
+
}).passthrough().describe("Rate object for a shipment.");
|
|
49
49
|
const ShippoListMerchantShipmentRatesByCurrencyOutput = zod.z.object({
|
|
50
50
|
next: zod.z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
51
51
|
results: zod.z.array(ShippoListMerchantShipmentRatesByCurrency_ShipmentRateSchema).describe("Array of rate objects for the shipment in the specified currency").nullable().optional(),
|
|
52
52
|
previous: zod.z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
53
|
-
}).describe("Response containing paginated list of shipment rates filtered by currency.");
|
|
53
|
+
}).passthrough().describe("Response containing paginated list of shipment rates filtered by currency.");
|
|
54
54
|
const shippoListMerchantShipmentRatesByCurrency = require_action.action("SHIPPO_LIST_MERCHANT_SHIPMENT_RATES_BY_CURRENCY", {
|
|
55
55
|
slug: "shippo-list-merchant-shipment-rates-by-currency",
|
|
56
56
|
name: "List Merchant Shipment Rates by Currency",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-shipment-rates-by-currency.cjs","names":["z","action"],"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,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,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,2BAA2B;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC/F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"list-merchant-shipment-rates-by-currency.cjs","names":["z","action"],"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: ShippoListMerchantShipment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AAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,4CAA4CC,eAAAA,OAAO,mDAAmD;CACjH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const ShippoListMerchantShipmentRatesByCurrencyOutput: z.ZodObject<{
|
|
|
20
20
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
shipment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -36,7 +36,7 @@ declare const ShippoListMerchantShipmentRatesByCurrencyOutput: z.ZodObject<{
|
|
|
36
36
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
currency_local: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
duration_terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
estimated_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -44,9 +44,9 @@ declare const ShippoListMerchantShipmentRatesByCurrencyOutput: z.ZodObject<{
|
|
|
44
44
|
carrier_account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
provider_image_75: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
provider_image_200: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>>;
|
|
48
48
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const shippoListMerchantShipmentRatesByCurrency: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
merchant_id: string;
|
|
52
52
|
shipment_id: string;
|
|
@@ -20,7 +20,7 @@ declare const ShippoListMerchantShipmentRatesByCurrencyOutput: z.ZodObject<{
|
|
|
20
20
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
shipment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -36,7 +36,7 @@ declare const ShippoListMerchantShipmentRatesByCurrencyOutput: z.ZodObject<{
|
|
|
36
36
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
currency_local: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
duration_terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
estimated_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -44,9 +44,9 @@ declare const ShippoListMerchantShipmentRatesByCurrencyOutput: z.ZodObject<{
|
|
|
44
44
|
carrier_account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
provider_image_75: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
provider_image_200: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>>;
|
|
48
48
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const shippoListMerchantShipmentRatesByCurrency: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
merchant_id: string;
|
|
52
52
|
shipment_id: string;
|
|
@@ -13,7 +13,7 @@ const ShippoListMerchantShipmentRatesByCurrency_MessageObjectSchema = z.object({
|
|
|
13
13
|
code: z.string().describe("An identifier for the corresponding message (not always available).").nullable().optional(),
|
|
14
14
|
text: z.string().describe("A publishable message containing further information.").nullable().optional(),
|
|
15
15
|
source: z.string().describe("Source of the message.").nullable().optional()
|
|
16
|
-
}).describe("Message object in the rate response.");
|
|
16
|
+
}).passthrough().describe("Message object in the rate response.");
|
|
17
17
|
const ShippoListMerchantShipmentRatesByCurrency_RateAttributeSchema = z.enum([
|
|
18
18
|
"BESTVALUE",
|
|
19
19
|
"CHEAPEST",
|
|
@@ -23,7 +23,7 @@ const ShippoListMerchantShipmentRatesByCurrency_ServiceLevelSchema = z.object({
|
|
|
23
23
|
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(),
|
|
24
24
|
terms: z.string().describe("Further clarification of the service.").nullable().optional(),
|
|
25
25
|
token: z.string().describe("Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'.").nullable().optional()
|
|
26
|
-
}).describe("Service level information for the rate.");
|
|
26
|
+
}).passthrough().describe("Service level information for the rate.");
|
|
27
27
|
const ShippoListMerchantShipmentRatesByCurrency_ShipmentRateSchema = z.object({
|
|
28
28
|
test: z.boolean().describe("Indicates whether the object has been created in test mode").nullable().optional(),
|
|
29
29
|
zone: z.string().describe("The parcel's transit zone token. These tokens can vary depending on the provider").nullable().optional(),
|
|
@@ -45,7 +45,7 @@ const ShippoListMerchantShipmentRatesByCurrency_ShipmentRateSchema = z.object({
|
|
|
45
45
|
carrier_account: z.string().describe("Object ID of the carrier account that has been used to retrieve the rate").nullable().optional(),
|
|
46
46
|
provider_image_75: z.string().describe("URL to the provider logo with max. dimensions of 75*75px").nullable().optional(),
|
|
47
47
|
provider_image_200: z.string().describe("URL to the provider logo with max. dimensions of 200*200px").nullable().optional()
|
|
48
|
-
}).describe("Rate object for a shipment.");
|
|
48
|
+
}).passthrough().describe("Rate object for a shipment.");
|
|
49
49
|
const shippoListMerchantShipmentRatesByCurrency = action("SHIPPO_LIST_MERCHANT_SHIPMENT_RATES_BY_CURRENCY", {
|
|
50
50
|
slug: "shippo-list-merchant-shipment-rates-by-currency",
|
|
51
51
|
name: "List Merchant Shipment Rates by Currency",
|
|
@@ -55,7 +55,7 @@ const shippoListMerchantShipmentRatesByCurrency = action("SHIPPO_LIST_MERCHANT_S
|
|
|
55
55
|
next: z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
56
56
|
results: z.array(ShippoListMerchantShipmentRatesByCurrency_ShipmentRateSchema).describe("Array of rate objects for the shipment in the specified currency").nullable().optional(),
|
|
57
57
|
previous: z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
58
|
-
}).describe("Response containing paginated list of shipment rates filtered by currency.")
|
|
58
|
+
}).passthrough().describe("Response containing paginated list of shipment rates filtered by currency.")
|
|
59
59
|
});
|
|
60
60
|
//#endregion
|
|
61
61
|
export { shippoListMerchantShipmentRatesByCurrency };
|
|
@@ -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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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7O,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAOvD,MAAa,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",
|