@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":"get-merchant-batch.mjs","names":[],"sources":["../../src/actions/get-merchant-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant batch.\");\nconst ShippoGetMerchantBatch_BatchStatusSchema = z.enum([\"VALIDATING\", \"VALID\", \"INVALID\", \"PURCHASING\", \"PURCHASED\"]).describe(\"Enum for batch status values.\");\nconst ShippoGetMerchantBatch_LabelFileTypeSchema = z.enum([\"PNG\", \"PNG_2.3x7.5\", \"PDF\", \"PDF_2.3x7.5\", \"PDF_4x6\", \"PDF_4x8\", \"PDF_A4\", \"PDF_A6\", \"ZPLII\"]).describe(\"Enum for label file types.\");\nconst ShippoGetMerchantBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed creation\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed to purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments that were successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments that were successfully purchased\").nullable(),\n}).describe(\"Model for batch operation results counts.\");\nconst ShippoGetMerchantBatch_BatchShipmentItemSchema = z.record(z.string(), z.unknown()).describe(\"Model for a single batch shipment item.\");\nconst ShippoGetMerchantBatch_BatchShipmentsSchema = z.object({\n next: z.string().describe(\"URL for the next page of batch shipment results\").nullable().optional(),\n results: z.array(ShippoGetMerchantBatch_BatchShipmentItemSchema).describe(\"Array of BatchShipment objects in the same order as the request array\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of batch shipment results\").nullable().optional(),\n}).describe(\"Model for paginated batch shipments.\");\nexport const ShippoGetMerchantBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this is a test batch\").nullable().optional(),\n status: ShippoGetMerchantBatch_BatchStatusSchema.nullable(),\n metadata: z.string().describe(\"Custom metadata string (up to 100 characters) attached to the batch object\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"Array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the batch object\").nullable(),\n label_filetype: ShippoGetMerchantBatch_LabelFileTypeSchema.nullable().optional(),\n object_created: z.string().describe(\"Date and time of batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoGetMerchantBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the batch in ISO 8601 format\").nullable(),\n batch_shipments: ShippoGetMerchantBatch_BatchShipmentsSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the carrier account to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n default_servicelevel_token: z.string().describe(\"Service level token to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n}).describe(\"Response model for a merchant batch.\");\n\nexport const shippoGetMerchantBatch = action(\"SHIPPO_GET_MERCHANT_BATCH\", {\n slug: \"shippo-get-merchant-batch\",\n name: \"Get Merchant Batch\",\n description: \"Tool to retrieve a batch for a merchant from the Shippo Platform API. Use when you need to get details of an existing batch using merchant and batch IDs.\",\n input: ShippoGetMerchantBatchInput,\n output: ShippoGetMerchantBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACtD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAc;CAAS;CAAW;CAAc;AAAW,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC/J,MAAM,6CAA6C,EAAE,KAAK;CAAC;CAAO;CAAe;CAAO;CAAe;CAAW;CAAW;CAAU;CAAU;AAAO,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAChM,MAAM,6CAA6C,EAAE,OAAO;CAC1D,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-merchant-batch.mjs","names":[],"sources":["../../src/actions/get-merchant-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantBatchInput = z.object({\n batch_id: z.string().describe(\"Object ID of the batch\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant batch.\");\nconst ShippoGetMerchantBatch_BatchStatusSchema = z.enum([\"VALIDATING\", \"VALID\", \"INVALID\", \"PURCHASING\", \"PURCHASED\"]).describe(\"Enum for batch status values.\");\nconst ShippoGetMerchantBatch_LabelFileTypeSchema = z.enum([\"PNG\", \"PNG_2.3x7.5\", \"PDF\", \"PDF_2.3x7.5\", \"PDF_4x6\", \"PDF_4x8\", \"PDF_A4\", \"PDF_A6\", \"ZPLII\"]).describe(\"Enum for label file types.\");\nconst ShippoGetMerchantBatch_ObjectResultsSchema = z.object({\n creation_failed: z.number().int().describe(\"Number of shipments that failed creation\").nullable(),\n purchase_failed: z.number().int().describe(\"Number of shipments that failed to purchase\").nullable(),\n creation_succeeded: z.number().int().describe(\"Number of shipments that were successfully created\").nullable(),\n purchase_succeeded: z.number().int().describe(\"Number of shipments that were successfully purchased\").nullable(),\n}).passthrough().describe(\"Model for batch operation results counts.\");\nconst ShippoGetMerchantBatch_BatchShipmentItemSchema = z.record(z.string(), z.unknown()).describe(\"Model for a single batch shipment item.\");\nconst ShippoGetMerchantBatch_BatchShipmentsSchema = z.object({\n next: z.string().describe(\"URL for the next page of batch shipment results\").nullable().optional(),\n results: z.array(ShippoGetMerchantBatch_BatchShipmentItemSchema).describe(\"Array of BatchShipment objects in the same order as the request array\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of batch shipment results\").nullable().optional(),\n}).passthrough().describe(\"Model for paginated batch shipments.\");\nexport const ShippoGetMerchantBatchOutput = z.object({\n test: z.boolean().describe(\"Whether this is a test batch\").nullable().optional(),\n status: ShippoGetMerchantBatch_BatchStatusSchema.nullable(),\n metadata: z.string().describe(\"Custom metadata string (up to 100 characters) attached to the batch object\").nullable().optional(),\n label_url: z.array(z.string()).describe(\"Array of URLs each pointing to a merged file of 100 labels each\"),\n object_id: z.string().describe(\"Unique identifier of the batch object\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the batch object\").nullable(),\n label_filetype: ShippoGetMerchantBatch_LabelFileTypeSchema.nullable().optional(),\n object_created: z.string().describe(\"Date and time of batch creation in ISO 8601 format\").nullable(),\n object_results: ShippoGetMerchantBatch_ObjectResultsSchema.nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the batch in ISO 8601 format\").nullable(),\n batch_shipments: ShippoGetMerchantBatch_BatchShipmentsSchema.nullable(),\n default_carrier_account: z.string().describe(\"ID of the carrier account to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n default_servicelevel_token: z.string().describe(\"Service level token to use as the default for all shipments in this batch. Can be overridden per-shipment.\").nullable(),\n}).passthrough().describe(\"Response model for a merchant batch.\");\n\nexport const shippoGetMerchantBatch = action(\"SHIPPO_GET_MERCHANT_BATCH\", {\n slug: \"shippo-get-merchant-batch\",\n name: \"Get Merchant Batch\",\n description: \"Tool to retrieve a batch for a merchant from the Shippo Platform API. Use when you need to get details of an existing batch using merchant and batch IDs.\",\n input: ShippoGetMerchantBatchInput,\n output: ShippoGetMerchantBatchOutput,\n});\n"],"mappings":";;;A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Billing address street line 1.").nullable().optional(),
|
|
30
30
|
billing_address_street2: zod.z.string().describe("Billing address street line 2.").nullable().optional(),
|
|
31
31
|
billing_address_country_iso2: zod.z.string().describe("Billing address country (ISO2 code).").nullable().optional()
|
|
32
|
-
}).describe("Carrier-specific parameters for the account.");
|
|
32
|
+
}).passthrough().describe("Carrier-specific parameters for the account.");
|
|
33
33
|
const ShippoGetMerchantCarrierAccountOutput = zod.z.object({
|
|
34
34
|
test: zod.z.boolean().describe("Indicates whether the carrier account is in test mode.").nullable().optional(),
|
|
35
35
|
active: zod.z.boolean().describe("Indicates whether the carrier account is active.").nullable().optional(),
|
|
@@ -40,7 +40,7 @@ const ShippoGetMerchantCarrierAccountOutput = zod.z.object({
|
|
|
40
40
|
parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),
|
|
41
41
|
object_owner: zod.z.string().describe("Owner of the carrier account object.").nullable().optional(),
|
|
42
42
|
is_shippo_account: zod.z.boolean().describe("Indicates if this is a Shippo-managed carrier account.").nullable().optional()
|
|
43
|
-
}).describe("Response model for a merchant carrier account.");
|
|
43
|
+
}).passthrough().describe("Response model for a merchant carrier account.");
|
|
44
44
|
const shippoGetMerchantCarrierAccount = require_action.action("SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT", {
|
|
45
45
|
slug: "shippo-get-merchant-carrier-account",
|
|
46
46
|
name: "Get Merchant Carrier Account",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-carrier-account.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierAccountInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant whose carrier account to retrieve.\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use.\").optional(),\n}).describe(\"Request model for retrieving a carrier account for a merchant (Platform API).\");\nconst ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema = z.object({\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Mr, Ms, Mrs, Mx).\").nullable().optional(),\n company: z.string().describe(\"Company name. Full name is acceptable if no company name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the account holder.\").nullable().optional(),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address.\").nullable().optional(),\n has_invoice: z.boolean().describe(\"Whether user has been issued an invoice within the required timeframe.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued (yyyymmdd format).\").nullable().optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice value.\").nullable().optional(),\n invoice_value: z.string().describe(\"Invoice value (max 16 digits before decimal, 2 after).\").nullable().optional(),\n account_number: z.string().describe(\"The carrier account number (e.g., UPS account number).\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (ISO2 code).\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true).\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip/postal code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Collection/pickup address country (ISO2 code).\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Billing address street line 1.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Billing address street line 2.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country (ISO2 code).\").nullable().optional(),\n}).describe(\"Carrier-specific parameters for the account.\");\nexport const ShippoGetMerchantCarrierAccountOutput = 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', 'FedEx').\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account ID. Some fields with sensitive data may be masked (e.g., '****').\").nullable().optional(),\n parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of 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}).describe(\"Response model for a merchant carrier account.\");\n\nexport const shippoGetMerchantCarrierAccount = action(\"SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-get-merchant-carrier-account\",\n name: \"Get Merchant Carrier Account\",\n description: \"Tool to retrieve a carrier account for a merchant using the Shippo Platform API. Use when you need to get details about a specific carrier account associated with a merchant on the platform.\",\n input: ShippoGetMerchantCarrierAccountInput,\n output: ShippoGetMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC/F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,O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AC,SAAS;CACtI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"get-merchant-carrier-account.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierAccountInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant whose carrier account to retrieve.\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use.\").optional(),\n}).describe(\"Request model for retrieving a carrier account for a merchant (Platform API).\");\nconst ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema = z.object({\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Mr, Ms, Mrs, Mx).\").nullable().optional(),\n company: z.string().describe(\"Company name. Full name is acceptable if no company name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the account holder.\").nullable().optional(),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address.\").nullable().optional(),\n has_invoice: z.boolean().describe(\"Whether user has been issued an invoice within the required timeframe.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued (yyyymmdd format).\").nullable().optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice value.\").nullable().optional(),\n invoice_value: z.string().describe(\"Invoice value (max 16 digits before decimal, 2 after).\").nullable().optional(),\n account_number: z.string().describe(\"The carrier account number (e.g., UPS account number).\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (ISO2 code).\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true).\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip/postal code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Collection/pickup address country (ISO2 code).\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Billing address street line 1.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Billing address street line 2.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country (ISO2 code).\").nullable().optional(),\n}).passthrough().describe(\"Carrier-specific parameters for the account.\");\nexport const ShippoGetMerchantCarrierAccountOutput = 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', 'FedEx').\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account ID. Some fields with sensitive data may be masked (e.g., '****').\").nullable().optional(),\n parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of 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(\"Response model for a merchant carrier account.\");\n\nexport const shippoGetMerchantCarrierAccount = action(\"SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-get-merchant-carrier-account\",\n name: \"Get Merchant Carrier Account\",\n description: \"Tool to retrieve a carrier account for a merchant using the Shippo Platform API. Use when you need to get details about a specific carrier account associated with a merchant on the platform.\",\n input: ShippoGetMerchantCarrierAccountInput,\n output: ShippoGetMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC/F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,C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A,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,YAAY,+DAA+D,SAAS,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -36,15 +36,27 @@ declare const ShippoGetMerchantCarrierAccountOutput: z.ZodObject<{
|
|
|
36
36
|
billing_address_street1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
billing_address_street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
billing_address_country_iso2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const shippoGetMerchantCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
merchant_id: string;
|
|
45
45
|
carrier_account_id: string;
|
|
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 { shippoGetMerchantCarrierAccount };
|
|
50
62
|
//# sourceMappingURL=get-merchant-carrier-account.d.cts.map
|
|
@@ -36,15 +36,27 @@ declare const ShippoGetMerchantCarrierAccountOutput: z.ZodObject<{
|
|
|
36
36
|
billing_address_street1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
billing_address_street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
billing_address_country_iso2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>>;
|
|
40
40
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const shippoGetMerchantCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
merchant_id: string;
|
|
45
45
|
carrier_account_id: string;
|
|
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 { shippoGetMerchantCarrierAccount };
|
|
50
62
|
//# sourceMappingURL=get-merchant-carrier-account.d.mts.map
|
|
@@ -29,7 +29,7 @@ const ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema = z.object(
|
|
|
29
29
|
billing_address_street1: z.string().describe("Billing address street line 1.").nullable().optional(),
|
|
30
30
|
billing_address_street2: z.string().describe("Billing address street line 2.").nullable().optional(),
|
|
31
31
|
billing_address_country_iso2: z.string().describe("Billing address country (ISO2 code).").nullable().optional()
|
|
32
|
-
}).describe("Carrier-specific parameters for the account.");
|
|
32
|
+
}).passthrough().describe("Carrier-specific parameters for the account.");
|
|
33
33
|
const shippoGetMerchantCarrierAccount = action("SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT", {
|
|
34
34
|
slug: "shippo-get-merchant-carrier-account",
|
|
35
35
|
name: "Get Merchant Carrier Account",
|
|
@@ -45,7 +45,7 @@ const shippoGetMerchantCarrierAccount = action("SHIPPO_GET_MERCHANT_CARRIER_ACCO
|
|
|
45
45
|
parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),
|
|
46
46
|
object_owner: z.string().describe("Owner of the carrier account object.").nullable().optional(),
|
|
47
47
|
is_shippo_account: z.boolean().describe("Indicates if this is a Shippo-managed carrier account.").nullable().optional()
|
|
48
|
-
}).describe("Response model for a merchant carrier account.")
|
|
48
|
+
}).passthrough().describe("Response model for a merchant carrier account.")
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
51
51
|
export { shippoGetMerchantCarrierAccount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-carrier-account.mjs","names":[],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierAccountInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant whose carrier account to retrieve.\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use.\").optional(),\n}).describe(\"Request model for retrieving a carrier account for a merchant (Platform API).\");\nconst ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema = z.object({\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Mr, Ms, Mrs, Mx).\").nullable().optional(),\n company: z.string().describe(\"Company name. Full name is acceptable if no company name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the account holder.\").nullable().optional(),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address.\").nullable().optional(),\n has_invoice: z.boolean().describe(\"Whether user has been issued an invoice within the required timeframe.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued (yyyymmdd format).\").nullable().optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice value.\").nullable().optional(),\n invoice_value: z.string().describe(\"Invoice value (max 16 digits before decimal, 2 after).\").nullable().optional(),\n account_number: z.string().describe(\"The carrier account number (e.g., UPS account number).\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (ISO2 code).\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true).\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip/postal code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Collection/pickup address country (ISO2 code).\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Billing address street line 1.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Billing address street line 2.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country (ISO2 code).\").nullable().optional(),\n}).describe(\"Carrier-specific parameters for the account.\");\nexport const ShippoGetMerchantCarrierAccountOutput = 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', 'FedEx').\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account ID. Some fields with sensitive data may be masked (e.g., '****').\").nullable().optional(),\n parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of 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}).describe(\"Response model for a merchant carrier account.\");\n\nexport const shippoGetMerchantCarrierAccount = action(\"SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-get-merchant-carrier-account\",\n name: \"Get Merchant Carrier Account\",\n description: \"Tool to retrieve a carrier account for a merchant using the Shippo Platform API. Use when you need to get details about a specific carrier account associated with a merchant on the platform.\",\n input: ShippoGetMerchantCarrierAccountInput,\n output: ShippoGetMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,iEAAiE,EAAE,OAAO;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAA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AAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"get-merchant-carrier-account.mjs","names":[],"sources":["../../src/actions/get-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierAccountInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant whose carrier account to retrieve.\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use.\").optional(),\n}).describe(\"Request model for retrieving a carrier account for a merchant (Platform API).\");\nconst ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema = z.object({\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Mr, Ms, Mrs, Mx).\").nullable().optional(),\n company: z.string().describe(\"Company name. Full name is acceptable if no company name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the account holder.\").nullable().optional(),\n collec_zip: z.string().describe(\"Zip code of the collection/pickup address.\").nullable().optional(),\n has_invoice: z.boolean().describe(\"Whether user has been issued an invoice within the required timeframe.\").nullable().optional(),\n invoice_date: z.string().describe(\"Date the invoice was issued (yyyymmdd format).\").nullable().optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice value.\").nullable().optional(),\n invoice_value: z.string().describe(\"Invoice value (max 16 digits before decimal, 2 after).\").nullable().optional(),\n account_number: z.string().describe(\"The carrier account number (e.g., UPS account number).\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number.\").nullable().optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to the UPS terms and conditions.\").nullable().optional(),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (ISO2 code).\").nullable().optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true).\").nullable().optional(),\n billing_address_zip: z.string().describe(\"Billing address zip/postal code.\").nullable().optional(),\n collec_country_iso2: z.string().describe(\"Collection/pickup address country (ISO2 code).\").nullable().optional(),\n billing_address_city: z.string().describe(\"Billing address city.\").nullable().optional(),\n billing_address_state: z.string().describe(\"Billing address state.\").nullable().optional(),\n billing_address_street1: z.string().describe(\"Billing address street line 1.\").nullable().optional(),\n billing_address_street2: z.string().describe(\"Billing address street line 2.\").nullable().optional(),\n billing_address_country_iso2: z.string().describe(\"Billing address country (ISO2 code).\").nullable().optional(),\n}).passthrough().describe(\"Carrier-specific parameters for the account.\");\nexport const ShippoGetMerchantCarrierAccountOutput = 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', 'FedEx').\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account ID. Some fields with sensitive data may be masked (e.g., '****').\").nullable().optional(),\n parameters: ShippoGetMerchantCarrierAccount_CarrierAccountParametersSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of 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(\"Response model for a merchant carrier account.\");\n\nexport const shippoGetMerchantCarrierAccount = action(\"SHIPPO_GET_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-get-merchant-carrier-account\",\n name: \"Get Merchant Carrier Account\",\n description: \"Tool to retrieve a carrier account for a merchant using the Shippo Platform API. Use when you need to get details about a specific carrier account associated with a merchant on the platform.\",\n input: ShippoGetMerchantCarrierAccountInput,\n output: ShippoGetMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,aAAa,EAAE,OAAO,CAAC,CAAC,S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C,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,YAAY,+DAA+D,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ const ShippoGetMerchantCarrierRegistrationStatusOutput = zod.z.object({
|
|
|
16
16
|
object_created: zod.z.string().describe("ISO 8601 timestamp when the carrier account registration was created.").nullable().optional(),
|
|
17
17
|
object_updated: zod.z.string().describe("ISO 8601 timestamp when the carrier account registration was last updated.").nullable().optional(),
|
|
18
18
|
carrier_account: zod.z.string().describe("Unique identifier for the carrier account object if registered.").nullable().optional()
|
|
19
|
-
}).describe("Response schema for merchant carrier registration status.");
|
|
19
|
+
}).passthrough().describe("Response schema for merchant carrier registration status.");
|
|
20
20
|
const shippoGetMerchantCarrierRegistrationStatus = require_action.action("SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS", {
|
|
21
21
|
slug: "shippo-get-merchant-carrier-registration-status",
|
|
22
22
|
name: "Get Merchant Carrier Registration Status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-carrier-registration-status.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-carrier-registration-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierRegistrationStatusInput = z.object({\n carrier: z.enum([\"ups\", \"usps\", \"canada_post\"]).describe(\"The carrier to check registration status for. Must be one of: ups, usps, or canada_post.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the merchant's unique identifier in Shippo's Platform API system.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for retrieving carrier registration status for a merchant.\");\nexport const ShippoGetMerchantCarrierRegistrationStatusOutput = z.object({\n status: z.string().describe(\"Current registration status of the carrier account (e.g., PENDING_TERMS, CONNECTED, DISCONNECTED).\").nullable().optional(),\n object_owner: z.string().describe(\"Email or identifier of the account owner who registered the carrier.\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was last updated.\").nullable().optional(),\n carrier_account: z.string().describe(\"Unique identifier for the carrier account object if registered.\").nullable().optional(),\n}).describe(\"Response schema for merchant carrier registration status.\");\n\nexport const shippoGetMerchantCarrierRegistrationStatus = action(\"SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS\", {\n slug: \"shippo-get-merchant-carrier-registration-status\",\n name: \"Get Merchant Carrier Registration Status\",\n description: \"Tool to retrieve carrier registration status for a specific merchant using Shippo's Platform API. Use when you need to check if a merchant has registered or connected a carrier account.\",\n input: ShippoGetMerchantCarrierRegistrationStatusInput,\n output: ShippoGetMerchantCarrierRegistrationStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAa,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACvI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"get-merchant-carrier-registration-status.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-carrier-registration-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierRegistrationStatusInput = z.object({\n carrier: z.enum([\"ups\", \"usps\", \"canada_post\"]).describe(\"The carrier to check registration status for. Must be one of: ups, usps, or canada_post.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the merchant's unique identifier in Shippo's Platform API system.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for retrieving carrier registration status for a merchant.\");\nexport const ShippoGetMerchantCarrierRegistrationStatusOutput = z.object({\n status: z.string().describe(\"Current registration status of the carrier account (e.g., PENDING_TERMS, CONNECTED, DISCONNECTED).\").nullable().optional(),\n object_owner: z.string().describe(\"Email or identifier of the account owner who registered the carrier.\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was last updated.\").nullable().optional(),\n carrier_account: z.string().describe(\"Unique identifier for the carrier account object if registered.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for merchant carrier registration status.\");\n\nexport const shippoGetMerchantCarrierRegistrationStatus = action(\"SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS\", {\n slug: \"shippo-get-merchant-carrier-registration-status\",\n name: \"Get Merchant Carrier Registration Status\",\n description: \"Tool to retrieve carrier registration status for a specific merchant using Shippo's Platform API. Use when you need to check if a merchant has registered or connected a carrier account.\",\n input: ShippoGetMerchantCarrierRegistrationStatusInput,\n output: ShippoGetMerchantCarrierRegistrationStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAa,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACvI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,12 +16,24 @@ declare const ShippoGetMerchantCarrierRegistrationStatusOutput: z.ZodObject<{
|
|
|
16
16
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
carrier_account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const shippoGetMerchantCarrierRegistrationStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
carrier: "ups" | "usps" | "canada_post";
|
|
22
22
|
merchant_id: string;
|
|
23
23
|
"SHIPPO-API-VERSION"?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
accessToken: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>, 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>>]>;
|
|
25
37
|
//#endregion
|
|
26
38
|
export { shippoGetMerchantCarrierRegistrationStatus };
|
|
27
39
|
//# sourceMappingURL=get-merchant-carrier-registration-status.d.cts.map
|
|
@@ -16,12 +16,24 @@ declare const ShippoGetMerchantCarrierRegistrationStatusOutput: z.ZodObject<{
|
|
|
16
16
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
carrier_account: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const shippoGetMerchantCarrierRegistrationStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
carrier: "ups" | "usps" | "canada_post";
|
|
22
22
|
merchant_id: string;
|
|
23
23
|
"SHIPPO-API-VERSION"?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
accessToken: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>, 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>>]>;
|
|
25
37
|
//#endregion
|
|
26
38
|
export { shippoGetMerchantCarrierRegistrationStatus };
|
|
27
39
|
//# sourceMappingURL=get-merchant-carrier-registration-status.d.mts.map
|
|
@@ -19,7 +19,7 @@ const shippoGetMerchantCarrierRegistrationStatus = action("SHIPPO_GET_MERCHANT_C
|
|
|
19
19
|
object_created: z.string().describe("ISO 8601 timestamp when the carrier account registration was created.").nullable().optional(),
|
|
20
20
|
object_updated: z.string().describe("ISO 8601 timestamp when the carrier account registration was last updated.").nullable().optional(),
|
|
21
21
|
carrier_account: z.string().describe("Unique identifier for the carrier account object if registered.").nullable().optional()
|
|
22
|
-
}).describe("Response schema for merchant carrier registration status.")
|
|
22
|
+
}).passthrough().describe("Response schema for merchant carrier registration status.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { shippoGetMerchantCarrierRegistrationStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-carrier-registration-status.mjs","names":[],"sources":["../../src/actions/get-merchant-carrier-registration-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierRegistrationStatusInput = z.object({\n carrier: z.enum([\"ups\", \"usps\", \"canada_post\"]).describe(\"The carrier to check registration status for. Must be one of: ups, usps, or canada_post.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the merchant's unique identifier in Shippo's Platform API system.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for retrieving carrier registration status for a merchant.\");\nexport const ShippoGetMerchantCarrierRegistrationStatusOutput = z.object({\n status: z.string().describe(\"Current registration status of the carrier account (e.g., PENDING_TERMS, CONNECTED, DISCONNECTED).\").nullable().optional(),\n object_owner: z.string().describe(\"Email or identifier of the account owner who registered the carrier.\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was last updated.\").nullable().optional(),\n carrier_account: z.string().describe(\"Unique identifier for the carrier account object if registered.\").nullable().optional(),\n}).describe(\"Response schema for merchant carrier registration status.\");\n\nexport const shippoGetMerchantCarrierRegistrationStatus = action(\"SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS\", {\n slug: \"shippo-get-merchant-carrier-registration-status\",\n name: \"Get Merchant Carrier Registration Status\",\n description: \"Tool to retrieve carrier registration status for a specific merchant using Shippo's Platform API. Use when you need to check if a merchant has registered or connected a carrier account.\",\n input: ShippoGetMerchantCarrierRegistrationStatusInput,\n output: ShippoGetMerchantCarrierRegistrationStatusOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6D,EAAE,OAAO;EACtE,SAAS,EAAE,KAAK;GAAC;GAAO;GAAQ;EAAa,CAAC,CAAC,CAAC,SAAS,0FAA0F;EACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;EACvI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,+EAaH;CACP,QAb8D,EAAE,OAAO;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-merchant-carrier-registration-status.mjs","names":[],"sources":["../../src/actions/get-merchant-carrier-registration-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCarrierRegistrationStatusInput = z.object({\n carrier: z.enum([\"ups\", \"usps\", \"canada_post\"]).describe(\"The carrier to check registration status for. Must be one of: ups, usps, or canada_post.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant. This is the merchant's unique identifier in Shippo's Platform API system.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for retrieving carrier registration status for a merchant.\");\nexport const ShippoGetMerchantCarrierRegistrationStatusOutput = z.object({\n status: z.string().describe(\"Current registration status of the carrier account (e.g., PENDING_TERMS, CONNECTED, DISCONNECTED).\").nullable().optional(),\n object_owner: z.string().describe(\"Email or identifier of the account owner who registered the carrier.\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the carrier account registration was last updated.\").nullable().optional(),\n carrier_account: z.string().describe(\"Unique identifier for the carrier account object if registered.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for merchant carrier registration status.\");\n\nexport const shippoGetMerchantCarrierRegistrationStatus = action(\"SHIPPO_GET_MERCHANT_CARRIER_REGISTRATION_STATUS\", {\n slug: \"shippo-get-merchant-carrier-registration-status\",\n name: \"Get Merchant Carrier Registration Status\",\n description: \"Tool to retrieve carrier registration status for a specific merchant using Shippo's Platform API. Use when you need to check if a merchant has registered or connected a carrier account.\",\n input: ShippoGetMerchantCarrierRegistrationStatusInput,\n output: ShippoGetMerchantCarrierRegistrationStatusOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6D,EAAE,OAAO;EACtE,SAAS,EAAE,KAAK;GAAC;GAAO;GAAQ;EAAa,CAAC,CAAC,CAAC,SAAS,0FAA0F;EACnJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;EACvI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,+EAaH;CACP,QAb8D,EAAE,OAAO;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -34,7 +34,7 @@ const ShippoGetMerchantCustomsDeclarationOutput = zod.z.object({
|
|
|
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 to return to sender, ABANDON to dispose)").nullable().optional(),
|
|
36
36
|
contents_explanation: zod.z.string().describe("Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.").nullable().optional()
|
|
37
|
-
}).describe("Response schema for the retrieved merchant customs declaration.");
|
|
37
|
+
}).passthrough().describe("Response schema for the retrieved merchant customs declaration.");
|
|
38
38
|
const shippoGetMerchantCustomsDeclaration = require_action.action("SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION", {
|
|
39
39
|
slug: "shippo-get-merchant-customs-declaration",
|
|
40
40
|
name: "Get Merchant Customs Declaration",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-customs-declaration.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = 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 item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").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). Must be provided if and only if b13a_filing_option is provided.\").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 customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").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 when the customs declaration was last updated\").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 to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACzK,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAClJ,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AACpK,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,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,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,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AC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;
|
|
1
|
+
{"version":3,"file":"get-merchant-customs-declaration.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = 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 item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").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). Must be provided if and only if b13a_filing_option is provided.\").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 customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").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 when the customs declaration was last updated\").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 to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACzK,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAClJ,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AACpK,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+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AC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -34,13 +34,25 @@ declare const ShippoGetMerchantCustomsDeclarationOutput: z.ZodObject<{
|
|
|
34
34
|
importer_reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
non_delivery_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
contents_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>;
|
|
38
38
|
declare const shippoGetMerchantCustomsDeclaration: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
39
|
merchant_id: string;
|
|
40
40
|
customs_declaration_id: string;
|
|
41
41
|
page?: number | undefined;
|
|
42
42
|
shippo_api_version?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
43
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
44
|
+
connectionId: z.ZodString;
|
|
45
|
+
entityId: z.ZodString;
|
|
46
|
+
instanceId: z.ZodString;
|
|
47
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
+
accessToken: z.ZodString;
|
|
49
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
50
|
+
connectionId: z.ZodString;
|
|
51
|
+
entityId: z.ZodString;
|
|
52
|
+
instanceId: z.ZodString;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
accessToken: z.ZodString;
|
|
55
|
+
}, z.core.$strip>>]>;
|
|
44
56
|
//#endregion
|
|
45
57
|
export { shippoGetMerchantCustomsDeclaration };
|
|
46
58
|
//# sourceMappingURL=get-merchant-customs-declaration.d.cts.map
|
|
@@ -34,13 +34,25 @@ declare const ShippoGetMerchantCustomsDeclarationOutput: z.ZodObject<{
|
|
|
34
34
|
importer_reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
non_delivery_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
contents_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>;
|
|
38
38
|
declare const shippoGetMerchantCustomsDeclaration: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
39
|
merchant_id: string;
|
|
40
40
|
customs_declaration_id: string;
|
|
41
41
|
page?: number | undefined;
|
|
42
42
|
shippo_api_version?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
43
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
44
|
+
connectionId: z.ZodString;
|
|
45
|
+
entityId: z.ZodString;
|
|
46
|
+
instanceId: z.ZodString;
|
|
47
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
+
accessToken: z.ZodString;
|
|
49
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
50
|
+
connectionId: z.ZodString;
|
|
51
|
+
entityId: z.ZodString;
|
|
52
|
+
instanceId: z.ZodString;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
accessToken: z.ZodString;
|
|
55
|
+
}, z.core.$strip>>]>;
|
|
44
56
|
//#endregion
|
|
45
57
|
export { shippoGetMerchantCustomsDeclaration };
|
|
46
58
|
//# sourceMappingURL=get-merchant-customs-declaration.d.mts.map
|
|
@@ -37,7 +37,7 @@ const shippoGetMerchantCustomsDeclaration = action("SHIPPO_GET_MERCHANT_CUSTOMS_
|
|
|
37
37
|
importer_reference: z.string().describe("Importer reference of an import shipment").nullable().optional(),
|
|
38
38
|
non_delivery_option: z.string().describe("Action to take if delivery fails (e.g., RETURN to return to sender, ABANDON to dispose)").nullable().optional(),
|
|
39
39
|
contents_explanation: z.string().describe("Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.").nullable().optional()
|
|
40
|
-
}).describe("Response schema for the retrieved merchant customs declaration.")
|
|
40
|
+
}).passthrough().describe("Response schema for the retrieved merchant customs declaration.")
|
|
41
41
|
});
|
|
42
42
|
//#endregion
|
|
43
43
|
export { shippoGetMerchantCustomsDeclaration };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-customs-declaration.mjs","names":[],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = 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 item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").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). Must be provided if and only if b13a_filing_option is provided.\").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 customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").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 when the customs declaration was last updated\").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 to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":";;AAuCA,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvCsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;EACzK,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAClJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;CACpK,CAAC,CAAC,CAAC,SAAS,8FAkCH;CACP,QAlCuD,EAAE,OAAO;EAChE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS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K,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,oBAAoB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-merchant-customs-declaration.mjs","names":[],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = 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 item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").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). Must be provided if and only if b13a_filing_option is provided.\").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 customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").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 when the customs declaration was last updated\").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 to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":";;AAuCA,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvCsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;EACzK,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAClJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;CACpK,CAAC,CAAC,CAAC,SAAS,8FAkCH;CACP,QAlCuD,EAAE,OAAO;EAChE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC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,CAAC,CAAC,SAAS;EAClH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7J,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,oBAAoB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
|
|
@@ -25,7 +25,7 @@ const ShippoGetMerchantCustomsItemOutput = zod.z.object({
|
|
|
25
25
|
object_updated: zod.z.string().describe("ISO 8601 timestamp when the customs item object was last updated").nullable().optional(),
|
|
26
26
|
origin_country: zod.z.string().describe("ISO country code where the item originated (e.g., 'US', 'CN')").nullable(),
|
|
27
27
|
value_currency: zod.z.string().describe("Currency code for the value amount (e.g., 'USD', 'EUR')").nullable()
|
|
28
|
-
}).describe("Response schema for retrieving a merchant customs item.");
|
|
28
|
+
}).passthrough().describe("Response schema for retrieving a merchant customs item.");
|
|
29
29
|
const shippoGetMerchantCustomsItem = require_action.action("SHIPPO_GET_MERCHANT_CUSTOMS_ITEM", {
|
|
30
30
|
slug: "shippo-get-merchant-customs-item",
|
|
31
31
|
name: "Get Merchant Customs Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-customs-item.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsItemInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs item you want to retrieve\"),\n customs_item_id: z.string().describe(\"Object ID of the customs item to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for retrieving a merchant customs item.\");\nexport const ShippoGetMerchantCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Whether this customs item was created in test mode\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored as a string\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item being shipped\").nullable(),\n sku_code: z.string().describe(\"Stock Keeping Unit (SKU) code for the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight (e.g., 'g', 'kg', 'lb', 'oz')\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this customs item object\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item\").nullable(),\n description: z.string().describe(\"Description of the item for customs purposes\").nullable(),\n object_owner: z.string().describe(\"Username of the account that owns this customs item\").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(\"Monetary value of the item\").nullable(),\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 object was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs item object was last updated\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code where the item originated (e.g., 'US', 'CN')\").nullable(),\n value_currency: z.string().describe(\"Currency code for the value amount (e.g., 'USD', 'EUR')\").nullable(),\n}).describe(\"Response schema for retrieving a merchant customs item.\");\n\nexport const shippoGetMerchantCustomsItem = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_ITEM\", {\n slug: \"shippo-get-merchant-customs-item\",\n name: \"Get Merchant Customs Item\",\n description: \"Tool to retrieve a customs item for a merchant using the Shippo Platform API. Use when you need to fetch details about a specific customs item for a merchant's international shipments.\",\n input: ShippoGetMerchantCustomsItemInput,\n output: ShippoGetMerchantCustomsItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAChF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACr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C,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC9G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-merchant-customs-item.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsItemInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs item you want to retrieve\"),\n customs_item_id: z.string().describe(\"Object ID of the customs item to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for retrieving a merchant customs item.\");\nexport const ShippoGetMerchantCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Whether this customs item was created in test mode\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored as a string\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item being shipped\").nullable(),\n sku_code: z.string().describe(\"Stock Keeping Unit (SKU) code for the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight (e.g., 'g', 'kg', 'lb', 'oz')\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this customs item object\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item\").nullable(),\n description: z.string().describe(\"Description of the item for customs purposes\").nullable(),\n object_owner: z.string().describe(\"Username of the account that owns this customs item\").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(\"Monetary value of the item\").nullable(),\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 object was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs item object was last updated\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code where the item originated (e.g., 'US', 'CN')\").nullable(),\n value_currency: z.string().describe(\"Currency code for the value amount (e.g., 'USD', 'EUR')\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a merchant customs item.\");\n\nexport const shippoGetMerchantCustomsItem = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_ITEM\", {\n slug: \"shippo-get-merchant-customs-item\",\n name: \"Get Merchant Customs Item\",\n description: \"Tool to retrieve a customs item for a merchant using the Shippo Platform API. Use when you need to fetch details about a specific customs item for a merchant's international shipments.\",\n input: ShippoGetMerchantCustomsItemInput,\n output: ShippoGetMerchantCustomsItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAChF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IA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AAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,13 +25,25 @@ declare const ShippoGetMerchantCustomsItemOutput: z.ZodObject<{
|
|
|
25
25
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
origin_country: z.ZodNullable<z.ZodString>;
|
|
27
27
|
value_currency: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const shippoGetMerchantCustomsItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
merchant_id: string;
|
|
31
31
|
customs_item_id: string;
|
|
32
32
|
page?: number | undefined;
|
|
33
33
|
shippo_api_version?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
accessToken: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
41
|
+
connectionId: z.ZodString;
|
|
42
|
+
entityId: z.ZodString;
|
|
43
|
+
instanceId: z.ZodString;
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
+
accessToken: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>]>;
|
|
35
47
|
//#endregion
|
|
36
48
|
export { shippoGetMerchantCustomsItem };
|
|
37
49
|
//# sourceMappingURL=get-merchant-customs-item.d.cts.map
|
|
@@ -25,13 +25,25 @@ declare const ShippoGetMerchantCustomsItemOutput: z.ZodObject<{
|
|
|
25
25
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
origin_country: z.ZodNullable<z.ZodString>;
|
|
27
27
|
value_currency: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const shippoGetMerchantCustomsItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
merchant_id: string;
|
|
31
31
|
customs_item_id: string;
|
|
32
32
|
page?: number | undefined;
|
|
33
33
|
shippo_api_version?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
accessToken: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
41
|
+
connectionId: z.ZodString;
|
|
42
|
+
entityId: z.ZodString;
|
|
43
|
+
instanceId: z.ZodString;
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
+
accessToken: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>]>;
|
|
35
47
|
//#endregion
|
|
36
48
|
export { shippoGetMerchantCustomsItem };
|
|
37
49
|
//# sourceMappingURL=get-merchant-customs-item.d.mts.map
|