@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
|
@@ -10,23 +10,23 @@ const ShippoListCustomsDeclarations_DutiesPayorAddressSchema = zod.z.object({
|
|
|
10
10
|
zip: zod.z.string().describe("Postal code of the party to be billed for duties").nullable().optional(),
|
|
11
11
|
name: zod.z.string().describe("Name of the party to be billed for duties").nullable().optional(),
|
|
12
12
|
country: zod.z.string().describe("Country ISO code of account number to be billed").nullable().optional()
|
|
13
|
-
}).describe("Address of the party to be billed for duties.");
|
|
13
|
+
}).passthrough().describe("Address of the party to be billed for duties.");
|
|
14
14
|
const ShippoListCustomsDeclarations_DutiesPayorSchema = zod.z.object({
|
|
15
15
|
type: zod.z.string().describe("Party to be billed for duties (SENDER, RECIPIENT, THIRD_PARTY)").nullable().optional(),
|
|
16
16
|
account: zod.z.string().describe("Account number to be billed for duties").nullable().optional(),
|
|
17
17
|
address: ShippoListCustomsDeclarations_DutiesPayorAddressSchema.nullable().optional()
|
|
18
|
-
}).describe("Specifies who will pay the duties for the shipment.");
|
|
18
|
+
}).passthrough().describe("Specifies who will pay the duties for the shipment.");
|
|
19
19
|
const ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema = zod.z.object({
|
|
20
20
|
currency: zod.z.string().describe("Currency for the invoiced charges amounts incurred on the end consumer").nullable().optional(),
|
|
21
21
|
other_fees: zod.z.string().describe("Other fees paid by the buyer").nullable().optional(),
|
|
22
22
|
total_taxes: zod.z.string().describe("Total taxes paid by the buyer").nullable().optional(),
|
|
23
23
|
total_duties: zod.z.string().describe("Total duties paid by the buyer").nullable().optional(),
|
|
24
24
|
total_shipping: zod.z.string().describe("Total shipping paid by the buyer").nullable().optional()
|
|
25
|
-
}).describe("Additional invoiced charges to be shown on the Customs Declaration Commercial Invoice.");
|
|
25
|
+
}).passthrough().describe("Additional invoiced charges to be shown on the Customs Declaration Commercial Invoice.");
|
|
26
26
|
const ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema = zod.z.object({
|
|
27
|
-
tax_id: zod.z.
|
|
27
|
+
tax_id: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Tax identification details").nullable().optional(),
|
|
28
28
|
eori_number: zod.z.string().describe("Economic Operators' Registration and Identification (EORI) number").nullable().optional()
|
|
29
|
-
}).describe("Additional exporter identification that may be required to ship in certain countries.");
|
|
29
|
+
}).passthrough().describe("Additional exporter identification that may be required to ship in certain countries.");
|
|
30
30
|
const ShippoListCustomsDeclarations_CustomsDeclarationSchema = zod.z.object({
|
|
31
31
|
test: zod.z.boolean().describe("Boolean indicating if this is a test mode customs declaration").nullable().optional(),
|
|
32
32
|
items: zod.z.array(zod.z.string()).describe("Object IDs of CustomsItem objects").nullable().optional(),
|
|
@@ -58,12 +58,12 @@ const ShippoListCustomsDeclarations_CustomsDeclarationSchema = zod.z.object({
|
|
|
58
58
|
non_delivery_option: zod.z.string().describe("Action to take if delivery fails (e.g., RETURN, ABANDON)").nullable().optional(),
|
|
59
59
|
contents_explanation: zod.z.string().describe("Explanation of the type of goods of the shipment").nullable().optional(),
|
|
60
60
|
exporter_identification: ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema.nullable().optional()
|
|
61
|
-
}).describe("Customs declaration object returned by the Shippo API.");
|
|
61
|
+
}).passthrough().describe("Customs declaration object returned by the Shippo API.");
|
|
62
62
|
const ShippoListCustomsDeclarationsOutput = zod.z.object({
|
|
63
63
|
next: zod.z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
64
64
|
results: zod.z.array(ShippoListCustomsDeclarations_CustomsDeclarationSchema).describe("Array of customs declaration objects").nullable().optional(),
|
|
65
65
|
previous: zod.z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
66
|
-
}).describe("Response containing paginated list of customs declarations.");
|
|
66
|
+
}).passthrough().describe("Response containing paginated list of customs declarations.");
|
|
67
67
|
const shippoListCustomsDeclarations = require_action.action("SHIPPO_LIST_CUSTOMS_DECLARATIONS", {
|
|
68
68
|
slug: "shippo-list-customs-declarations",
|
|
69
69
|
name: "List Customs Declarations",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customs-declarations.cjs","names":["z","action"],"sources":["../../src/actions/list-customs-declarations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCustomsDeclarationsInput = 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 SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing customs declarations with pagination.\");\nconst ShippoListCustomsDeclarations_DutiesPayorAddressSchema = z.object({\n zip: z.string().describe(\"Postal code of the party to be billed for duties\").nullable().optional(),\n name: z.string().describe(\"Name of the party to be billed for duties\").nullable().optional(),\n country: z.string().describe(\"Country ISO code of account number to be billed\").nullable().optional(),\n}).describe(\"Address of the party to be billed for duties.\");\nconst ShippoListCustomsDeclarations_DutiesPayorSchema = z.object({\n type: z.string().describe(\"Party to be billed for duties (SENDER, RECIPIENT, THIRD_PARTY)\").nullable().optional(),\n account: z.string().describe(\"Account number to be billed for duties\").nullable().optional(),\n address: ShippoListCustomsDeclarations_DutiesPayorAddressSchema.nullable().optional(),\n}).describe(\"Specifies who will pay the duties for the shipment.\");\nconst ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema = z.object({\n currency: z.string().describe(\"Currency for the invoiced charges amounts incurred on the end consumer\").nullable().optional(),\n other_fees: z.string().describe(\"Other fees paid by the buyer\").nullable().optional(),\n total_taxes: z.string().describe(\"Total taxes paid by the buyer\").nullable().optional(),\n total_duties: z.string().describe(\"Total duties paid by the buyer\").nullable().optional(),\n total_shipping: z.string().describe(\"Total shipping paid by the buyer\").nullable().optional(),\n}).describe(\"Additional invoiced charges to be shown on the Customs Declaration Commercial Invoice.\");\nconst ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema = z.object({\n tax_id: z.object({}).describe(\"Tax identification details\").nullable().optional(),\n eori_number: z.string().describe(\"Economic Operators' Registration and Identification (EORI) number\").nullable().optional(),\n}).describe(\"Additional exporter identification that may be required to ship in certain countries.\");\nconst ShippoListCustomsDeclarations_CustomsDeclarationSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Object IDs of CustomsItem objects\").nullable().optional(),\n notes: z.string().describe(\"Additional notes to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN reference of the shipment\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information (EEL or PFC code)\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference of the shipment\").nullable().optional(),\n license: z.string().describe(\"License reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA)\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata, up to 100 characters\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number)\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n duties_payor: ShippoListCustomsDeclarations_DutiesPayorSchema.nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the object\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (e.g., VALID, INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n invoiced_charges: ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema.nullable().optional(),\n is_vat_collected: z.boolean().describe(\"Indicates whether the shipment's destination VAT has been collected\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.boolean().describe(\"Indicates if a commercial invoice is included\").nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN, ABANDON)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods of the shipment\").nullable().optional(),\n exporter_identification: ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema.nullable().optional(),\n}).describe(\"Customs declaration object returned by the Shippo API.\");\nexport const ShippoListCustomsDeclarationsOutput = 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(ShippoListCustomsDeclarations_CustomsDeclarationSchema).describe(\"Array of customs declaration objects\").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 customs declarations.\");\n\nexport const shippoListCustomsDeclarations = action(\"SHIPPO_LIST_CUSTOMS_DECLARATIONS\", {\n slug: \"shippo-list-customs-declarations\",\n name: \"List Customs Declarations\",\n description: \"Tool to list all customs declarations in the Shippo account with pagination support. Use when you need to retrieve customs declarations for international shipments.\",\n input: ShippoListCustomsDeclarationsInput,\n output: ShippoListCustomsDeclarationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,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,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SA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,SAAS;CACzH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,yBAAyB,kEAAkE,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-customs-declarations.cjs","names":["z","action"],"sources":["../../src/actions/list-customs-declarations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCustomsDeclarationsInput = 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 SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing customs declarations with pagination.\");\nconst ShippoListCustomsDeclarations_DutiesPayorAddressSchema = z.object({\n zip: z.string().describe(\"Postal code of the party to be billed for duties\").nullable().optional(),\n name: z.string().describe(\"Name of the party to be billed for duties\").nullable().optional(),\n country: z.string().describe(\"Country ISO code of account number to be billed\").nullable().optional(),\n}).passthrough().describe(\"Address of the party to be billed for duties.\");\nconst ShippoListCustomsDeclarations_DutiesPayorSchema = z.object({\n type: z.string().describe(\"Party to be billed for duties (SENDER, RECIPIENT, THIRD_PARTY)\").nullable().optional(),\n account: z.string().describe(\"Account number to be billed for duties\").nullable().optional(),\n address: ShippoListCustomsDeclarations_DutiesPayorAddressSchema.nullable().optional(),\n}).passthrough().describe(\"Specifies who will pay the duties for the shipment.\");\nconst ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema = z.object({\n currency: z.string().describe(\"Currency for the invoiced charges amounts incurred on the end consumer\").nullable().optional(),\n other_fees: z.string().describe(\"Other fees paid by the buyer\").nullable().optional(),\n total_taxes: z.string().describe(\"Total taxes paid by the buyer\").nullable().optional(),\n total_duties: z.string().describe(\"Total duties paid by the buyer\").nullable().optional(),\n total_shipping: z.string().describe(\"Total shipping paid by the buyer\").nullable().optional(),\n}).passthrough().describe(\"Additional invoiced charges to be shown on the Customs Declaration Commercial Invoice.\");\nconst ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema = z.object({\n tax_id: z.record(z.string(), z.unknown()).describe(\"Tax identification details\").nullable().optional(),\n eori_number: z.string().describe(\"Economic Operators' Registration and Identification (EORI) number\").nullable().optional(),\n}).passthrough().describe(\"Additional exporter identification that may be required to ship in certain countries.\");\nconst ShippoListCustomsDeclarations_CustomsDeclarationSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Object IDs of CustomsItem objects\").nullable().optional(),\n notes: z.string().describe(\"Additional notes to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN reference of the shipment\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information (EEL or PFC code)\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference of the shipment\").nullable().optional(),\n license: z.string().describe(\"License reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA)\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata, up to 100 characters\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number)\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n duties_payor: ShippoListCustomsDeclarations_DutiesPayorSchema.nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the object\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (e.g., VALID, INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n invoiced_charges: ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema.nullable().optional(),\n is_vat_collected: z.boolean().describe(\"Indicates whether the shipment's destination VAT has been collected\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.boolean().describe(\"Indicates if a commercial invoice is included\").nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN, ABANDON)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods of the shipment\").nullable().optional(),\n exporter_identification: ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema.nullable().optional(),\n}).passthrough().describe(\"Customs declaration object returned by the Shippo API.\");\nexport const ShippoListCustomsDeclarationsOutput = 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(ShippoListCustomsDeclarations_CustomsDeclarationSchema).describe(\"Array of customs declaration 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 customs declarations.\");\n\nexport const shippoListCustomsDeclarations = action(\"SHIPPO_LIST_CUSTOMS_DECLARATIONS\", {\n slug: \"shippo-list-customs-declarations\",\n name: \"List Customs Declarations\",\n description: \"Tool to list all customs declarations in the Shippo account with pagination support. Use when you need to retrieve customs declarations for international shipments.\",\n input: ShippoListCustomsDeclarationsInput,\n output: ShippoListCustomsDeclarationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,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,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+C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,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,yBAAyB,kEAAkE,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -30,8 +30,8 @@ declare const ShippoListCustomsDeclarationsOutput: z.ZodObject<{
|
|
|
30
30
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
object_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
contents_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -44,7 +44,7 @@ declare const ShippoListCustomsDeclarationsOutput: z.ZodObject<{
|
|
|
44
44
|
total_taxes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
total_duties: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
total_shipping: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
48
|
is_vat_collected: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
49
49
|
b13a_filing_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
commercial_invoice: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -53,12 +53,12 @@ declare const ShippoListCustomsDeclarationsOutput: z.ZodObject<{
|
|
|
53
53
|
non_delivery_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
contents_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
exporter_identification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
56
|
-
tax_id: z.ZodOptional<z.ZodNullable<z.
|
|
56
|
+
tax_id: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
57
57
|
eori_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
-
}, z.core.$
|
|
59
|
-
}, z.core.$
|
|
58
|
+
}, z.core.$loose>>>;
|
|
59
|
+
}, z.core.$loose>>>>;
|
|
60
60
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
-
}, z.core.$
|
|
61
|
+
}, z.core.$loose>;
|
|
62
62
|
declare const shippoListCustomsDeclarations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
63
63
|
page?: number | undefined;
|
|
64
64
|
results?: number | undefined;
|
|
@@ -30,8 +30,8 @@ declare const ShippoListCustomsDeclarationsOutput: z.ZodObject<{
|
|
|
30
30
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
object_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
contents_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -44,7 +44,7 @@ declare const ShippoListCustomsDeclarationsOutput: z.ZodObject<{
|
|
|
44
44
|
total_taxes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
total_duties: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
total_shipping: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
48
|
is_vat_collected: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
49
49
|
b13a_filing_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
commercial_invoice: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -53,12 +53,12 @@ declare const ShippoListCustomsDeclarationsOutput: z.ZodObject<{
|
|
|
53
53
|
non_delivery_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
contents_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
exporter_identification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
56
|
-
tax_id: z.ZodOptional<z.ZodNullable<z.
|
|
56
|
+
tax_id: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
57
57
|
eori_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
-
}, z.core.$
|
|
59
|
-
}, z.core.$
|
|
58
|
+
}, z.core.$loose>>>;
|
|
59
|
+
}, z.core.$loose>>>>;
|
|
60
60
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
-
}, z.core.$
|
|
61
|
+
}, z.core.$loose>;
|
|
62
62
|
declare const shippoListCustomsDeclarations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
63
63
|
page?: number | undefined;
|
|
64
64
|
results?: number | undefined;
|
|
@@ -10,23 +10,23 @@ const ShippoListCustomsDeclarations_DutiesPayorAddressSchema = z.object({
|
|
|
10
10
|
zip: z.string().describe("Postal code of the party to be billed for duties").nullable().optional(),
|
|
11
11
|
name: z.string().describe("Name of the party to be billed for duties").nullable().optional(),
|
|
12
12
|
country: z.string().describe("Country ISO code of account number to be billed").nullable().optional()
|
|
13
|
-
}).describe("Address of the party to be billed for duties.");
|
|
13
|
+
}).passthrough().describe("Address of the party to be billed for duties.");
|
|
14
14
|
const ShippoListCustomsDeclarations_DutiesPayorSchema = z.object({
|
|
15
15
|
type: z.string().describe("Party to be billed for duties (SENDER, RECIPIENT, THIRD_PARTY)").nullable().optional(),
|
|
16
16
|
account: z.string().describe("Account number to be billed for duties").nullable().optional(),
|
|
17
17
|
address: ShippoListCustomsDeclarations_DutiesPayorAddressSchema.nullable().optional()
|
|
18
|
-
}).describe("Specifies who will pay the duties for the shipment.");
|
|
18
|
+
}).passthrough().describe("Specifies who will pay the duties for the shipment.");
|
|
19
19
|
const ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema = z.object({
|
|
20
20
|
currency: z.string().describe("Currency for the invoiced charges amounts incurred on the end consumer").nullable().optional(),
|
|
21
21
|
other_fees: z.string().describe("Other fees paid by the buyer").nullable().optional(),
|
|
22
22
|
total_taxes: z.string().describe("Total taxes paid by the buyer").nullable().optional(),
|
|
23
23
|
total_duties: z.string().describe("Total duties paid by the buyer").nullable().optional(),
|
|
24
24
|
total_shipping: z.string().describe("Total shipping paid by the buyer").nullable().optional()
|
|
25
|
-
}).describe("Additional invoiced charges to be shown on the Customs Declaration Commercial Invoice.");
|
|
25
|
+
}).passthrough().describe("Additional invoiced charges to be shown on the Customs Declaration Commercial Invoice.");
|
|
26
26
|
const ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema = z.object({
|
|
27
|
-
tax_id: z.
|
|
27
|
+
tax_id: z.record(z.string(), z.unknown()).describe("Tax identification details").nullable().optional(),
|
|
28
28
|
eori_number: z.string().describe("Economic Operators' Registration and Identification (EORI) number").nullable().optional()
|
|
29
|
-
}).describe("Additional exporter identification that may be required to ship in certain countries.");
|
|
29
|
+
}).passthrough().describe("Additional exporter identification that may be required to ship in certain countries.");
|
|
30
30
|
const ShippoListCustomsDeclarations_CustomsDeclarationSchema = z.object({
|
|
31
31
|
test: z.boolean().describe("Boolean indicating if this is a test mode customs declaration").nullable().optional(),
|
|
32
32
|
items: z.array(z.string()).describe("Object IDs of CustomsItem objects").nullable().optional(),
|
|
@@ -58,7 +58,7 @@ const ShippoListCustomsDeclarations_CustomsDeclarationSchema = z.object({
|
|
|
58
58
|
non_delivery_option: z.string().describe("Action to take if delivery fails (e.g., RETURN, ABANDON)").nullable().optional(),
|
|
59
59
|
contents_explanation: z.string().describe("Explanation of the type of goods of the shipment").nullable().optional(),
|
|
60
60
|
exporter_identification: ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema.nullable().optional()
|
|
61
|
-
}).describe("Customs declaration object returned by the Shippo API.");
|
|
61
|
+
}).passthrough().describe("Customs declaration object returned by the Shippo API.");
|
|
62
62
|
const shippoListCustomsDeclarations = action("SHIPPO_LIST_CUSTOMS_DECLARATIONS", {
|
|
63
63
|
slug: "shippo-list-customs-declarations",
|
|
64
64
|
name: "List Customs Declarations",
|
|
@@ -68,7 +68,7 @@ const shippoListCustomsDeclarations = action("SHIPPO_LIST_CUSTOMS_DECLARATIONS",
|
|
|
68
68
|
next: z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
69
69
|
results: z.array(ShippoListCustomsDeclarations_CustomsDeclarationSchema).describe("Array of customs declaration objects").nullable().optional(),
|
|
70
70
|
previous: z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
71
|
-
}).describe("Response containing paginated list of customs declarations.")
|
|
71
|
+
}).passthrough().describe("Response containing paginated list of customs declarations.")
|
|
72
72
|
});
|
|
73
73
|
//#endregion
|
|
74
74
|
export { shippoListCustomsDeclarations };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customs-declarations.mjs","names":[],"sources":["../../src/actions/list-customs-declarations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCustomsDeclarationsInput = 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 SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing customs declarations with pagination.\");\nconst ShippoListCustomsDeclarations_DutiesPayorAddressSchema = z.object({\n zip: z.string().describe(\"Postal code of the party to be billed for duties\").nullable().optional(),\n name: z.string().describe(\"Name of the party to be billed for duties\").nullable().optional(),\n country: z.string().describe(\"Country ISO code of account number to be billed\").nullable().optional(),\n}).describe(\"Address of the party to be billed for duties.\");\nconst ShippoListCustomsDeclarations_DutiesPayorSchema = z.object({\n type: z.string().describe(\"Party to be billed for duties (SENDER, RECIPIENT, THIRD_PARTY)\").nullable().optional(),\n account: z.string().describe(\"Account number to be billed for duties\").nullable().optional(),\n address: ShippoListCustomsDeclarations_DutiesPayorAddressSchema.nullable().optional(),\n}).describe(\"Specifies who will pay the duties for the shipment.\");\nconst ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema = z.object({\n currency: z.string().describe(\"Currency for the invoiced charges amounts incurred on the end consumer\").nullable().optional(),\n other_fees: z.string().describe(\"Other fees paid by the buyer\").nullable().optional(),\n total_taxes: z.string().describe(\"Total taxes paid by the buyer\").nullable().optional(),\n total_duties: z.string().describe(\"Total duties paid by the buyer\").nullable().optional(),\n total_shipping: z.string().describe(\"Total shipping paid by the buyer\").nullable().optional(),\n}).describe(\"Additional invoiced charges to be shown on the Customs Declaration Commercial Invoice.\");\nconst ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema = z.object({\n tax_id: z.object({}).describe(\"Tax identification details\").nullable().optional(),\n eori_number: z.string().describe(\"Economic Operators' Registration and Identification (EORI) number\").nullable().optional(),\n}).describe(\"Additional exporter identification that may be required to ship in certain countries.\");\nconst ShippoListCustomsDeclarations_CustomsDeclarationSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Object IDs of CustomsItem objects\").nullable().optional(),\n notes: z.string().describe(\"Additional notes to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN reference of the shipment\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information (EEL or PFC code)\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference of the shipment\").nullable().optional(),\n license: z.string().describe(\"License reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA)\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata, up to 100 characters\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number)\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n duties_payor: ShippoListCustomsDeclarations_DutiesPayorSchema.nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the object\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (e.g., VALID, INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n invoiced_charges: ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema.nullable().optional(),\n is_vat_collected: z.boolean().describe(\"Indicates whether the shipment's destination VAT has been collected\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.boolean().describe(\"Indicates if a commercial invoice is included\").nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN, ABANDON)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods of the shipment\").nullable().optional(),\n exporter_identification: ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema.nullable().optional(),\n}).describe(\"Customs declaration object returned by the Shippo API.\");\nexport const ShippoListCustomsDeclarationsOutput = 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(ShippoListCustomsDeclarations_CustomsDeclarationSchema).describe(\"Array of customs declaration objects\").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 customs declarations.\");\n\nexport const shippoListCustomsDeclarations = action(\"SHIPPO_LIST_CUSTOMS_DECLARATIONS\", {\n slug: \"shippo-list-customs-declarations\",\n name: \"List Customs Declarations\",\n description: \"Tool to list all customs declarations in the Shippo account with pagination support. Use when you need to retrieve customs declarations for international shipments.\",\n input: ShippoListCustomsDeclarationsInput,\n output: ShippoListCustomsDeclarationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,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,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,yDAAyD,EAAE,OAAO;CACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAAS,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,6DAA6D,EAAE,OAAO;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S,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-customs-declarations.mjs","names":[],"sources":["../../src/actions/list-customs-declarations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCustomsDeclarationsInput = 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 SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing customs declarations with pagination.\");\nconst ShippoListCustomsDeclarations_DutiesPayorAddressSchema = z.object({\n zip: z.string().describe(\"Postal code of the party to be billed for duties\").nullable().optional(),\n name: z.string().describe(\"Name of the party to be billed for duties\").nullable().optional(),\n country: z.string().describe(\"Country ISO code of account number to be billed\").nullable().optional(),\n}).passthrough().describe(\"Address of the party to be billed for duties.\");\nconst ShippoListCustomsDeclarations_DutiesPayorSchema = z.object({\n type: z.string().describe(\"Party to be billed for duties (SENDER, RECIPIENT, THIRD_PARTY)\").nullable().optional(),\n account: z.string().describe(\"Account number to be billed for duties\").nullable().optional(),\n address: ShippoListCustomsDeclarations_DutiesPayorAddressSchema.nullable().optional(),\n}).passthrough().describe(\"Specifies who will pay the duties for the shipment.\");\nconst ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema = z.object({\n currency: z.string().describe(\"Currency for the invoiced charges amounts incurred on the end consumer\").nullable().optional(),\n other_fees: z.string().describe(\"Other fees paid by the buyer\").nullable().optional(),\n total_taxes: z.string().describe(\"Total taxes paid by the buyer\").nullable().optional(),\n total_duties: z.string().describe(\"Total duties paid by the buyer\").nullable().optional(),\n total_shipping: z.string().describe(\"Total shipping paid by the buyer\").nullable().optional(),\n}).passthrough().describe(\"Additional invoiced charges to be shown on the Customs Declaration Commercial Invoice.\");\nconst ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema = z.object({\n tax_id: z.record(z.string(), z.unknown()).describe(\"Tax identification details\").nullable().optional(),\n eori_number: z.string().describe(\"Economic Operators' Registration and Identification (EORI) number\").nullable().optional(),\n}).passthrough().describe(\"Additional exporter identification that may be required to ship in certain countries.\");\nconst ShippoListCustomsDeclarations_CustomsDeclarationSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Object IDs of CustomsItem objects\").nullable().optional(),\n notes: z.string().describe(\"Additional notes to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN reference of the shipment\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information (EEL or PFC code)\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference of the shipment\").nullable().optional(),\n license: z.string().describe(\"License reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA)\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata, up to 100 characters\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number)\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n duties_payor: ShippoListCustomsDeclarations_DutiesPayorSchema.nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the object\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (e.g., VALID, INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n invoiced_charges: ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema.nullable().optional(),\n is_vat_collected: z.boolean().describe(\"Indicates whether the shipment's destination VAT has been collected\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.boolean().describe(\"Indicates if a commercial invoice is included\").nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN, ABANDON)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods of the shipment\").nullable().optional(),\n exporter_identification: ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema.nullable().optional(),\n}).passthrough().describe(\"Customs declaration object returned by the Shippo API.\");\nexport const ShippoListCustomsDeclarationsOutput = 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(ShippoListCustomsDeclarations_CustomsDeclarationSchema).describe(\"Array of customs declaration 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 customs declarations.\");\n\nexport const shippoListCustomsDeclarations = action(\"SHIPPO_LIST_CUSTOMS_DECLARATIONS\", {\n slug: \"shippo-list-customs-declarations\",\n name: \"List Customs Declarations\",\n description: \"Tool to list all customs declarations in the Shippo account with pagination support. Use when you need to retrieve customs declarations for international shipments.\",\n input: ShippoListCustomsDeclarationsInput,\n output: ShippoListCustomsDeclarationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EA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B,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,yBAAyB,kEAAkE,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAOlF,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -23,12 +23,12 @@ const ShippoListCustomsItems_CustomsItemSchema = zod.z.object({
|
|
|
23
23
|
object_updated: zod.z.string().describe("DateTime of last update").nullable().optional(),
|
|
24
24
|
origin_country: zod.z.string().describe("ISO country code of origin").nullable().optional(),
|
|
25
25
|
value_currency: zod.z.string().describe("ISO 4217 currency code (e.g., 'USD', 'EUR')").nullable().optional()
|
|
26
|
-
}).describe("Individual customs item in the response.");
|
|
26
|
+
}).passthrough().describe("Individual customs item in the response.");
|
|
27
27
|
const ShippoListCustomsItemsOutput = zod.z.object({
|
|
28
28
|
next: zod.z.string().describe("URL for the next page of results").nullable().optional(),
|
|
29
29
|
results: zod.z.array(ShippoListCustomsItems_CustomsItemSchema).describe("List of customs items").nullable().optional(),
|
|
30
30
|
previous: zod.z.string().describe("URL for the previous page of results").nullable().optional()
|
|
31
|
-
});
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const shippoListCustomsItems = require_action.action("SHIPPO_LIST_CUSTOMS_ITEMS", {
|
|
33
33
|
slug: "shippo-list-customs-items",
|
|
34
34
|
name: "List Customs Items",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customs-items.cjs","names":["z","action"],"sources":["../../src/actions/list-customs-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCustomsItemsInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n results: z.number().int().describe(\"The number of results to return per page (max 100)\").optional(),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n});\nconst ShippoListCustomsItems_CustomsItemSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode object\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string (max 100 characters)\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of this item\").nullable().optional(),\n sku_code: z.string().describe(\"SKU code of the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Weight unit (e.g., 'lb', 'kg', 'g', 'oz')\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs item\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export classification number\").nullable().optional(),\n net_weight: z.string().describe(\"Total weight of the item\").nullable().optional(),\n description: z.string().describe(\"Text description of the customs item\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the creator\").nullable().optional(),\n value_amount: z.string().describe(\"Total item value\").nullable().optional(),\n tariff_number: z.string().describe(\"Tariff classification number\").nullable().optional(),\n object_created: z.string().describe(\"DateTime when the object was created\").nullable().optional(),\n object_updated: z.string().describe(\"DateTime of last update\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code of origin\").nullable().optional(),\n value_currency: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR')\").nullable().optional(),\n}).describe(\"Individual customs item in the response.\");\nexport const ShippoListCustomsItemsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n results: z.array(ShippoListCustomsItems_CustomsItemSchema).describe(\"List of customs items\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n});\n\nexport const shippoListCustomsItems = action(\"SHIPPO_LIST_CUSTOMS_ITEMS\", {\n slug: \"shippo-list-customs-items\",\n name: \"List Customs Items\",\n description: \"Tool to list all customs items with pagination support. Use when you need to retrieve customs declarations for international shipments.\",\n input: ShippoListCustomsItemsInput,\n output: ShippoListCustomsItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAClG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE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SAAS;CACnF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"list-customs-items.cjs","names":["z","action"],"sources":["../../src/actions/list-customs-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCustomsItemsInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n results: z.number().int().describe(\"The number of results to return per page (max 100)\").optional(),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n});\nconst ShippoListCustomsItems_CustomsItemSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode object\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string (max 100 characters)\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of this item\").nullable().optional(),\n sku_code: z.string().describe(\"SKU code of the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Weight unit (e.g., 'lb', 'kg', 'g', 'oz')\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs item\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export classification number\").nullable().optional(),\n net_weight: z.string().describe(\"Total weight of the item\").nullable().optional(),\n description: z.string().describe(\"Text description of the customs item\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the creator\").nullable().optional(),\n value_amount: z.string().describe(\"Total item value\").nullable().optional(),\n tariff_number: z.string().describe(\"Tariff classification number\").nullable().optional(),\n object_created: z.string().describe(\"DateTime when the object was created\").nullable().optional(),\n object_updated: z.string().describe(\"DateTime of last update\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code of origin\").nullable().optional(),\n value_currency: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR')\").nullable().optional(),\n}).passthrough().describe(\"Individual customs item in the response.\");\nexport const ShippoListCustomsItemsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n results: z.array(ShippoListCustomsItems_CustomsItemSchema).describe(\"List of customs items\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough();\n\nexport const shippoListCustomsItems = action(\"SHIPPO_LIST_CUSTOMS_ITEMS\", {\n slug: \"shippo-list-customs-items\",\n name: \"List Customs Items\",\n description: \"Tool to list all customs items with pagination support. Use when you need to retrieve customs declarations for international shipments.\",\n input: ShippoListCustomsItemsInput,\n output: ShippoListCustomsItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAClG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WA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AAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,9 +25,9 @@ declare const ShippoListCustomsItemsOutput: z.ZodObject<{
|
|
|
25
25
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
value_currency: 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 shippoListCustomsItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
page?: number | undefined;
|
|
33
33
|
results?: number | undefined;
|
|
@@ -25,9 +25,9 @@ declare const ShippoListCustomsItemsOutput: z.ZodObject<{
|
|
|
25
25
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
value_currency: 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 shippoListCustomsItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
page?: number | undefined;
|
|
33
33
|
results?: number | undefined;
|
|
@@ -23,7 +23,7 @@ const ShippoListCustomsItems_CustomsItemSchema = z.object({
|
|
|
23
23
|
object_updated: z.string().describe("DateTime of last update").nullable().optional(),
|
|
24
24
|
origin_country: z.string().describe("ISO country code of origin").nullable().optional(),
|
|
25
25
|
value_currency: z.string().describe("ISO 4217 currency code (e.g., 'USD', 'EUR')").nullable().optional()
|
|
26
|
-
}).describe("Individual customs item in the response.");
|
|
26
|
+
}).passthrough().describe("Individual customs item in the response.");
|
|
27
27
|
const shippoListCustomsItems = action("SHIPPO_LIST_CUSTOMS_ITEMS", {
|
|
28
28
|
slug: "shippo-list-customs-items",
|
|
29
29
|
name: "List Customs Items",
|
|
@@ -33,7 +33,7 @@ const shippoListCustomsItems = action("SHIPPO_LIST_CUSTOMS_ITEMS", {
|
|
|
33
33
|
next: z.string().describe("URL for the next page of results").nullable().optional(),
|
|
34
34
|
results: z.array(ShippoListCustomsItems_CustomsItemSchema).describe("List of customs items").nullable().optional(),
|
|
35
35
|
previous: z.string().describe("URL for the previous page of results").nullable().optional()
|
|
36
|
-
})
|
|
36
|
+
}).passthrough()
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { shippoListCustomsItems };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customs-items.mjs","names":[],"sources":["../../src/actions/list-customs-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCustomsItemsInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n results: z.number().int().describe(\"The number of results to return per page (max 100)\").optional(),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n});\nconst ShippoListCustomsItems_CustomsItemSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode object\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string (max 100 characters)\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of this item\").nullable().optional(),\n sku_code: z.string().describe(\"SKU code of the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Weight unit (e.g., 'lb', 'kg', 'g', 'oz')\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs item\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export classification number\").nullable().optional(),\n net_weight: z.string().describe(\"Total weight of the item\").nullable().optional(),\n description: z.string().describe(\"Text description of the customs item\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the creator\").nullable().optional(),\n value_amount: z.string().describe(\"Total item value\").nullable().optional(),\n tariff_number: z.string().describe(\"Tariff classification number\").nullable().optional(),\n object_created: z.string().describe(\"DateTime when the object was created\").nullable().optional(),\n object_updated: z.string().describe(\"DateTime of last update\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code of origin\").nullable().optional(),\n value_currency: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR')\").nullable().optional(),\n}).describe(\"Individual customs item in the response.\");\nexport const ShippoListCustomsItemsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n results: z.array(ShippoListCustomsItems_CustomsItemSchema).describe(\"List of customs items\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n});\n\nexport const shippoListCustomsItems = action(\"SHIPPO_LIST_CUSTOMS_ITEMS\", {\n slug: \"shippo-list-customs-items\",\n name: \"List Customs Items\",\n description: \"Tool to list all customs items with pagination support. Use when you need to retrieve customs declarations for international shipments.\",\n input: ShippoListCustomsItemsInput,\n output: ShippoListCustomsItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,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C,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"list-customs-items.mjs","names":[],"sources":["../../src/actions/list-customs-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCustomsItemsInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n results: z.number().int().describe(\"The number of results to return per page (max 100)\").optional(),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n});\nconst ShippoListCustomsItems_CustomsItemSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode object\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string (max 100 characters)\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of this item\").nullable().optional(),\n sku_code: z.string().describe(\"SKU code of the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Weight unit (e.g., 'lb', 'kg', 'g', 'oz')\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs item\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export classification number\").nullable().optional(),\n net_weight: z.string().describe(\"Total weight of the item\").nullable().optional(),\n description: z.string().describe(\"Text description of the customs item\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the creator\").nullable().optional(),\n value_amount: z.string().describe(\"Total item value\").nullable().optional(),\n tariff_number: z.string().describe(\"Tariff classification number\").nullable().optional(),\n object_created: z.string().describe(\"DateTime when the object was created\").nullable().optional(),\n object_updated: z.string().describe(\"DateTime of last update\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code of origin\").nullable().optional(),\n value_currency: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR')\").nullable().optional(),\n}).passthrough().describe(\"Individual customs item in the response.\");\nexport const ShippoListCustomsItemsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n results: z.array(ShippoListCustomsItems_CustomsItemSchema).describe(\"List of customs items\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough();\n\nexport const shippoListCustomsItems = action(\"SHIPPO_LIST_CUSTOMS_ITEMS\", {\n slug: \"shippo-list-customs-items\",\n name: \"List Customs Items\",\n description: \"Tool to list all customs items with pagination support. Use when you need to retrieve customs declarations for international shipments.\",\n input: ShippoListCustomsItemsInput,\n output: ShippoListCustomsItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAClG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAA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OpE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -19,12 +19,12 @@ const ShippoListManifests_ManifestSchema = zod.z.object({
|
|
|
19
19
|
object_created: zod.z.string().describe("Timestamp when the manifest was created in ISO 8601 format.").nullable().optional(),
|
|
20
20
|
object_updated: zod.z.string().describe("Timestamp when the manifest was last updated in ISO 8601 format.").nullable().optional(),
|
|
21
21
|
carrier_account: zod.z.string().describe("Object ID of the carrier account associated with this manifest.").nullable().optional()
|
|
22
|
-
}).describe("Model representing a single manifest.");
|
|
22
|
+
}).passthrough().describe("Model representing a single manifest.");
|
|
23
23
|
const ShippoListManifestsOutput = zod.z.object({
|
|
24
24
|
next: zod.z.string().describe("URL to the next page of results. Null if there are no more pages.").nullable().optional(),
|
|
25
25
|
results: zod.z.array(ShippoListManifests_ManifestSchema).describe("List of manifest objects on the current page."),
|
|
26
26
|
previous: zod.z.string().describe("URL to the previous page of results. Null if this is the first page.").nullable().optional()
|
|
27
|
-
}).describe("Response model containing paginated list of manifests.");
|
|
27
|
+
}).passthrough().describe("Response model containing paginated list of manifests.");
|
|
28
28
|
const shippoListManifests = require_action.action("SHIPPO_LIST_MANIFESTS", {
|
|
29
29
|
slug: "shippo-list-manifests",
|
|
30
30
|
name: "List Manifests",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-manifests.cjs","names":["z","action"],"sources":["../../src/actions/list-manifests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListManifestsInput = 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.\").optional(),\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.\");\nconst ShippoListManifests_ManifestSchema = z.object({\n test: z.boolean().describe(\"Indicates whether this manifest was created in test mode.\").nullable().optional(),\n status: z.string().describe(\"Status of the manifest. Possible values include 'VALID', 'INVALID', 'PROCESSING'.\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information for the manifest.\").nullable().optional(),\n documents: z.array(z.string()).describe(\"List of document URLs 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.\");\nexport const ShippoListManifestsOutput = 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(ShippoListManifests_ManifestSchema).describe(\"List of manifest objects on the current page.\"),\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.\");\n\nexport const shippoListManifests = action(\"SHIPPO_LIST_MANIFESTS\", {\n slug: \"shippo-list-manifests\",\n name: \"List Manifests\",\n description: \"Tool to list all shipping manifests from Shippo. Use when you need to retrieve a paginated list of manifests with optional filtering by page number and results per page.\",\n input: ShippoListManifestsInput,\n output: ShippoListManifestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACpH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"list-manifests.cjs","names":["z","action"],"sources":["../../src/actions/list-manifests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListManifestsInput = 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.\").optional(),\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.\");\nconst ShippoListManifests_ManifestSchema = z.object({\n test: z.boolean().describe(\"Indicates whether this manifest was created in test mode.\").nullable().optional(),\n status: z.string().describe(\"Status of the manifest. Possible values include 'VALID', 'INVALID', 'PROCESSING'.\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information for the manifest.\").nullable().optional(),\n documents: z.array(z.string()).describe(\"List of document URLs 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.\");\nexport const ShippoListManifestsOutput = 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(ShippoListManifests_ManifestSchema).describe(\"List of manifest objects on the current page.\"),\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.\");\n\nexport const shippoListManifests = action(\"SHIPPO_LIST_MANIFESTS\", {\n slug: \"shippo-list-manifests\",\n name: \"List Manifests\",\n description: \"Tool to list all shipping manifests from Shippo. Use when you need to retrieve a paginated list of manifests with optional filtering by page number and results per page.\",\n input: ShippoListManifestsInput,\n output: ShippoListManifestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACpH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAA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AC,SAAS,uCAAuC;AACjE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,9 +21,9 @@ declare const ShippoListManifestsOutput: z.ZodObject<{
|
|
|
21
21
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
carrier_account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
25
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const shippoListManifests: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
page?: number | undefined;
|
|
29
29
|
results?: number | undefined;
|
|
@@ -21,9 +21,9 @@ declare const ShippoListManifestsOutput: z.ZodObject<{
|
|
|
21
21
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
carrier_account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
25
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const shippoListManifests: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
page?: number | undefined;
|
|
29
29
|
results?: number | undefined;
|
|
@@ -19,7 +19,7 @@ const ShippoListManifests_ManifestSchema = z.object({
|
|
|
19
19
|
object_created: z.string().describe("Timestamp when the manifest was created in ISO 8601 format.").nullable().optional(),
|
|
20
20
|
object_updated: z.string().describe("Timestamp when the manifest was last updated in ISO 8601 format.").nullable().optional(),
|
|
21
21
|
carrier_account: z.string().describe("Object ID of the carrier account associated with this manifest.").nullable().optional()
|
|
22
|
-
}).describe("Model representing a single manifest.");
|
|
22
|
+
}).passthrough().describe("Model representing a single manifest.");
|
|
23
23
|
const shippoListManifests = action("SHIPPO_LIST_MANIFESTS", {
|
|
24
24
|
slug: "shippo-list-manifests",
|
|
25
25
|
name: "List Manifests",
|
|
@@ -29,7 +29,7 @@ const shippoListManifests = action("SHIPPO_LIST_MANIFESTS", {
|
|
|
29
29
|
next: z.string().describe("URL to the next page of results. Null if there are no more pages.").nullable().optional(),
|
|
30
30
|
results: z.array(ShippoListManifests_ManifestSchema).describe("List of manifest objects on the current page."),
|
|
31
31
|
previous: z.string().describe("URL to the previous page of results. Null if this is the first page.").nullable().optional()
|
|
32
|
-
}).describe("Response model containing paginated list of manifests.")
|
|
32
|
+
}).passthrough().describe("Response model containing paginated list of manifests.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { shippoListManifests };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-manifests.mjs","names":[],"sources":["../../src/actions/list-manifests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListManifestsInput = 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.\").optional(),\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.\");\nconst ShippoListManifests_ManifestSchema = z.object({\n test: z.boolean().describe(\"Indicates whether this manifest was created in test mode.\").nullable().optional(),\n status: z.string().describe(\"Status of the manifest. Possible values include 'VALID', 'INVALID', 'PROCESSING'.\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information for the manifest.\").nullable().optional(),\n documents: z.array(z.string()).describe(\"List of document URLs 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.\");\nexport const ShippoListManifestsOutput = 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(ShippoListManifests_ManifestSchema).describe(\"List of manifest objects on the current page.\"),\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.\");\n\nexport const shippoListManifests = action(\"SHIPPO_LIST_MANIFESTS\", {\n slug: \"shippo-list-manifests\",\n name: \"List Manifests\",\n description: \"Tool to list all shipping manifests from Shippo. Use when you need to retrieve a paginated list of manifests with optional filtering by page number and results per page.\",\n input: ShippoListManifestsInput,\n output: ShippoListManifestsOutput,\n});\n"],"mappings":";;;AAI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AC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"list-manifests.mjs","names":[],"sources":["../../src/actions/list-manifests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListManifestsInput = 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.\").optional(),\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.\");\nconst ShippoListManifests_ManifestSchema = z.object({\n test: z.boolean().describe(\"Indicates whether this manifest was created in test mode.\").nullable().optional(),\n status: z.string().describe(\"Status of the manifest. Possible values include 'VALID', 'INVALID', 'PROCESSING'.\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information for the manifest.\").nullable().optional(),\n documents: z.array(z.string()).describe(\"List of document URLs 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.\");\nexport const ShippoListManifestsOutput = 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(ShippoListManifests_ManifestSchema).describe(\"List of manifest objects on the current page.\"),\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.\");\n\nexport const shippoListManifests = action(\"SHIPPO_LIST_MANIFESTS\", {\n slug: \"shippo-list-manifests\",\n name: \"List Manifests\",\n description: \"Tool to list all shipping manifests from Shippo. Use when you need to retrieve a paginated list of manifests with optional filtering by page number and results per page.\",\n input: ShippoListManifestsInput,\n output: ShippoListManifestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACpH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,C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
12
|
text: zod.z.string().describe("Validation message text").nullable().optional(),
|
|
13
13
|
type: zod.z.string().describe("Type of validation message").nullable().optional(),
|
|
14
14
|
source: zod.z.string().describe("Source of the validation message").nullable().optional()
|
|
15
|
-
}).describe("Validation message object.");
|
|
15
|
+
}).passthrough().describe("Validation message object.");
|
|
16
16
|
const ShippoListMerchantAddresses_ValidationResultsSchema = zod.z.object({
|
|
17
17
|
is_valid: zod.z.boolean().describe("Boolean indicating if the address is valid").nullable().optional(),
|
|
18
18
|
messages: zod.z.array(ShippoListMerchantAddresses_ValidationMessageSchema).describe("List of validation messages").nullable().optional()
|
|
19
|
-
}).describe("Validation results for an address.");
|
|
19
|
+
}).passthrough().describe("Validation results for an address.");
|
|
20
20
|
const ShippoListMerchantAddresses_MerchantAddressSchema = zod.z.object({
|
|
21
21
|
zip: zod.z.string().describe("Postal code").nullable().optional(),
|
|
22
22
|
city: zod.z.string().describe("City name").nullable().optional(),
|
|
@@ -36,12 +36,12 @@ const ShippoListMerchantAddresses_MerchantAddressSchema = zod.z.object({
|
|
|
36
36
|
object_created: zod.z.string().describe("ISO 8601 timestamp when the address was created").nullable().optional(),
|
|
37
37
|
object_updated: zod.z.string().describe("ISO 8601 timestamp of last update").nullable().optional(),
|
|
38
38
|
validation_results: ShippoListMerchantAddresses_ValidationResultsSchema.nullable().optional()
|
|
39
|
-
}).describe("Address object returned by the Shippo Platform API.");
|
|
39
|
+
}).passthrough().describe("Address object returned by the Shippo Platform API.");
|
|
40
40
|
const ShippoListMerchantAddressesOutput = zod.z.object({
|
|
41
41
|
next: zod.z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
42
42
|
results: zod.z.array(ShippoListMerchantAddresses_MerchantAddressSchema).describe("Array of address objects").nullable().optional(),
|
|
43
43
|
previous: zod.z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
44
|
-
}).describe("Response containing paginated list of merchant addresses.");
|
|
44
|
+
}).passthrough().describe("Response containing paginated list of merchant addresses.");
|
|
45
45
|
const shippoListMerchantAddresses = require_action.action("SHIPPO_LIST_MERCHANT_ADDRESSES", {
|
|
46
46
|
slug: "shippo-list-merchant-addresses",
|
|
47
47
|
name: "List Merchant Addresses",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-addresses.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-addresses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantAddressesInput = 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 addresses 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 addresses for a merchant.\");\nconst ShippoListMerchantAddresses_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Validation message code\").nullable().optional(),\n text: z.string().describe(\"Validation message text\").nullable().optional(),\n type: z.string().describe(\"Type of validation message\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message\").nullable().optional(),\n}).describe(\"Validation message object.\");\nconst ShippoListMerchantAddresses_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Boolean indicating if the address is valid\").nullable().optional(),\n messages: z.array(ShippoListMerchantAddresses_ValidationMessageSchema).describe(\"List of validation messages\").nullable().optional(),\n}).describe(\"Validation results for an address.\");\nconst ShippoListMerchantAddresses_MerchantAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"First and last name\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO country code\").nullable().optional(),\n street1: z.string().describe(\"First street line\").nullable().optional(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address\").nullable().optional(),\n is_complete: z.boolean().describe(\"Boolean indicating if all required values are present\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the creator\").nullable().optional(),\n is_residential: z.boolean().describe(\"Boolean indicating residential status\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the address was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n validation_results: ShippoListMerchantAddresses_ValidationResultsSchema.nullable().optional(),\n}).describe(\"Address object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantAddressesOutput = 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(ShippoListMerchantAddresses_MerchantAddressSchema).describe(\"Array of address objects\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).describe(\"Response containing paginated list of merchant addresses.\");\n\nexport const shippoListMerchantAddresses = action(\"SHIPPO_LIST_MERCHANT_ADDRESSES\", {\n slug: \"shippo-list-merchant-addresses\",\n name: \"List Merchant Addresses\",\n description: \"Tool to list all addresses for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant addresses with pagination support.\",\n input: ShippoListMerchantAddressesInput,\n output: ShippoListMerchantAddressesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,4DAA4D;CAC7F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,4BAA4B;
|
|
1
|
+
{"version":3,"file":"list-merchant-addresses.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-addresses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantAddressesInput = 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 addresses 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 addresses for a merchant.\");\nconst ShippoListMerchantAddresses_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Validation message code\").nullable().optional(),\n text: z.string().describe(\"Validation message text\").nullable().optional(),\n type: z.string().describe(\"Type of validation message\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message\").nullable().optional(),\n}).passthrough().describe(\"Validation message object.\");\nconst ShippoListMerchantAddresses_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Boolean indicating if the address is valid\").nullable().optional(),\n messages: z.array(ShippoListMerchantAddresses_ValidationMessageSchema).describe(\"List of validation messages\").nullable().optional(),\n}).passthrough().describe(\"Validation results for an address.\");\nconst ShippoListMerchantAddresses_MerchantAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"First and last name\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO country code\").nullable().optional(),\n street1: z.string().describe(\"First street line\").nullable().optional(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address\").nullable().optional(),\n is_complete: z.boolean().describe(\"Boolean indicating if all required values are present\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the creator\").nullable().optional(),\n is_residential: z.boolean().describe(\"Boolean indicating residential status\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the address was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n validation_results: ShippoListMerchantAddresses_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Address object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantAddressesOutput = 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(ShippoListMerchantAddresses_MerchantAddressSchema).describe(\"Array of address 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 addresses.\");\n\nexport const shippoListMerchantAddresses = action(\"SHIPPO_LIST_MERCHANT_ADDRESSES\", {\n slug: \"shippo-list-merchant-addresses\",\n name: \"List Merchant Addresses\",\n description: \"Tool to list all addresses for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant addresses with pagination support.\",\n input: ShippoListMerchantAddressesInput,\n output: ShippoListMerchantAddressesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,4DAA4D;CAC7F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC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