@keystrokehq/shippo 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-address.cjs +3 -3
- package/dist/actions/create-address.cjs.map +1 -1
- package/dist/actions/create-address.d.cts +16 -4
- package/dist/actions/create-address.d.mts +16 -4
- package/dist/actions/create-address.mjs +3 -3
- package/dist/actions/create-address.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +4 -4
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +19 -5
- package/dist/actions/create-batch.d.mts +19 -5
- package/dist/actions/create-batch.mjs +4 -4
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-carrier-account.cjs +2 -2
- package/dist/actions/create-carrier-account.cjs.map +1 -1
- package/dist/actions/create-carrier-account.d.cts +15 -3
- package/dist/actions/create-carrier-account.d.mts +15 -3
- package/dist/actions/create-carrier-account.mjs +2 -2
- package/dist/actions/create-carrier-account.mjs.map +1 -1
- package/dist/actions/create-customs-item.cjs +1 -1
- package/dist/actions/create-customs-item.cjs.map +1 -1
- package/dist/actions/create-customs-item.d.cts +14 -2
- package/dist/actions/create-customs-item.d.mts +14 -2
- package/dist/actions/create-customs-item.mjs +1 -1
- package/dist/actions/create-customs-item.mjs.map +1 -1
- package/dist/actions/create-live-rate.cjs +6 -6
- package/dist/actions/create-live-rate.cjs.map +1 -1
- package/dist/actions/create-live-rate.d.cts +23 -7
- package/dist/actions/create-live-rate.d.mts +23 -7
- package/dist/actions/create-live-rate.mjs +6 -6
- package/dist/actions/create-live-rate.mjs.map +1 -1
- package/dist/actions/create-manifest.cjs +2 -2
- package/dist/actions/create-manifest.cjs.map +1 -1
- package/dist/actions/create-manifest.d.cts +15 -3
- package/dist/actions/create-manifest.d.mts +15 -3
- package/dist/actions/create-manifest.mjs +2 -2
- package/dist/actions/create-manifest.mjs.map +1 -1
- package/dist/actions/create-merchant-address.cjs +3 -3
- package/dist/actions/create-merchant-address.cjs.map +1 -1
- package/dist/actions/create-merchant-address.d.cts +16 -4
- package/dist/actions/create-merchant-address.d.mts +16 -4
- package/dist/actions/create-merchant-address.mjs +3 -3
- package/dist/actions/create-merchant-address.mjs.map +1 -1
- package/dist/actions/create-merchant-batch.cjs +6 -6
- package/dist/actions/create-merchant-batch.cjs.map +1 -1
- package/dist/actions/create-merchant-batch.d.cts +22 -9
- package/dist/actions/create-merchant-batch.d.mts +22 -9
- package/dist/actions/create-merchant-batch.mjs +6 -6
- package/dist/actions/create-merchant-batch.mjs.map +1 -1
- package/dist/actions/create-merchant-carrier-account.cjs +2 -2
- package/dist/actions/create-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/create-merchant-carrier-account.d.cts +15 -3
- package/dist/actions/create-merchant-carrier-account.d.mts +15 -3
- package/dist/actions/create-merchant-carrier-account.mjs +2 -2
- package/dist/actions/create-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.cjs +2 -2
- package/dist/actions/create-merchant-customs-declaration.cjs.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.d.cts +17 -4
- package/dist/actions/create-merchant-customs-declaration.d.mts +17 -4
- package/dist/actions/create-merchant-customs-declaration.mjs +2 -2
- package/dist/actions/create-merchant-customs-declaration.mjs.map +1 -1
- package/dist/actions/create-merchant-customs-item.cjs +1 -1
- package/dist/actions/create-merchant-customs-item.cjs.map +1 -1
- package/dist/actions/create-merchant-customs-item.d.cts +15 -3
- package/dist/actions/create-merchant-customs-item.d.mts +15 -3
- package/dist/actions/create-merchant-customs-item.mjs +1 -1
- package/dist/actions/create-merchant-customs-item.mjs.map +1 -1
- package/dist/actions/create-merchant-order.cjs +4 -4
- package/dist/actions/create-merchant-order.cjs.map +1 -1
- package/dist/actions/create-merchant-order.d.cts +19 -6
- package/dist/actions/create-merchant-order.d.mts +19 -6
- package/dist/actions/create-merchant-order.mjs +4 -4
- package/dist/actions/create-merchant-order.mjs.map +1 -1
- package/dist/actions/create-merchant-parcel.cjs +4 -4
- package/dist/actions/create-merchant-parcel.cjs.map +1 -1
- package/dist/actions/create-merchant-parcel.d.cts +19 -7
- package/dist/actions/create-merchant-parcel.d.mts +19 -7
- package/dist/actions/create-merchant-parcel.mjs +4 -4
- package/dist/actions/create-merchant-parcel.mjs.map +1 -1
- package/dist/actions/create-merchant-refund.cjs +1 -1
- package/dist/actions/create-merchant-refund.cjs.map +1 -1
- package/dist/actions/create-merchant-refund.d.cts +14 -2
- package/dist/actions/create-merchant-refund.d.mts +14 -2
- package/dist/actions/create-merchant-refund.mjs +1 -1
- package/dist/actions/create-merchant-refund.mjs.map +1 -1
- package/dist/actions/create-merchant-shipment.cjs +14 -14
- package/dist/actions/create-merchant-shipment.cjs.map +1 -1
- package/dist/actions/create-merchant-shipment.d.cts +34 -21
- package/dist/actions/create-merchant-shipment.d.mts +34 -21
- package/dist/actions/create-merchant-shipment.mjs +14 -14
- package/dist/actions/create-merchant-shipment.mjs.map +1 -1
- package/dist/actions/create-merchant-transaction.cjs +2 -2
- package/dist/actions/create-merchant-transaction.cjs.map +1 -1
- package/dist/actions/create-merchant-transaction.d.cts +17 -5
- package/dist/actions/create-merchant-transaction.d.mts +17 -5
- package/dist/actions/create-merchant-transaction.mjs +2 -2
- package/dist/actions/create-merchant-transaction.mjs.map +1 -1
- package/dist/actions/create-order.cjs +4 -4
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +19 -6
- package/dist/actions/create-order.d.mts +19 -6
- package/dist/actions/create-order.mjs +4 -4
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/create-parcel.cjs +4 -4
- package/dist/actions/create-parcel.cjs.map +1 -1
- package/dist/actions/create-parcel.d.cts +19 -7
- package/dist/actions/create-parcel.d.mts +19 -7
- package/dist/actions/create-parcel.mjs +4 -4
- package/dist/actions/create-parcel.mjs.map +1 -1
- package/dist/actions/create-refund.cjs +1 -1
- package/dist/actions/create-refund.cjs.map +1 -1
- package/dist/actions/create-refund.d.cts +14 -2
- package/dist/actions/create-refund.d.mts +14 -2
- package/dist/actions/create-refund.mjs +1 -1
- package/dist/actions/create-refund.mjs.map +1 -1
- package/dist/actions/create-service-group.cjs +3 -3
- package/dist/actions/create-service-group.cjs.map +1 -1
- package/dist/actions/create-service-group.d.cts +17 -4
- package/dist/actions/create-service-group.d.mts +17 -4
- package/dist/actions/create-service-group.mjs +3 -3
- package/dist/actions/create-service-group.mjs.map +1 -1
- package/dist/actions/create-shipment.cjs +10 -10
- package/dist/actions/create-shipment.cjs.map +1 -1
- package/dist/actions/create-shipment.d.cts +31 -18
- package/dist/actions/create-shipment.d.cts.map +1 -1
- package/dist/actions/create-shipment.d.mts +31 -18
- package/dist/actions/create-shipment.d.mts.map +1 -1
- package/dist/actions/create-shipment.mjs +10 -10
- package/dist/actions/create-shipment.mjs.map +1 -1
- package/dist/actions/create-track.cjs +5 -5
- package/dist/actions/create-track.cjs.map +1 -1
- package/dist/actions/create-track.d.cts +21 -9
- package/dist/actions/create-track.d.mts +21 -9
- package/dist/actions/create-track.mjs +5 -5
- package/dist/actions/create-track.mjs.map +1 -1
- package/dist/actions/create-transaction.cjs +3 -3
- package/dist/actions/create-transaction.cjs.map +1 -1
- package/dist/actions/create-transaction.d.cts +19 -7
- package/dist/actions/create-transaction.d.cts.map +1 -1
- package/dist/actions/create-transaction.d.mts +19 -7
- package/dist/actions/create-transaction.d.mts.map +1 -1
- package/dist/actions/create-transaction.mjs +3 -3
- package/dist/actions/create-transaction.mjs.map +1 -1
- package/dist/actions/create-user-parcel-template.cjs +2 -2
- package/dist/actions/create-user-parcel-template.cjs.map +1 -1
- package/dist/actions/create-user-parcel-template.d.cts +15 -3
- package/dist/actions/create-user-parcel-template.d.mts +15 -3
- package/dist/actions/create-user-parcel-template.mjs +2 -2
- package/dist/actions/create-user-parcel-template.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -1
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +18 -6
- package/dist/actions/create-webhook.d.mts +18 -6
- package/dist/actions/create-webhook.mjs +1 -1
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-default-parcel-template.cjs +1 -1
- package/dist/actions/delete-default-parcel-template.cjs.map +1 -1
- package/dist/actions/delete-default-parcel-template.d.cts +14 -2
- package/dist/actions/delete-default-parcel-template.d.mts +14 -2
- package/dist/actions/delete-default-parcel-template.mjs +1 -1
- package/dist/actions/delete-default-parcel-template.mjs.map +1 -1
- package/dist/actions/delete-user-parcel-template.cjs +1 -1
- package/dist/actions/delete-user-parcel-template.cjs.map +1 -1
- package/dist/actions/delete-user-parcel-template.d.cts +14 -2
- package/dist/actions/delete-user-parcel-template.d.mts +14 -2
- package/dist/actions/delete-user-parcel-template.mjs +1 -1
- package/dist/actions/delete-user-parcel-template.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +14 -2
- package/dist/actions/delete-webhook.d.mts +14 -2
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-address.cjs +3 -3
- package/dist/actions/get-address.cjs.map +1 -1
- package/dist/actions/get-address.d.cts +16 -4
- package/dist/actions/get-address.d.mts +16 -4
- package/dist/actions/get-address.mjs +3 -3
- package/dist/actions/get-address.mjs.map +1 -1
- package/dist/actions/get-carrier-account.cjs +2 -2
- package/dist/actions/get-carrier-account.cjs.map +1 -1
- package/dist/actions/get-carrier-account.d.cts +15 -3
- package/dist/actions/get-carrier-account.d.mts +15 -3
- package/dist/actions/get-carrier-account.mjs +2 -2
- package/dist/actions/get-carrier-account.mjs.map +1 -1
- package/dist/actions/get-carrier-parcel-template.cjs +1 -1
- package/dist/actions/get-carrier-parcel-template.cjs.map +1 -1
- package/dist/actions/get-carrier-parcel-template.d.cts +15 -3
- package/dist/actions/get-carrier-parcel-template.d.mts +15 -3
- package/dist/actions/get-carrier-parcel-template.mjs +1 -1
- package/dist/actions/get-carrier-parcel-template.mjs.map +1 -1
- package/dist/actions/get-carrier-registration-status.cjs +1 -1
- package/dist/actions/get-carrier-registration-status.cjs.map +1 -1
- package/dist/actions/get-carrier-registration-status.d.cts +14 -2
- package/dist/actions/get-carrier-registration-status.d.mts +14 -2
- package/dist/actions/get-carrier-registration-status.mjs +1 -1
- package/dist/actions/get-carrier-registration-status.mjs.map +1 -1
- package/dist/actions/get-customs-declaration.cjs +4 -4
- package/dist/actions/get-customs-declaration.cjs.map +1 -1
- package/dist/actions/get-customs-declaration.d.cts +17 -5
- package/dist/actions/get-customs-declaration.d.mts +17 -5
- package/dist/actions/get-customs-declaration.mjs +4 -4
- package/dist/actions/get-customs-declaration.mjs.map +1 -1
- package/dist/actions/get-customs-item.cjs +1 -1
- package/dist/actions/get-customs-item.cjs.map +1 -1
- package/dist/actions/get-customs-item.d.cts +14 -2
- package/dist/actions/get-customs-item.d.mts +14 -2
- package/dist/actions/get-customs-item.mjs +1 -1
- package/dist/actions/get-customs-item.mjs.map +1 -1
- package/dist/actions/get-default-parcel-template.cjs +2 -2
- package/dist/actions/get-default-parcel-template.cjs.map +1 -1
- package/dist/actions/get-default-parcel-template.d.cts +15 -3
- package/dist/actions/get-default-parcel-template.d.mts +15 -3
- package/dist/actions/get-default-parcel-template.mjs +2 -2
- package/dist/actions/get-default-parcel-template.mjs.map +1 -1
- package/dist/actions/get-merchant-address.cjs +3 -3
- package/dist/actions/get-merchant-address.cjs.map +1 -1
- package/dist/actions/get-merchant-address.d.cts +16 -4
- package/dist/actions/get-merchant-address.d.mts +16 -4
- package/dist/actions/get-merchant-address.mjs +3 -3
- package/dist/actions/get-merchant-address.mjs.map +1 -1
- package/dist/actions/get-merchant-batch.cjs +3 -3
- package/dist/actions/get-merchant-batch.cjs.map +1 -1
- package/dist/actions/get-merchant-batch.d.cts +18 -6
- package/dist/actions/get-merchant-batch.d.mts +18 -6
- package/dist/actions/get-merchant-batch.mjs +3 -3
- package/dist/actions/get-merchant-batch.mjs.map +1 -1
- package/dist/actions/get-merchant-carrier-account.cjs +2 -2
- package/dist/actions/get-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/get-merchant-carrier-account.d.cts +15 -3
- package/dist/actions/get-merchant-carrier-account.d.mts +15 -3
- package/dist/actions/get-merchant-carrier-account.mjs +2 -2
- package/dist/actions/get-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.cjs +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.cjs.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.d.cts +14 -2
- package/dist/actions/get-merchant-carrier-registration-status.d.mts +14 -2
- package/dist/actions/get-merchant-carrier-registration-status.mjs +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.mjs.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.cjs +1 -1
- package/dist/actions/get-merchant-customs-declaration.cjs.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.d.cts +14 -2
- package/dist/actions/get-merchant-customs-declaration.d.mts +14 -2
- package/dist/actions/get-merchant-customs-declaration.mjs +1 -1
- package/dist/actions/get-merchant-customs-declaration.mjs.map +1 -1
- package/dist/actions/get-merchant-customs-item.cjs +1 -1
- package/dist/actions/get-merchant-customs-item.cjs.map +1 -1
- package/dist/actions/get-merchant-customs-item.d.cts +14 -2
- package/dist/actions/get-merchant-customs-item.d.mts +14 -2
- package/dist/actions/get-merchant-customs-item.mjs +1 -1
- package/dist/actions/get-merchant-customs-item.mjs.map +1 -1
- package/dist/actions/get-merchant-manifest.cjs +1 -1
- package/dist/actions/get-merchant-manifest.cjs.map +1 -1
- package/dist/actions/get-merchant-manifest.d.cts +14 -2
- package/dist/actions/get-merchant-manifest.d.mts +14 -2
- package/dist/actions/get-merchant-manifest.mjs +1 -1
- package/dist/actions/get-merchant-manifest.mjs.map +1 -1
- package/dist/actions/get-merchant-order.cjs +3 -3
- package/dist/actions/get-merchant-order.cjs.map +1 -1
- package/dist/actions/get-merchant-order.d.cts +17 -5
- package/dist/actions/get-merchant-order.d.mts +17 -5
- package/dist/actions/get-merchant-order.mjs +3 -3
- package/dist/actions/get-merchant-order.mjs.map +1 -1
- package/dist/actions/get-merchant-parcel.cjs +4 -4
- package/dist/actions/get-merchant-parcel.cjs.map +1 -1
- package/dist/actions/get-merchant-parcel.d.cts +17 -5
- package/dist/actions/get-merchant-parcel.d.mts +17 -5
- package/dist/actions/get-merchant-parcel.mjs +4 -4
- package/dist/actions/get-merchant-parcel.mjs.map +1 -1
- package/dist/actions/get-merchant-rate.cjs +3 -3
- package/dist/actions/get-merchant-rate.cjs.map +1 -1
- package/dist/actions/get-merchant-rate.d.cts +16 -4
- package/dist/actions/get-merchant-rate.d.mts +16 -4
- package/dist/actions/get-merchant-rate.mjs +3 -3
- package/dist/actions/get-merchant-rate.mjs.map +1 -1
- package/dist/actions/get-merchant-refund.cjs +1 -1
- package/dist/actions/get-merchant-refund.cjs.map +1 -1
- package/dist/actions/get-merchant-refund.d.cts +14 -2
- package/dist/actions/get-merchant-refund.d.mts +14 -2
- package/dist/actions/get-merchant-refund.mjs +1 -1
- package/dist/actions/get-merchant-refund.mjs.map +1 -1
- package/dist/actions/get-merchant-shipment.cjs +14 -14
- package/dist/actions/get-merchant-shipment.cjs.map +1 -1
- package/dist/actions/get-merchant-shipment.d.cts +32 -20
- package/dist/actions/get-merchant-shipment.d.mts +32 -20
- package/dist/actions/get-merchant-shipment.mjs +14 -14
- package/dist/actions/get-merchant-shipment.mjs.map +1 -1
- package/dist/actions/get-merchant-track.cjs +6 -6
- package/dist/actions/get-merchant-track.cjs.map +1 -1
- package/dist/actions/get-merchant-track.d.cts +21 -9
- package/dist/actions/get-merchant-track.d.mts +21 -9
- package/dist/actions/get-merchant-track.mjs +6 -6
- package/dist/actions/get-merchant-track.mjs.map +1 -1
- package/dist/actions/get-merchant-transaction.cjs +2 -2
- package/dist/actions/get-merchant-transaction.cjs.map +1 -1
- package/dist/actions/get-merchant-transaction.d.cts +17 -5
- package/dist/actions/get-merchant-transaction.d.mts +17 -5
- package/dist/actions/get-merchant-transaction.mjs +2 -2
- package/dist/actions/get-merchant-transaction.mjs.map +1 -1
- package/dist/actions/get-merchant.cjs +1 -1
- package/dist/actions/get-merchant.cjs.map +1 -1
- package/dist/actions/get-merchant.d.cts +14 -2
- package/dist/actions/get-merchant.d.mts +14 -2
- package/dist/actions/get-merchant.mjs +1 -1
- package/dist/actions/get-merchant.mjs.map +1 -1
- package/dist/actions/get-order.cjs +5 -5
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +19 -7
- package/dist/actions/get-order.d.mts +19 -7
- package/dist/actions/get-order.mjs +5 -5
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-parcel.cjs +4 -4
- package/dist/actions/get-parcel.cjs.map +1 -1
- package/dist/actions/get-parcel.d.cts +17 -5
- package/dist/actions/get-parcel.d.mts +17 -5
- package/dist/actions/get-parcel.mjs +4 -4
- package/dist/actions/get-parcel.mjs.map +1 -1
- package/dist/actions/get-rate.cjs +3 -3
- package/dist/actions/get-rate.cjs.map +1 -1
- package/dist/actions/get-rate.d.cts +16 -4
- package/dist/actions/get-rate.d.mts +16 -4
- package/dist/actions/get-rate.mjs +3 -3
- package/dist/actions/get-rate.mjs.map +1 -1
- package/dist/actions/get-refund.cjs +1 -1
- package/dist/actions/get-refund.cjs.map +1 -1
- package/dist/actions/get-refund.d.cts +14 -2
- package/dist/actions/get-refund.d.mts +14 -2
- package/dist/actions/get-refund.mjs +1 -1
- package/dist/actions/get-refund.mjs.map +1 -1
- package/dist/actions/get-shipment.cjs +9 -9
- package/dist/actions/get-shipment.cjs.map +1 -1
- package/dist/actions/get-shipment.d.cts +26 -14
- package/dist/actions/get-shipment.d.mts +26 -14
- package/dist/actions/get-shipment.mjs +9 -9
- package/dist/actions/get-shipment.mjs.map +1 -1
- package/dist/actions/get-shippo-account.cjs +1 -1
- package/dist/actions/get-shippo-account.cjs.map +1 -1
- package/dist/actions/get-shippo-account.d.cts +14 -2
- package/dist/actions/get-shippo-account.d.mts +14 -2
- package/dist/actions/get-shippo-account.mjs +1 -1
- package/dist/actions/get-shippo-account.mjs.map +1 -1
- package/dist/actions/get-track.cjs +6 -6
- package/dist/actions/get-track.cjs.map +1 -1
- package/dist/actions/get-track.d.cts +21 -9
- package/dist/actions/get-track.d.mts +21 -9
- package/dist/actions/get-track.mjs +6 -6
- package/dist/actions/get-track.mjs.map +1 -1
- package/dist/actions/get-transaction.cjs +2 -2
- package/dist/actions/get-transaction.cjs.map +1 -1
- package/dist/actions/get-transaction.d.cts +15 -3
- package/dist/actions/get-transaction.d.mts +15 -3
- package/dist/actions/get-transaction.mjs +2 -2
- package/dist/actions/get-transaction.mjs.map +1 -1
- package/dist/actions/get-user-parcel-template.cjs +2 -2
- package/dist/actions/get-user-parcel-template.cjs.map +1 -1
- package/dist/actions/get-user-parcel-template.d.cts +15 -3
- package/dist/actions/get-user-parcel-template.d.mts +15 -3
- package/dist/actions/get-user-parcel-template.mjs +2 -2
- package/dist/actions/get-user-parcel-template.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -1
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +14 -2
- package/dist/actions/get-webhook.d.mts +14 -2
- package/dist/actions/get-webhook.mjs +1 -1
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-addresses.cjs +4 -4
- package/dist/actions/list-addresses.cjs.map +1 -1
- package/dist/actions/list-addresses.d.cts +17 -5
- package/dist/actions/list-addresses.d.mts +17 -5
- package/dist/actions/list-addresses.mjs +4 -4
- package/dist/actions/list-addresses.mjs.map +1 -1
- package/dist/actions/list-carrier-accounts.cjs +4 -4
- package/dist/actions/list-carrier-accounts.cjs.map +1 -1
- package/dist/actions/list-carrier-accounts.d.cts +17 -5
- package/dist/actions/list-carrier-accounts.d.mts +17 -5
- package/dist/actions/list-carrier-accounts.mjs +4 -4
- package/dist/actions/list-carrier-accounts.mjs.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.cjs +2 -2
- package/dist/actions/list-carrier-parcel-templates.cjs.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.d.cts +16 -4
- package/dist/actions/list-carrier-parcel-templates.d.mts +16 -4
- package/dist/actions/list-carrier-parcel-templates.mjs +2 -2
- package/dist/actions/list-carrier-parcel-templates.mjs.map +1 -1
- package/dist/actions/list-customs-declarations.cjs +7 -7
- package/dist/actions/list-customs-declarations.cjs.map +1 -1
- package/dist/actions/list-customs-declarations.d.cts +20 -8
- package/dist/actions/list-customs-declarations.d.mts +20 -8
- package/dist/actions/list-customs-declarations.mjs +7 -7
- package/dist/actions/list-customs-declarations.mjs.map +1 -1
- package/dist/actions/list-customs-items.cjs +2 -2
- package/dist/actions/list-customs-items.cjs.map +1 -1
- package/dist/actions/list-customs-items.d.cts +15 -3
- package/dist/actions/list-customs-items.d.mts +15 -3
- package/dist/actions/list-customs-items.mjs +2 -2
- package/dist/actions/list-customs-items.mjs.map +1 -1
- package/dist/actions/list-manifests.cjs +2 -2
- package/dist/actions/list-manifests.cjs.map +1 -1
- package/dist/actions/list-manifests.d.cts +15 -3
- package/dist/actions/list-manifests.d.mts +15 -3
- package/dist/actions/list-manifests.mjs +2 -2
- package/dist/actions/list-manifests.mjs.map +1 -1
- package/dist/actions/list-merchant-addresses.cjs +4 -4
- package/dist/actions/list-merchant-addresses.cjs.map +1 -1
- package/dist/actions/list-merchant-addresses.d.cts +17 -5
- package/dist/actions/list-merchant-addresses.d.mts +17 -5
- package/dist/actions/list-merchant-addresses.mjs +4 -4
- package/dist/actions/list-merchant-addresses.mjs.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.cjs +3 -3
- package/dist/actions/list-merchant-carrier-accounts.cjs.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.d.cts +16 -4
- package/dist/actions/list-merchant-carrier-accounts.d.mts +16 -4
- package/dist/actions/list-merchant-carrier-accounts.mjs +3 -3
- package/dist/actions/list-merchant-carrier-accounts.mjs.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.cjs +2 -2
- package/dist/actions/list-merchant-customs-declarations.cjs.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.d.cts +15 -3
- package/dist/actions/list-merchant-customs-declarations.d.mts +15 -3
- package/dist/actions/list-merchant-customs-declarations.mjs +2 -2
- package/dist/actions/list-merchant-customs-declarations.mjs.map +1 -1
- package/dist/actions/list-merchant-customs-items.cjs +2 -2
- package/dist/actions/list-merchant-customs-items.cjs.map +1 -1
- package/dist/actions/list-merchant-customs-items.d.cts +15 -3
- package/dist/actions/list-merchant-customs-items.d.mts +15 -3
- package/dist/actions/list-merchant-customs-items.mjs +2 -2
- package/dist/actions/list-merchant-customs-items.mjs.map +1 -1
- package/dist/actions/list-merchant-manifests.cjs +3 -3
- package/dist/actions/list-merchant-manifests.cjs.map +1 -1
- package/dist/actions/list-merchant-manifests.d.cts +16 -4
- package/dist/actions/list-merchant-manifests.d.mts +16 -4
- package/dist/actions/list-merchant-manifests.mjs +3 -3
- package/dist/actions/list-merchant-manifests.mjs.map +1 -1
- package/dist/actions/list-merchant-parcels.cjs +3 -3
- package/dist/actions/list-merchant-parcels.cjs.map +1 -1
- package/dist/actions/list-merchant-parcels.d.cts +16 -4
- package/dist/actions/list-merchant-parcels.d.mts +16 -4
- package/dist/actions/list-merchant-parcels.mjs +3 -3
- package/dist/actions/list-merchant-parcels.mjs.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.cjs +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.cjs.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.cts +17 -5
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts +17 -5
- package/dist/actions/list-merchant-shipment-rates-by-currency.mjs +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.mjs.map +1 -1
- package/dist/actions/list-merchant-shipments.cjs +10 -10
- package/dist/actions/list-merchant-shipments.cjs.map +1 -1
- package/dist/actions/list-merchant-shipments.d.cts +26 -14
- package/dist/actions/list-merchant-shipments.d.mts +26 -14
- package/dist/actions/list-merchant-shipments.mjs +10 -10
- package/dist/actions/list-merchant-shipments.mjs.map +1 -1
- package/dist/actions/list-merchant-transactions.cjs +3 -3
- package/dist/actions/list-merchant-transactions.cjs.map +1 -1
- package/dist/actions/list-merchant-transactions.d.cts +16 -4
- package/dist/actions/list-merchant-transactions.d.mts +16 -4
- package/dist/actions/list-merchant-transactions.mjs +3 -3
- package/dist/actions/list-merchant-transactions.mjs.map +1 -1
- package/dist/actions/list-merchants.cjs +2 -2
- package/dist/actions/list-merchants.cjs.map +1 -1
- package/dist/actions/list-merchants.d.cts +15 -3
- package/dist/actions/list-merchants.d.mts +15 -3
- package/dist/actions/list-merchants.mjs +2 -2
- package/dist/actions/list-merchants.mjs.map +1 -1
- package/dist/actions/list-orders.cjs +6 -6
- package/dist/actions/list-orders.cjs.map +1 -1
- package/dist/actions/list-orders.d.cts +20 -8
- package/dist/actions/list-orders.d.mts +20 -8
- package/dist/actions/list-orders.mjs +6 -6
- package/dist/actions/list-orders.mjs.map +1 -1
- package/dist/actions/list-refunds.cjs +2 -2
- package/dist/actions/list-refunds.cjs.map +1 -1
- package/dist/actions/list-refunds.d.cts +15 -3
- package/dist/actions/list-refunds.d.mts +15 -3
- package/dist/actions/list-refunds.mjs +2 -2
- package/dist/actions/list-refunds.mjs.map +1 -1
- package/dist/actions/list-service-groups.cjs +3 -3
- package/dist/actions/list-service-groups.cjs.map +1 -1
- package/dist/actions/list-service-groups.d.cts +16 -4
- package/dist/actions/list-service-groups.d.mts +16 -4
- package/dist/actions/list-service-groups.mjs +3 -3
- package/dist/actions/list-service-groups.mjs.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.cjs +4 -4
- package/dist/actions/list-shipment-rates-by-currency.cjs.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.d.cts +17 -5
- package/dist/actions/list-shipment-rates-by-currency.d.mts +17 -5
- package/dist/actions/list-shipment-rates-by-currency.mjs +4 -4
- package/dist/actions/list-shipment-rates-by-currency.mjs.map +1 -1
- package/dist/actions/list-shipment-rates.cjs +4 -4
- package/dist/actions/list-shipment-rates.cjs.map +1 -1
- package/dist/actions/list-shipment-rates.d.cts +17 -5
- package/dist/actions/list-shipment-rates.d.mts +17 -5
- package/dist/actions/list-shipment-rates.mjs +4 -4
- package/dist/actions/list-shipment-rates.mjs.map +1 -1
- package/dist/actions/list-shipments.cjs +9 -9
- package/dist/actions/list-shipments.cjs.map +1 -1
- package/dist/actions/list-shipments.d.cts +26 -14
- package/dist/actions/list-shipments.d.mts +26 -14
- package/dist/actions/list-shipments.mjs +9 -9
- package/dist/actions/list-shipments.mjs.map +1 -1
- package/dist/actions/list-shippo-accounts.cjs +2 -2
- package/dist/actions/list-shippo-accounts.cjs.map +1 -1
- package/dist/actions/list-shippo-accounts.d.cts +15 -3
- package/dist/actions/list-shippo-accounts.d.mts +15 -3
- package/dist/actions/list-shippo-accounts.mjs +2 -2
- package/dist/actions/list-shippo-accounts.mjs.map +1 -1
- package/dist/actions/list-user-parcel-templates.cjs +3 -3
- package/dist/actions/list-user-parcel-templates.cjs.map +1 -1
- package/dist/actions/list-user-parcel-templates.d.cts +16 -4
- package/dist/actions/list-user-parcel-templates.d.mts +16 -4
- package/dist/actions/list-user-parcel-templates.mjs +3 -3
- package/dist/actions/list-user-parcel-templates.mjs.map +1 -1
- package/dist/actions/purchase-merchant-batch.cjs +4 -4
- package/dist/actions/purchase-merchant-batch.cjs.map +1 -1
- package/dist/actions/purchase-merchant-batch.d.cts +17 -5
- package/dist/actions/purchase-merchant-batch.d.mts +17 -5
- package/dist/actions/purchase-merchant-batch.mjs +4 -4
- package/dist/actions/purchase-merchant-batch.mjs.map +1 -1
- package/dist/actions/remove-shipments-from-batch.cjs +5 -5
- package/dist/actions/remove-shipments-from-batch.cjs.map +1 -1
- package/dist/actions/remove-shipments-from-batch.d.cts +18 -6
- package/dist/actions/remove-shipments-from-batch.d.mts +18 -6
- package/dist/actions/remove-shipments-from-batch.mjs +5 -5
- package/dist/actions/remove-shipments-from-batch.mjs.map +1 -1
- package/dist/actions/update-carrier-account.cjs +3 -3
- package/dist/actions/update-carrier-account.cjs.map +1 -1
- package/dist/actions/update-carrier-account.d.cts +17 -5
- package/dist/actions/update-carrier-account.d.cts.map +1 -1
- package/dist/actions/update-carrier-account.d.mts +17 -5
- package/dist/actions/update-carrier-account.d.mts.map +1 -1
- package/dist/actions/update-carrier-account.mjs +3 -3
- package/dist/actions/update-carrier-account.mjs.map +1 -1
- package/dist/actions/update-default-parcel-template.cjs +3 -3
- package/dist/actions/update-default-parcel-template.cjs.map +1 -1
- package/dist/actions/update-default-parcel-template.d.cts +16 -4
- package/dist/actions/update-default-parcel-template.d.mts +16 -4
- package/dist/actions/update-default-parcel-template.mjs +3 -3
- package/dist/actions/update-default-parcel-template.mjs.map +1 -1
- package/dist/actions/update-merchant-carrier-account.cjs +2 -2
- package/dist/actions/update-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/update-merchant-carrier-account.d.cts +15 -3
- package/dist/actions/update-merchant-carrier-account.d.mts +15 -3
- package/dist/actions/update-merchant-carrier-account.mjs +2 -2
- package/dist/actions/update-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/update-merchant.cjs +1 -1
- package/dist/actions/update-merchant.cjs.map +1 -1
- package/dist/actions/update-merchant.d.cts +14 -2
- package/dist/actions/update-merchant.d.mts +14 -2
- package/dist/actions/update-merchant.mjs +1 -1
- package/dist/actions/update-merchant.mjs.map +1 -1
- package/dist/actions/update-service-group.cjs +3 -3
- package/dist/actions/update-service-group.cjs.map +1 -1
- package/dist/actions/update-service-group.d.cts +17 -4
- package/dist/actions/update-service-group.d.mts +17 -4
- package/dist/actions/update-service-group.mjs +3 -3
- package/dist/actions/update-service-group.mjs.map +1 -1
- package/dist/actions/update-user-parcel-template.cjs +2 -2
- package/dist/actions/update-user-parcel-template.cjs.map +1 -1
- package/dist/actions/update-user-parcel-template.d.cts +15 -3
- package/dist/actions/update-user-parcel-template.d.mts +15 -3
- package/dist/actions/update-user-parcel-template.mjs +2 -2
- package/dist/actions/update-user-parcel-template.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -1
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +18 -6
- package/dist/actions/update-webhook.d.mts +18 -6
- package/dist/actions/update-webhook.mjs +1 -1
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/validate-address.cjs +3 -3
- package/dist/actions/validate-address.cjs.map +1 -1
- package/dist/actions/validate-address.d.cts +16 -4
- package/dist/actions/validate-address.d.mts +16 -4
- package/dist/actions/validate-address.mjs +3 -3
- package/dist/actions/validate-address.mjs.map +1 -1
- package/dist/actions/validate-merchant-address.cjs +3 -3
- package/dist/actions/validate-merchant-address.cjs.map +1 -1
- package/dist/actions/validate-merchant-address.d.cts +16 -4
- package/dist/actions/validate-merchant-address.d.mts +16 -4
- package/dist/actions/validate-merchant-address.mjs +3 -3
- package/dist/actions/validate-merchant-address.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-addresses.mjs","names":[],"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,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC7F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,4BAA4B;
|
|
1
|
+
{"version":3,"file":"list-merchant-addresses.mjs","names":[],"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,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC7F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACj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SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -14,15 +14,15 @@ const ShippoListMerchantCarrierAccounts_MerchantCarrierAccountSchema = zod.z.obj
|
|
|
14
14
|
metadata: zod.z.string().describe("A string of up to 100 characters that can be filled with any additional information").nullable().optional(),
|
|
15
15
|
object_id: zod.z.string().describe("Unique identifier of the carrier account object").nullable().optional(),
|
|
16
16
|
account_id: zod.z.string().describe("The account ID for the carrier account").nullable().optional(),
|
|
17
|
-
parameters: zod.z.
|
|
17
|
+
parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Carrier-specific parameters for the account").nullable().optional(),
|
|
18
18
|
object_owner: zod.z.string().describe("Username of the user who owns the carrier account object").nullable().optional(),
|
|
19
19
|
is_shippo_account: zod.z.boolean().describe("Indicates if this is a Shippo-managed carrier account").nullable().optional()
|
|
20
|
-
}).describe("Carrier account object for a merchant.");
|
|
20
|
+
}).passthrough().describe("Carrier account object for a merchant.");
|
|
21
21
|
const ShippoListMerchantCarrierAccountsOutput = zod.z.object({
|
|
22
22
|
next: zod.z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
23
23
|
results: zod.z.array(ShippoListMerchantCarrierAccounts_MerchantCarrierAccountSchema).describe("Array of carrier account objects for the merchant").nullable().optional(),
|
|
24
24
|
previous: zod.z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
25
|
-
}).describe("Response containing paginated list of carrier accounts for a merchant.");
|
|
25
|
+
}).passthrough().describe("Response containing paginated list of carrier accounts for a merchant.");
|
|
26
26
|
const shippoListMerchantCarrierAccounts = require_action.action("SHIPPO_LIST_MERCHANT_CARRIER_ACCOUNTS", {
|
|
27
27
|
slug: "shippo-list-merchant-carrier-accounts",
|
|
28
28
|
name: "List Merchant Carrier Accounts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-carrier-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-carrier-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCarrierAccountsInput = 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 carrier accounts 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 merchant carrier accounts with pagination.\");\nconst ShippoListMerchantCarrierAccounts_MerchantCarrierAccountSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'ups', 'canada_post', 'chronopost')\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object\").nullable().optional(),\n account_id: z.string().describe(\"The account ID for the carrier account\").nullable().optional(),\n parameters: z.
|
|
1
|
+
{"version":3,"file":"list-merchant-carrier-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-carrier-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCarrierAccountsInput = 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 carrier accounts 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 merchant carrier accounts with pagination.\");\nconst ShippoListMerchantCarrierAccounts_MerchantCarrierAccountSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'ups', 'canada_post', 'chronopost')\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object\").nullable().optional(),\n account_id: z.string().describe(\"The account ID for the carrier account\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters for the account\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who owns the carrier account object\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account\").nullable().optional(),\n}).passthrough().describe(\"Carrier account object for a merchant.\");\nexport const ShippoListMerchantCarrierAccountsOutput = 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(ShippoListMerchantCarrierAccounts_MerchantCarrierAccountSchema).describe(\"Array of carrier account objects for the merchant\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of carrier accounts for a merchant.\");\n\nexport const shippoListMerchantCarrierAccounts = action(\"SHIPPO_LIST_MERCHANT_CARRIER_ACCOUNTS\", {\n slug: \"shippo-list-merchant-carrier-accounts\",\n name: \"List Merchant Carrier Accounts\",\n description: \"Tool to list all carrier accounts for a specific merchant using the Shippo Platform API. Use when you need to retrieve carrier accounts configured for a merchant in a platform context.\",\n input: ShippoListMerchantCarrierAccountsInput,\n output: ShippoListMerchantCarrierAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE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SAAS,CAAC,CAAC,SAAS;CAClH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,18 +16,30 @@ declare const ShippoListMerchantCarrierAccountsOutput: z.ZodObject<{
|
|
|
16
16
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
parameters: z.ZodOptional<z.ZodNullable<z.
|
|
19
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
20
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const shippoListMerchantCarrierAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
merchant_id: string;
|
|
27
27
|
page?: number | undefined;
|
|
28
28
|
results?: number | undefined;
|
|
29
29
|
shippo_api_version?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
accessToken: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
37
|
+
connectionId: z.ZodString;
|
|
38
|
+
entityId: z.ZodString;
|
|
39
|
+
instanceId: z.ZodString;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
accessToken: z.ZodString;
|
|
42
|
+
}, z.core.$strip>>]>;
|
|
31
43
|
//#endregion
|
|
32
44
|
export { shippoListMerchantCarrierAccounts };
|
|
33
45
|
//# sourceMappingURL=list-merchant-carrier-accounts.d.cts.map
|
|
@@ -16,18 +16,30 @@ declare const ShippoListMerchantCarrierAccountsOutput: z.ZodObject<{
|
|
|
16
16
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
parameters: z.ZodOptional<z.ZodNullable<z.
|
|
19
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
20
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const shippoListMerchantCarrierAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
merchant_id: string;
|
|
27
27
|
page?: number | undefined;
|
|
28
28
|
results?: number | undefined;
|
|
29
29
|
shippo_api_version?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
accessToken: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
37
|
+
connectionId: z.ZodString;
|
|
38
|
+
entityId: z.ZodString;
|
|
39
|
+
instanceId: z.ZodString;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
accessToken: z.ZodString;
|
|
42
|
+
}, z.core.$strip>>]>;
|
|
31
43
|
//#endregion
|
|
32
44
|
export { shippoListMerchantCarrierAccounts };
|
|
33
45
|
//# sourceMappingURL=list-merchant-carrier-accounts.d.mts.map
|
|
@@ -14,10 +14,10 @@ const ShippoListMerchantCarrierAccounts_MerchantCarrierAccountSchema = z.object(
|
|
|
14
14
|
metadata: z.string().describe("A string of up to 100 characters that can be filled with any additional information").nullable().optional(),
|
|
15
15
|
object_id: z.string().describe("Unique identifier of the carrier account object").nullable().optional(),
|
|
16
16
|
account_id: z.string().describe("The account ID for the carrier account").nullable().optional(),
|
|
17
|
-
parameters: z.
|
|
17
|
+
parameters: z.record(z.string(), z.unknown()).describe("Carrier-specific parameters for the account").nullable().optional(),
|
|
18
18
|
object_owner: z.string().describe("Username of the user who owns the carrier account object").nullable().optional(),
|
|
19
19
|
is_shippo_account: z.boolean().describe("Indicates if this is a Shippo-managed carrier account").nullable().optional()
|
|
20
|
-
}).describe("Carrier account object for a merchant.");
|
|
20
|
+
}).passthrough().describe("Carrier account object for a merchant.");
|
|
21
21
|
const shippoListMerchantCarrierAccounts = action("SHIPPO_LIST_MERCHANT_CARRIER_ACCOUNTS", {
|
|
22
22
|
slug: "shippo-list-merchant-carrier-accounts",
|
|
23
23
|
name: "List Merchant Carrier Accounts",
|
|
@@ -27,7 +27,7 @@ const shippoListMerchantCarrierAccounts = action("SHIPPO_LIST_MERCHANT_CARRIER_A
|
|
|
27
27
|
next: z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
28
28
|
results: z.array(ShippoListMerchantCarrierAccounts_MerchantCarrierAccountSchema).describe("Array of carrier account objects for the merchant").nullable().optional(),
|
|
29
29
|
previous: z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
30
|
-
}).describe("Response containing paginated list of carrier accounts for a merchant.")
|
|
30
|
+
}).passthrough().describe("Response containing paginated list of carrier accounts for a merchant.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { shippoListMerchantCarrierAccounts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-carrier-accounts.mjs","names":[],"sources":["../../src/actions/list-merchant-carrier-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCarrierAccountsInput = 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 carrier accounts 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 merchant carrier accounts with pagination.\");\nconst ShippoListMerchantCarrierAccounts_MerchantCarrierAccountSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'ups', 'canada_post', 'chronopost')\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object\").nullable().optional(),\n account_id: z.string().describe(\"The account ID for the carrier account\").nullable().optional(),\n parameters: z.
|
|
1
|
+
{"version":3,"file":"list-merchant-carrier-accounts.mjs","names":[],"sources":["../../src/actions/list-merchant-carrier-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCarrierAccountsInput = 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 carrier accounts 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 merchant carrier accounts with pagination.\");\nconst ShippoListMerchantCarrierAccounts_MerchantCarrierAccountSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'ups', 'canada_post', 'chronopost')\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object\").nullable().optional(),\n account_id: z.string().describe(\"The account ID for the carrier account\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters for the account\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who owns the carrier account object\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account\").nullable().optional(),\n}).passthrough().describe(\"Carrier account object for a merchant.\");\nexport const ShippoListMerchantCarrierAccountsOutput = 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(ShippoListMerchantCarrierAccounts_MerchantCarrierAccountSchema).describe(\"Array of carrier account objects for the merchant\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of carrier accounts for a merchant.\");\n\nexport const shippoListMerchantCarrierAccounts = action(\"SHIPPO_LIST_MERCHANT_CARRIER_ACCOUNTS\", {\n slug: \"shippo-list-merchant-carrier-accounts\",\n name: \"List Merchant Carrier Accounts\",\n description: \"Tool to list all carrier accounts for a specific merchant using the Shippo Platform API. Use when you need to retrieve carrier accounts configured for a merchant in a platform context.\",\n input: ShippoListMerchantCarrierAccountsInput,\n output: ShippoListMerchantCarrierAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC3F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,iEAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,QAAQ,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;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
|
|
@@ -34,12 +34,12 @@ const ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema = z
|
|
|
34
34
|
importer_reference: zod.z.string().describe("Importer reference of an import shipment").nullable().optional(),
|
|
35
35
|
non_delivery_option: zod.z.string().describe("Action to take if delivery fails (e.g., RETURN, ABANDON)").nullable().optional(),
|
|
36
36
|
contents_explanation: zod.z.string().describe("Explanation of the type of goods of the shipment").nullable().optional()
|
|
37
|
-
}).describe("Customs declaration object returned by the Shippo Platform API.");
|
|
37
|
+
}).passthrough().describe("Customs declaration object returned by the Shippo Platform API.");
|
|
38
38
|
const ShippoListMerchantCustomsDeclarationsOutput = zod.z.object({
|
|
39
39
|
next: zod.z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
40
40
|
results: zod.z.array(ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema).describe("Array of customs declaration objects").nullable().optional(),
|
|
41
41
|
previous: zod.z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
42
|
-
}).describe("Response containing paginated list of merchant customs declarations.");
|
|
42
|
+
}).passthrough().describe("Response containing paginated list of merchant customs declarations.");
|
|
43
43
|
const shippoListMerchantCustomsDeclarations = require_action.action("SHIPPO_LIST_MERCHANT_CUSTOMS_DECLARATIONS", {
|
|
44
44
|
slug: "shippo-list-merchant-customs-declarations",
|
|
45
45
|
name: "List Merchant Customs Declarations",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-customs-declarations.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-customs-declarations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCustomsDeclarationsInput = 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 customs declarations 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 customs declarations for a merchant.\");\nconst ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema = 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(\"Array of customs items associated with this declaration\").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 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 b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).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}).describe(\"Customs declaration object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantCustomsDeclarationsOutput = 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(ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema).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 merchant customs declarations.\");\n\nexport const shippoListMerchantCustomsDeclarations = action(\"SHIPPO_LIST_MERCHANT_CUSTOMS_DECLARATIONS\", {\n slug: \"shippo-list-merchant-customs-declarations\",\n name: \"List Merchant Customs Declarations\",\n description: \"Tool to list all customs declarations for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant customs declarations for international shipments.\",\n input: ShippoListMerchantCustomsDeclarationsInput,\n output: ShippoListMerchantCustomsDeclarationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,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,uEAAuE;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CA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AC,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;AACpH,CAAC,CAAC,CAAC,SAAS,iEAAiE;
|
|
1
|
+
{"version":3,"file":"list-merchant-customs-declarations.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-customs-declarations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCustomsDeclarationsInput = 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 customs declarations 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 customs declarations for a merchant.\");\nconst ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema = 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(\"Array of customs items associated with this declaration\").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 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 b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).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}).passthrough().describe(\"Customs declaration object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantCustomsDeclarationsOutput = 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(ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema).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 merchant customs declarations.\");\n\nexport const shippoListMerchantCustomsDeclarations = action(\"SHIPPO_LIST_MERCHANT_CUSTOMS_DECLARATIONS\", {\n slug: \"shippo-list-merchant-customs-declarations\",\n name: \"List Merchant Customs Declarations\",\n description: \"Tool to list all customs declarations for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant customs declarations for international shipments.\",\n input: ShippoListMerchantCustomsDeclarationsInput,\n output: ShippoListMerchantCustomsDeclarationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,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,uEAAuE;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,yEAAyEA,IAAAA,EAAE,OAAO;CACtF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,C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AAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -36,15 +36,27 @@ declare const ShippoListMerchantCustomsDeclarationsOutput: z.ZodObject<{
|
|
|
36
36
|
importer_reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
non_delivery_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
contents_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>>>;
|
|
40
40
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const shippoListMerchantCustomsDeclarations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
merchant_id: string;
|
|
44
44
|
page?: number | undefined;
|
|
45
45
|
results?: number | undefined;
|
|
46
46
|
shippo_api_version?: string | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
47
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
48
|
+
connectionId: z.ZodString;
|
|
49
|
+
entityId: z.ZodString;
|
|
50
|
+
instanceId: z.ZodString;
|
|
51
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
+
accessToken: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
54
|
+
connectionId: z.ZodString;
|
|
55
|
+
entityId: z.ZodString;
|
|
56
|
+
instanceId: z.ZodString;
|
|
57
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
+
accessToken: z.ZodString;
|
|
59
|
+
}, z.core.$strip>>]>;
|
|
48
60
|
//#endregion
|
|
49
61
|
export { shippoListMerchantCustomsDeclarations };
|
|
50
62
|
//# sourceMappingURL=list-merchant-customs-declarations.d.cts.map
|
|
@@ -36,15 +36,27 @@ declare const ShippoListMerchantCustomsDeclarationsOutput: z.ZodObject<{
|
|
|
36
36
|
importer_reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
non_delivery_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
contents_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>>>;
|
|
40
40
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const shippoListMerchantCustomsDeclarations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
merchant_id: string;
|
|
44
44
|
page?: number | undefined;
|
|
45
45
|
results?: number | undefined;
|
|
46
46
|
shippo_api_version?: string | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
47
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
48
|
+
connectionId: z.ZodString;
|
|
49
|
+
entityId: z.ZodString;
|
|
50
|
+
instanceId: z.ZodString;
|
|
51
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
+
accessToken: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
54
|
+
connectionId: z.ZodString;
|
|
55
|
+
entityId: z.ZodString;
|
|
56
|
+
instanceId: z.ZodString;
|
|
57
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
+
accessToken: z.ZodString;
|
|
59
|
+
}, z.core.$strip>>]>;
|
|
48
60
|
//#endregion
|
|
49
61
|
export { shippoListMerchantCustomsDeclarations };
|
|
50
62
|
//# sourceMappingURL=list-merchant-customs-declarations.d.mts.map
|
|
@@ -34,7 +34,7 @@ const ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema = z
|
|
|
34
34
|
importer_reference: z.string().describe("Importer reference of an import shipment").nullable().optional(),
|
|
35
35
|
non_delivery_option: z.string().describe("Action to take if delivery fails (e.g., RETURN, ABANDON)").nullable().optional(),
|
|
36
36
|
contents_explanation: z.string().describe("Explanation of the type of goods of the shipment").nullable().optional()
|
|
37
|
-
}).describe("Customs declaration object returned by the Shippo Platform API.");
|
|
37
|
+
}).passthrough().describe("Customs declaration object returned by the Shippo Platform API.");
|
|
38
38
|
const shippoListMerchantCustomsDeclarations = action("SHIPPO_LIST_MERCHANT_CUSTOMS_DECLARATIONS", {
|
|
39
39
|
slug: "shippo-list-merchant-customs-declarations",
|
|
40
40
|
name: "List Merchant Customs Declarations",
|
|
@@ -44,7 +44,7 @@ const shippoListMerchantCustomsDeclarations = action("SHIPPO_LIST_MERCHANT_CUSTO
|
|
|
44
44
|
next: z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
45
45
|
results: z.array(ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema).describe("Array of customs declaration objects").nullable().optional(),
|
|
46
46
|
previous: z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
47
|
-
}).describe("Response containing paginated list of merchant customs declarations.")
|
|
47
|
+
}).passthrough().describe("Response containing paginated list of merchant customs declarations.")
|
|
48
48
|
});
|
|
49
49
|
//#endregion
|
|
50
50
|
export { shippoListMerchantCustomsDeclarations };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-customs-declarations.mjs","names":[],"sources":["../../src/actions/list-merchant-customs-declarations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCustomsDeclarationsInput = 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 customs declarations 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 customs declarations for a merchant.\");\nconst ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema = 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(\"Array of customs items associated with this declaration\").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 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 b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).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}).describe(\"Customs declaration object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantCustomsDeclarationsOutput = 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(ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema).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 merchant customs declarations.\");\n\nexport const shippoListMerchantCustomsDeclarations = action(\"SHIPPO_LIST_MERCHANT_CUSTOMS_DECLARATIONS\", {\n slug: \"shippo-list-merchant-customs-declarations\",\n name: \"List Merchant Customs Declarations\",\n description: \"Tool to list all customs declarations for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant customs declarations for international shipments.\",\n input: ShippoListMerchantCustomsDeclarationsInput,\n output: ShippoListMerchantCustomsDeclarationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACx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S;AACpH,CAAC,CAAC,CAAC,SAAS,iEAAiE;
|
|
1
|
+
{"version":3,"file":"list-merchant-customs-declarations.mjs","names":[],"sources":["../../src/actions/list-merchant-customs-declarations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCustomsDeclarationsInput = 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 customs declarations 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 customs declarations for a merchant.\");\nconst ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema = 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(\"Array of customs items associated with this declaration\").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 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 b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).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}).passthrough().describe(\"Customs declaration object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantCustomsDeclarationsOutput = 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(ShippoListMerchantCustomsDeclarations_MerchantCustomsDeclarationSchema).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 merchant customs declarations.\");\n\nexport const shippoListMerchantCustomsDeclarations = action(\"SHIPPO_LIST_MERCHANT_CUSTOMS_DECLARATIONS\", {\n slug: \"shippo-list-merchant-customs-declarations\",\n name: \"List Merchant Customs Declarations\",\n description: \"Tool to list all customs declarations for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant customs declarations for international shipments.\",\n input: ShippoListMerchantCustomsDeclarationsInput,\n output: ShippoListMerchantCustomsDeclarationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CA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oB,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;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAO3F,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,sEAAsE,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
|
|
@@ -25,12 +25,12 @@ const ShippoListMerchantCustomsItems_MerchantCustomsItemSchema = zod.z.object({
|
|
|
25
25
|
object_updated: zod.z.string().describe("ISO 8601 timestamp of last update").nullable().optional(),
|
|
26
26
|
origin_country: zod.z.string().describe("ISO country code of origin").nullable().optional(),
|
|
27
27
|
value_currency: zod.z.string().describe("ISO 4217 currency code (e.g., 'USD', 'EUR')").nullable().optional()
|
|
28
|
-
}).describe("Customs item object returned by the Shippo Platform API.");
|
|
28
|
+
}).passthrough().describe("Customs item object returned by the Shippo Platform API.");
|
|
29
29
|
const ShippoListMerchantCustomsItemsOutput = zod.z.object({
|
|
30
30
|
next: zod.z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
31
31
|
results: zod.z.array(ShippoListMerchantCustomsItems_MerchantCustomsItemSchema).describe("Array of customs item objects").nullable().optional(),
|
|
32
32
|
previous: zod.z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
33
|
-
}).describe("Response containing paginated list of merchant customs items.");
|
|
33
|
+
}).passthrough().describe("Response containing paginated list of merchant customs items.");
|
|
34
34
|
const shippoListMerchantCustomsItems = require_action.action("SHIPPO_LIST_MERCHANT_CUSTOMS_ITEMS", {
|
|
35
35
|
slug: "shippo-list-merchant-customs-items",
|
|
36
36
|
name: "List Merchant Customs Items",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-customs-items.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-customs-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCustomsItemsInput = 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 customs items 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 customs items for a merchant.\");\nconst ShippoListMerchantCustomsItems_MerchantCustomsItemSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs item\").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 Control Classification Number or EAR99 designation\").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 user who created the object\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., VALID, INVALID)\").nullable().optional(),\n value_amount: z.string().describe(\"Total item value\").nullable().optional(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp 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(\"Customs item object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantCustomsItemsOutput = 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(ShippoListMerchantCustomsItems_MerchantCustomsItemSchema).describe(\"Array of customs item 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 customs items.\");\n\nexport const shippoListMerchantCustomsItems = action(\"SHIPPO_LIST_MERCHANT_CUSTOMS_ITEMS\", {\n slug: \"shippo-list-merchant-customs-items\",\n name: \"List Merchant Customs Items\",\n description: \"Tool to list all customs items for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant customs items for international shipments.\",\n input: ShippoListMerchantCustomsItemsInput,\n output: ShippoListMerchantCustomsItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,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,0DAA0D;
|
|
1
|
+
{"version":3,"file":"list-merchant-customs-items.cjs","names":["z","action"],"sources":["../../src/actions/list-merchant-customs-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCustomsItemsInput = 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 customs items 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 customs items for a merchant.\");\nconst ShippoListMerchantCustomsItems_MerchantCustomsItemSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs item\").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 Control Classification Number or EAR99 designation\").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 user who created the object\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., VALID, INVALID)\").nullable().optional(),\n value_amount: z.string().describe(\"Total item value\").nullable().optional(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp 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(\"Customs item object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantCustomsItemsOutput = 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(ShippoListMerchantCustomsItems_MerchantCustomsItemSchema).describe(\"Array of customs item 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 customs items.\");\n\nexport const shippoListMerchantCustomsItems = action(\"SHIPPO_LIST_MERCHANT_CUSTOMS_ITEMS\", {\n slug: \"shippo-list-merchant-customs-items\",\n name: \"List Merchant Customs Items\",\n description: \"Tool to list all customs items for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant customs items for international shipments.\",\n input: ShippoListMerchantCustomsItemsInput,\n output: ShippoListMerchantCustomsItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IA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SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -27,15 +27,27 @@ declare const ShippoListMerchantCustomsItemsOutput: z.ZodObject<{
|
|
|
27
27
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
value_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
31
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const shippoListMerchantCustomsItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
merchant_id: string;
|
|
35
35
|
page?: number | undefined;
|
|
36
36
|
results?: number | undefined;
|
|
37
37
|
shippo_api_version?: string | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
38
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
39
|
+
connectionId: z.ZodString;
|
|
40
|
+
entityId: z.ZodString;
|
|
41
|
+
instanceId: z.ZodString;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
accessToken: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
45
|
+
connectionId: z.ZodString;
|
|
46
|
+
entityId: z.ZodString;
|
|
47
|
+
instanceId: z.ZodString;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
+
accessToken: z.ZodString;
|
|
50
|
+
}, z.core.$strip>>]>;
|
|
39
51
|
//#endregion
|
|
40
52
|
export { shippoListMerchantCustomsItems };
|
|
41
53
|
//# sourceMappingURL=list-merchant-customs-items.d.cts.map
|
|
@@ -27,15 +27,27 @@ declare const ShippoListMerchantCustomsItemsOutput: z.ZodObject<{
|
|
|
27
27
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
value_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
31
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const shippoListMerchantCustomsItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
merchant_id: string;
|
|
35
35
|
page?: number | undefined;
|
|
36
36
|
results?: number | undefined;
|
|
37
37
|
shippo_api_version?: string | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
38
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
39
|
+
connectionId: z.ZodString;
|
|
40
|
+
entityId: z.ZodString;
|
|
41
|
+
instanceId: z.ZodString;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
accessToken: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
45
|
+
connectionId: z.ZodString;
|
|
46
|
+
entityId: z.ZodString;
|
|
47
|
+
instanceId: z.ZodString;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
+
accessToken: z.ZodString;
|
|
50
|
+
}, z.core.$strip>>]>;
|
|
39
51
|
//#endregion
|
|
40
52
|
export { shippoListMerchantCustomsItems };
|
|
41
53
|
//# sourceMappingURL=list-merchant-customs-items.d.mts.map
|
|
@@ -25,7 +25,7 @@ const ShippoListMerchantCustomsItems_MerchantCustomsItemSchema = z.object({
|
|
|
25
25
|
object_updated: z.string().describe("ISO 8601 timestamp of last update").nullable().optional(),
|
|
26
26
|
origin_country: z.string().describe("ISO country code of origin").nullable().optional(),
|
|
27
27
|
value_currency: z.string().describe("ISO 4217 currency code (e.g., 'USD', 'EUR')").nullable().optional()
|
|
28
|
-
}).describe("Customs item object returned by the Shippo Platform API.");
|
|
28
|
+
}).passthrough().describe("Customs item object returned by the Shippo Platform API.");
|
|
29
29
|
const shippoListMerchantCustomsItems = action("SHIPPO_LIST_MERCHANT_CUSTOMS_ITEMS", {
|
|
30
30
|
slug: "shippo-list-merchant-customs-items",
|
|
31
31
|
name: "List Merchant Customs Items",
|
|
@@ -35,7 +35,7 @@ const shippoListMerchantCustomsItems = action("SHIPPO_LIST_MERCHANT_CUSTOMS_ITEM
|
|
|
35
35
|
next: z.string().describe("URL for the next page of results, null if no more pages").nullable().optional(),
|
|
36
36
|
results: z.array(ShippoListMerchantCustomsItems_MerchantCustomsItemSchema).describe("Array of customs item objects").nullable().optional(),
|
|
37
37
|
previous: z.string().describe("URL for the previous page of results, null if on first page").nullable().optional()
|
|
38
|
-
}).describe("Response containing paginated list of merchant customs items.")
|
|
38
|
+
}).passthrough().describe("Response containing paginated list of merchant customs items.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { shippoListMerchantCustomsItems };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-merchant-customs-items.mjs","names":[],"sources":["../../src/actions/list-merchant-customs-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCustomsItemsInput = 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 customs items 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 customs items for a merchant.\");\nconst ShippoListMerchantCustomsItems_MerchantCustomsItemSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs item\").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 Control Classification Number or EAR99 designation\").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 user who created the object\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., VALID, INVALID)\").nullable().optional(),\n value_amount: z.string().describe(\"Total item value\").nullable().optional(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp 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(\"Customs item object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantCustomsItemsOutput = 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(ShippoListMerchantCustomsItems_MerchantCustomsItemSchema).describe(\"Array of customs item 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 customs items.\");\n\nexport const shippoListMerchantCustomsItems = action(\"SHIPPO_LIST_MERCHANT_CUSTOMS_ITEMS\", {\n slug: \"shippo-list-merchant-customs-items\",\n name: \"List Merchant Customs Items\",\n description: \"Tool to list all customs items for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant customs items for international shipments.\",\n input: ShippoListMerchantCustomsItemsInput,\n output: ShippoListMerchantCustomsItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,2DAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,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,0DAA0D;
|
|
1
|
+
{"version":3,"file":"list-merchant-customs-items.mjs","names":[],"sources":["../../src/actions/list-merchant-customs-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListMerchantCustomsItemsInput = 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 customs items 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 customs items for a merchant.\");\nconst ShippoListMerchantCustomsItems_MerchantCustomsItemSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs item\").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 Control Classification Number or EAR99 designation\").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 user who created the object\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., VALID, INVALID)\").nullable().optional(),\n value_amount: z.string().describe(\"Total item value\").nullable().optional(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp 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(\"Customs item object returned by the Shippo Platform API.\");\nexport const ShippoListMerchantCustomsItemsOutput = 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(ShippoListMerchantCustomsItems_MerchantCustomsItemSchema).describe(\"Array of customs item 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 customs items.\");\n\nexport const shippoListMerchantCustomsItems = action(\"SHIPPO_LIST_MERCHANT_CUSTOMS_ITEMS\", {\n slug: \"shippo-list-merchant-customs-items\",\n name: \"List Merchant Customs Items\",\n description: \"Tool to list all customs items for a specific merchant using the Shippo Platform API. Use when you need to retrieve merchant customs items for international shipments.\",\n input: ShippoListMerchantCustomsItemsInput,\n output: ShippoListMerchantCustomsItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,2DAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS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AsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const ShippoListMerchantManifestsInput = zod.z.object({
|
|
|
10
10
|
const ShippoListMerchantManifests_ManifestDocumentSchema = zod.z.object({
|
|
11
11
|
url: zod.z.string().describe("URL where the manifest document can be downloaded.").nullable().optional(),
|
|
12
12
|
type: zod.z.string().describe("Type of document (e.g., 'PDF', 'PNG', 'ZPL').").nullable().optional()
|
|
13
|
-
}).describe("Model for manifest document information.");
|
|
13
|
+
}).passthrough().describe("Model for manifest document information.");
|
|
14
14
|
const ShippoListMerchantManifests_MerchantManifestSchema = zod.z.object({
|
|
15
15
|
status: zod.z.string().describe("Status of the manifest. Possible values include 'SUCCESS', 'QUEUED', 'ERROR'.").nullable().optional(),
|
|
16
16
|
documents: zod.z.array(ShippoListMerchantManifests_ManifestDocumentSchema).describe("List of documents associated with the manifest.").nullable().optional(),
|
|
@@ -22,12 +22,12 @@ const ShippoListMerchantManifests_MerchantManifestSchema = zod.z.object({
|
|
|
22
22
|
object_created: zod.z.string().describe("Timestamp when the manifest was created in ISO 8601 format.").nullable().optional(),
|
|
23
23
|
object_updated: zod.z.string().describe("Timestamp when the manifest was last updated in ISO 8601 format.").nullable().optional(),
|
|
24
24
|
carrier_account: zod.z.string().describe("Object ID of the carrier account associated with this manifest.").nullable().optional()
|
|
25
|
-
}).describe("Model representing a single manifest for a merchant.");
|
|
25
|
+
}).passthrough().describe("Model representing a single manifest for a merchant.");
|
|
26
26
|
const ShippoListMerchantManifestsOutput = zod.z.object({
|
|
27
27
|
next: zod.z.string().describe("URL to the next page of results. Null if there are no more pages.").nullable().optional(),
|
|
28
28
|
results: zod.z.array(ShippoListMerchantManifests_MerchantManifestSchema).describe("List of manifest objects on the current page.").nullable().optional(),
|
|
29
29
|
previous: zod.z.string().describe("URL to the previous page of results. Null if this is the first page.").nullable().optional()
|
|
30
|
-
}).describe("Response model containing paginated list of manifests for a merchant.");
|
|
30
|
+
}).passthrough().describe("Response model containing paginated list of manifests for a merchant.");
|
|
31
31
|
const shippoListMerchantManifests = require_action.action("SHIPPO_LIST_MERCHANT_MANIFESTS", {
|
|
32
32
|
slug: "shippo-list-merchant-manifests",
|
|
33
33
|
name: "List Merchant Manifests",
|