@keystrokehq/shippo 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-address.cjs +3 -3
- package/dist/actions/create-address.cjs.map +1 -1
- package/dist/actions/create-address.d.cts +3 -3
- package/dist/actions/create-address.d.mts +3 -3
- package/dist/actions/create-address.mjs +3 -3
- package/dist/actions/create-address.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +4 -4
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +6 -4
- package/dist/actions/create-batch.d.mts +6 -4
- package/dist/actions/create-batch.mjs +4 -4
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-carrier-account.cjs +2 -2
- package/dist/actions/create-carrier-account.cjs.map +1 -1
- package/dist/actions/create-carrier-account.d.cts +2 -2
- package/dist/actions/create-carrier-account.d.mts +2 -2
- package/dist/actions/create-carrier-account.mjs +2 -2
- package/dist/actions/create-carrier-account.mjs.map +1 -1
- package/dist/actions/create-customs-item.cjs +1 -1
- package/dist/actions/create-customs-item.cjs.map +1 -1
- package/dist/actions/create-customs-item.d.cts +1 -1
- package/dist/actions/create-customs-item.d.mts +1 -1
- package/dist/actions/create-customs-item.mjs +1 -1
- package/dist/actions/create-customs-item.mjs.map +1 -1
- package/dist/actions/create-live-rate.cjs +6 -6
- package/dist/actions/create-live-rate.cjs.map +1 -1
- package/dist/actions/create-live-rate.d.cts +10 -6
- package/dist/actions/create-live-rate.d.mts +10 -6
- package/dist/actions/create-live-rate.mjs +6 -6
- package/dist/actions/create-live-rate.mjs.map +1 -1
- package/dist/actions/create-manifest.cjs +2 -2
- package/dist/actions/create-manifest.cjs.map +1 -1
- package/dist/actions/create-manifest.d.cts +2 -2
- package/dist/actions/create-manifest.d.mts +2 -2
- package/dist/actions/create-manifest.mjs +2 -2
- package/dist/actions/create-manifest.mjs.map +1 -1
- package/dist/actions/create-merchant-address.cjs +3 -3
- package/dist/actions/create-merchant-address.cjs.map +1 -1
- package/dist/actions/create-merchant-address.d.cts +3 -3
- package/dist/actions/create-merchant-address.d.mts +3 -3
- package/dist/actions/create-merchant-address.mjs +3 -3
- package/dist/actions/create-merchant-address.mjs.map +1 -1
- package/dist/actions/create-merchant-batch.cjs +6 -6
- package/dist/actions/create-merchant-batch.cjs.map +1 -1
- package/dist/actions/create-merchant-batch.d.cts +9 -8
- package/dist/actions/create-merchant-batch.d.mts +9 -8
- package/dist/actions/create-merchant-batch.mjs +6 -6
- package/dist/actions/create-merchant-batch.mjs.map +1 -1
- package/dist/actions/create-merchant-carrier-account.cjs +2 -2
- package/dist/actions/create-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/create-merchant-carrier-account.d.cts +2 -2
- package/dist/actions/create-merchant-carrier-account.d.mts +2 -2
- package/dist/actions/create-merchant-carrier-account.mjs +2 -2
- package/dist/actions/create-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.cjs +2 -2
- package/dist/actions/create-merchant-customs-declaration.cjs.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.d.cts +4 -3
- package/dist/actions/create-merchant-customs-declaration.d.mts +4 -3
- package/dist/actions/create-merchant-customs-declaration.mjs +2 -2
- package/dist/actions/create-merchant-customs-declaration.mjs.map +1 -1
- package/dist/actions/create-merchant-customs-item.cjs +1 -1
- package/dist/actions/create-merchant-customs-item.cjs.map +1 -1
- package/dist/actions/create-merchant-customs-item.d.cts +2 -2
- package/dist/actions/create-merchant-customs-item.d.mts +2 -2
- package/dist/actions/create-merchant-customs-item.mjs +1 -1
- package/dist/actions/create-merchant-customs-item.mjs.map +1 -1
- package/dist/actions/create-merchant-order.cjs +4 -4
- package/dist/actions/create-merchant-order.cjs.map +1 -1
- package/dist/actions/create-merchant-order.d.cts +6 -5
- package/dist/actions/create-merchant-order.d.mts +6 -5
- package/dist/actions/create-merchant-order.mjs +4 -4
- package/dist/actions/create-merchant-order.mjs.map +1 -1
- package/dist/actions/create-merchant-parcel.cjs +4 -4
- package/dist/actions/create-merchant-parcel.cjs.map +1 -1
- package/dist/actions/create-merchant-parcel.d.cts +6 -6
- package/dist/actions/create-merchant-parcel.d.mts +6 -6
- package/dist/actions/create-merchant-parcel.mjs +4 -4
- package/dist/actions/create-merchant-parcel.mjs.map +1 -1
- package/dist/actions/create-merchant-refund.cjs +1 -1
- package/dist/actions/create-merchant-refund.cjs.map +1 -1
- package/dist/actions/create-merchant-refund.d.cts +1 -1
- package/dist/actions/create-merchant-refund.d.mts +1 -1
- package/dist/actions/create-merchant-refund.mjs +1 -1
- package/dist/actions/create-merchant-refund.mjs.map +1 -1
- package/dist/actions/create-merchant-shipment.cjs +14 -14
- package/dist/actions/create-merchant-shipment.cjs.map +1 -1
- package/dist/actions/create-merchant-shipment.d.cts +21 -20
- package/dist/actions/create-merchant-shipment.d.mts +21 -20
- package/dist/actions/create-merchant-shipment.mjs +14 -14
- package/dist/actions/create-merchant-shipment.mjs.map +1 -1
- package/dist/actions/create-merchant-transaction.cjs +2 -2
- package/dist/actions/create-merchant-transaction.cjs.map +1 -1
- package/dist/actions/create-merchant-transaction.d.cts +3 -3
- package/dist/actions/create-merchant-transaction.d.mts +3 -3
- package/dist/actions/create-merchant-transaction.mjs +2 -2
- package/dist/actions/create-merchant-transaction.mjs.map +1 -1
- package/dist/actions/create-order.cjs +4 -4
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +6 -5
- package/dist/actions/create-order.d.mts +6 -5
- package/dist/actions/create-order.mjs +4 -4
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/create-parcel.cjs +4 -4
- package/dist/actions/create-parcel.cjs.map +1 -1
- package/dist/actions/create-parcel.d.cts +6 -6
- package/dist/actions/create-parcel.d.mts +6 -6
- package/dist/actions/create-parcel.mjs +4 -4
- package/dist/actions/create-parcel.mjs.map +1 -1
- package/dist/actions/create-refund.cjs +1 -1
- package/dist/actions/create-refund.cjs.map +1 -1
- package/dist/actions/create-refund.d.cts +1 -1
- package/dist/actions/create-refund.d.mts +1 -1
- package/dist/actions/create-refund.mjs +1 -1
- package/dist/actions/create-refund.mjs.map +1 -1
- package/dist/actions/create-service-group.cjs +3 -3
- package/dist/actions/create-service-group.cjs.map +1 -1
- package/dist/actions/create-service-group.d.cts +4 -3
- package/dist/actions/create-service-group.d.mts +4 -3
- package/dist/actions/create-service-group.mjs +3 -3
- package/dist/actions/create-service-group.mjs.map +1 -1
- package/dist/actions/create-shipment.cjs +10 -10
- package/dist/actions/create-shipment.cjs.map +1 -1
- package/dist/actions/create-shipment.d.cts +18 -17
- package/dist/actions/create-shipment.d.cts.map +1 -1
- package/dist/actions/create-shipment.d.mts +18 -17
- package/dist/actions/create-shipment.d.mts.map +1 -1
- package/dist/actions/create-shipment.mjs +10 -10
- package/dist/actions/create-shipment.mjs.map +1 -1
- package/dist/actions/create-track.cjs +5 -5
- package/dist/actions/create-track.cjs.map +1 -1
- package/dist/actions/create-track.d.cts +8 -8
- package/dist/actions/create-track.d.mts +8 -8
- package/dist/actions/create-track.mjs +5 -5
- package/dist/actions/create-track.mjs.map +1 -1
- package/dist/actions/create-transaction.cjs +3 -3
- package/dist/actions/create-transaction.cjs.map +1 -1
- package/dist/actions/create-transaction.d.cts +5 -5
- package/dist/actions/create-transaction.d.mts +5 -5
- package/dist/actions/create-transaction.mjs +3 -3
- package/dist/actions/create-transaction.mjs.map +1 -1
- package/dist/actions/create-user-parcel-template.cjs +2 -2
- package/dist/actions/create-user-parcel-template.cjs.map +1 -1
- package/dist/actions/create-user-parcel-template.d.cts +2 -2
- package/dist/actions/create-user-parcel-template.d.mts +2 -2
- package/dist/actions/create-user-parcel-template.mjs +2 -2
- package/dist/actions/create-user-parcel-template.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -1
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +5 -5
- package/dist/actions/create-webhook.d.mts +5 -5
- package/dist/actions/create-webhook.mjs +1 -1
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-default-parcel-template.cjs +1 -1
- package/dist/actions/delete-default-parcel-template.cjs.map +1 -1
- package/dist/actions/delete-default-parcel-template.d.cts +1 -1
- package/dist/actions/delete-default-parcel-template.d.mts +1 -1
- package/dist/actions/delete-default-parcel-template.mjs +1 -1
- package/dist/actions/delete-default-parcel-template.mjs.map +1 -1
- package/dist/actions/delete-user-parcel-template.cjs +1 -1
- package/dist/actions/delete-user-parcel-template.cjs.map +1 -1
- package/dist/actions/delete-user-parcel-template.d.cts +1 -1
- package/dist/actions/delete-user-parcel-template.d.mts +1 -1
- package/dist/actions/delete-user-parcel-template.mjs +1 -1
- package/dist/actions/delete-user-parcel-template.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-address.cjs +3 -3
- package/dist/actions/get-address.cjs.map +1 -1
- package/dist/actions/get-address.d.cts +3 -3
- package/dist/actions/get-address.d.mts +3 -3
- package/dist/actions/get-address.mjs +3 -3
- package/dist/actions/get-address.mjs.map +1 -1
- package/dist/actions/get-carrier-account.cjs +2 -2
- package/dist/actions/get-carrier-account.cjs.map +1 -1
- package/dist/actions/get-carrier-account.d.cts +2 -2
- package/dist/actions/get-carrier-account.d.mts +2 -2
- package/dist/actions/get-carrier-account.mjs +2 -2
- package/dist/actions/get-carrier-account.mjs.map +1 -1
- package/dist/actions/get-carrier-parcel-template.cjs +1 -1
- package/dist/actions/get-carrier-parcel-template.cjs.map +1 -1
- package/dist/actions/get-carrier-parcel-template.d.cts +2 -2
- package/dist/actions/get-carrier-parcel-template.d.mts +2 -2
- package/dist/actions/get-carrier-parcel-template.mjs +1 -1
- package/dist/actions/get-carrier-parcel-template.mjs.map +1 -1
- package/dist/actions/get-carrier-registration-status.cjs +1 -1
- package/dist/actions/get-carrier-registration-status.cjs.map +1 -1
- package/dist/actions/get-carrier-registration-status.d.cts +1 -1
- package/dist/actions/get-carrier-registration-status.d.mts +1 -1
- package/dist/actions/get-carrier-registration-status.mjs +1 -1
- package/dist/actions/get-carrier-registration-status.mjs.map +1 -1
- package/dist/actions/get-customs-declaration.cjs +4 -4
- package/dist/actions/get-customs-declaration.cjs.map +1 -1
- package/dist/actions/get-customs-declaration.d.cts +4 -4
- package/dist/actions/get-customs-declaration.d.mts +4 -4
- package/dist/actions/get-customs-declaration.mjs +4 -4
- package/dist/actions/get-customs-declaration.mjs.map +1 -1
- package/dist/actions/get-customs-item.cjs +1 -1
- package/dist/actions/get-customs-item.cjs.map +1 -1
- package/dist/actions/get-customs-item.d.cts +1 -1
- package/dist/actions/get-customs-item.d.mts +1 -1
- package/dist/actions/get-customs-item.mjs +1 -1
- package/dist/actions/get-customs-item.mjs.map +1 -1
- package/dist/actions/get-default-parcel-template.cjs +2 -2
- package/dist/actions/get-default-parcel-template.cjs.map +1 -1
- package/dist/actions/get-default-parcel-template.d.cts +2 -2
- package/dist/actions/get-default-parcel-template.d.mts +2 -2
- package/dist/actions/get-default-parcel-template.mjs +2 -2
- package/dist/actions/get-default-parcel-template.mjs.map +1 -1
- package/dist/actions/get-merchant-address.cjs +3 -3
- package/dist/actions/get-merchant-address.cjs.map +1 -1
- package/dist/actions/get-merchant-address.d.cts +3 -3
- package/dist/actions/get-merchant-address.d.mts +3 -3
- package/dist/actions/get-merchant-address.mjs +3 -3
- package/dist/actions/get-merchant-address.mjs.map +1 -1
- package/dist/actions/get-merchant-batch.cjs +3 -3
- package/dist/actions/get-merchant-batch.cjs.map +1 -1
- package/dist/actions/get-merchant-batch.d.cts +5 -5
- package/dist/actions/get-merchant-batch.d.mts +5 -5
- package/dist/actions/get-merchant-batch.mjs +3 -3
- package/dist/actions/get-merchant-batch.mjs.map +1 -1
- package/dist/actions/get-merchant-carrier-account.cjs +2 -2
- package/dist/actions/get-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/get-merchant-carrier-account.d.cts +2 -2
- package/dist/actions/get-merchant-carrier-account.d.mts +2 -2
- package/dist/actions/get-merchant-carrier-account.mjs +2 -2
- package/dist/actions/get-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.cjs +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.cjs.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.d.cts +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.d.mts +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.mjs +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.mjs.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.cjs +1 -1
- package/dist/actions/get-merchant-customs-declaration.cjs.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.d.cts +1 -1
- package/dist/actions/get-merchant-customs-declaration.d.mts +1 -1
- package/dist/actions/get-merchant-customs-declaration.mjs +1 -1
- package/dist/actions/get-merchant-customs-declaration.mjs.map +1 -1
- package/dist/actions/get-merchant-customs-item.cjs +1 -1
- package/dist/actions/get-merchant-customs-item.cjs.map +1 -1
- package/dist/actions/get-merchant-customs-item.d.cts +1 -1
- package/dist/actions/get-merchant-customs-item.d.mts +1 -1
- package/dist/actions/get-merchant-customs-item.mjs +1 -1
- package/dist/actions/get-merchant-customs-item.mjs.map +1 -1
- package/dist/actions/get-merchant-manifest.cjs +1 -1
- package/dist/actions/get-merchant-manifest.cjs.map +1 -1
- package/dist/actions/get-merchant-manifest.d.cts +1 -1
- package/dist/actions/get-merchant-manifest.d.mts +1 -1
- package/dist/actions/get-merchant-manifest.mjs +1 -1
- package/dist/actions/get-merchant-manifest.mjs.map +1 -1
- package/dist/actions/get-merchant-order.cjs +3 -3
- package/dist/actions/get-merchant-order.cjs.map +1 -1
- package/dist/actions/get-merchant-order.d.cts +4 -4
- package/dist/actions/get-merchant-order.d.mts +4 -4
- package/dist/actions/get-merchant-order.mjs +3 -3
- package/dist/actions/get-merchant-order.mjs.map +1 -1
- package/dist/actions/get-merchant-parcel.cjs +4 -4
- package/dist/actions/get-merchant-parcel.cjs.map +1 -1
- package/dist/actions/get-merchant-parcel.d.cts +4 -4
- package/dist/actions/get-merchant-parcel.d.mts +4 -4
- package/dist/actions/get-merchant-parcel.mjs +4 -4
- package/dist/actions/get-merchant-parcel.mjs.map +1 -1
- package/dist/actions/get-merchant-rate.cjs +3 -3
- package/dist/actions/get-merchant-rate.cjs.map +1 -1
- package/dist/actions/get-merchant-rate.d.cts +3 -3
- package/dist/actions/get-merchant-rate.d.mts +3 -3
- package/dist/actions/get-merchant-rate.mjs +3 -3
- package/dist/actions/get-merchant-rate.mjs.map +1 -1
- package/dist/actions/get-merchant-refund.cjs +1 -1
- package/dist/actions/get-merchant-refund.cjs.map +1 -1
- package/dist/actions/get-merchant-refund.d.cts +1 -1
- package/dist/actions/get-merchant-refund.d.mts +1 -1
- package/dist/actions/get-merchant-refund.mjs +1 -1
- package/dist/actions/get-merchant-refund.mjs.map +1 -1
- package/dist/actions/get-merchant-shipment.cjs +14 -14
- package/dist/actions/get-merchant-shipment.cjs.map +1 -1
- package/dist/actions/get-merchant-shipment.d.cts +19 -19
- package/dist/actions/get-merchant-shipment.d.mts +19 -19
- package/dist/actions/get-merchant-shipment.mjs +14 -14
- package/dist/actions/get-merchant-shipment.mjs.map +1 -1
- package/dist/actions/get-merchant-track.cjs +6 -6
- package/dist/actions/get-merchant-track.cjs.map +1 -1
- package/dist/actions/get-merchant-track.d.cts +8 -8
- package/dist/actions/get-merchant-track.d.mts +8 -8
- package/dist/actions/get-merchant-track.mjs +6 -6
- package/dist/actions/get-merchant-track.mjs.map +1 -1
- package/dist/actions/get-merchant-transaction.cjs +2 -2
- package/dist/actions/get-merchant-transaction.cjs.map +1 -1
- package/dist/actions/get-merchant-transaction.d.cts +3 -3
- package/dist/actions/get-merchant-transaction.d.mts +3 -3
- package/dist/actions/get-merchant-transaction.mjs +2 -2
- package/dist/actions/get-merchant-transaction.mjs.map +1 -1
- package/dist/actions/get-merchant.cjs +1 -1
- package/dist/actions/get-merchant.cjs.map +1 -1
- package/dist/actions/get-merchant.d.cts +1 -1
- package/dist/actions/get-merchant.d.mts +1 -1
- package/dist/actions/get-merchant.mjs +1 -1
- package/dist/actions/get-merchant.mjs.map +1 -1
- package/dist/actions/get-order.cjs +5 -5
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +6 -6
- package/dist/actions/get-order.d.mts +6 -6
- package/dist/actions/get-order.mjs +5 -5
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-parcel.cjs +4 -4
- package/dist/actions/get-parcel.cjs.map +1 -1
- package/dist/actions/get-parcel.d.cts +4 -4
- package/dist/actions/get-parcel.d.mts +4 -4
- package/dist/actions/get-parcel.mjs +4 -4
- package/dist/actions/get-parcel.mjs.map +1 -1
- package/dist/actions/get-rate.cjs +3 -3
- package/dist/actions/get-rate.cjs.map +1 -1
- package/dist/actions/get-rate.d.cts +3 -3
- package/dist/actions/get-rate.d.mts +3 -3
- package/dist/actions/get-rate.mjs +3 -3
- package/dist/actions/get-rate.mjs.map +1 -1
- package/dist/actions/get-refund.cjs +1 -1
- package/dist/actions/get-refund.cjs.map +1 -1
- package/dist/actions/get-refund.d.cts +1 -1
- package/dist/actions/get-refund.d.mts +1 -1
- package/dist/actions/get-refund.mjs +1 -1
- package/dist/actions/get-refund.mjs.map +1 -1
- package/dist/actions/get-shipment.cjs +9 -9
- package/dist/actions/get-shipment.cjs.map +1 -1
- package/dist/actions/get-shipment.d.cts +13 -13
- package/dist/actions/get-shipment.d.mts +13 -13
- package/dist/actions/get-shipment.mjs +9 -9
- package/dist/actions/get-shipment.mjs.map +1 -1
- package/dist/actions/get-shippo-account.cjs +1 -1
- package/dist/actions/get-shippo-account.cjs.map +1 -1
- package/dist/actions/get-shippo-account.d.cts +1 -1
- package/dist/actions/get-shippo-account.d.mts +1 -1
- package/dist/actions/get-shippo-account.mjs +1 -1
- package/dist/actions/get-shippo-account.mjs.map +1 -1
- package/dist/actions/get-track.cjs +6 -6
- package/dist/actions/get-track.cjs.map +1 -1
- package/dist/actions/get-track.d.cts +8 -8
- package/dist/actions/get-track.d.mts +8 -8
- package/dist/actions/get-track.mjs +6 -6
- package/dist/actions/get-track.mjs.map +1 -1
- package/dist/actions/get-transaction.cjs +2 -2
- package/dist/actions/get-transaction.cjs.map +1 -1
- package/dist/actions/get-transaction.d.cts +2 -2
- package/dist/actions/get-transaction.d.mts +2 -2
- package/dist/actions/get-transaction.mjs +2 -2
- package/dist/actions/get-transaction.mjs.map +1 -1
- package/dist/actions/get-user-parcel-template.cjs +2 -2
- package/dist/actions/get-user-parcel-template.cjs.map +1 -1
- package/dist/actions/get-user-parcel-template.d.cts +2 -2
- package/dist/actions/get-user-parcel-template.d.mts +2 -2
- package/dist/actions/get-user-parcel-template.mjs +2 -2
- package/dist/actions/get-user-parcel-template.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -1
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +1 -1
- package/dist/actions/get-webhook.d.mts +1 -1
- package/dist/actions/get-webhook.mjs +1 -1
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-addresses.cjs +4 -4
- package/dist/actions/list-addresses.cjs.map +1 -1
- package/dist/actions/list-addresses.d.cts +4 -4
- package/dist/actions/list-addresses.d.mts +4 -4
- package/dist/actions/list-addresses.mjs +4 -4
- package/dist/actions/list-addresses.mjs.map +1 -1
- package/dist/actions/list-carrier-accounts.cjs +4 -4
- package/dist/actions/list-carrier-accounts.cjs.map +1 -1
- package/dist/actions/list-carrier-accounts.d.cts +4 -4
- package/dist/actions/list-carrier-accounts.d.mts +4 -4
- package/dist/actions/list-carrier-accounts.mjs +4 -4
- package/dist/actions/list-carrier-accounts.mjs.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.cjs +2 -2
- package/dist/actions/list-carrier-parcel-templates.cjs.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.d.cts +3 -3
- package/dist/actions/list-carrier-parcel-templates.d.mts +3 -3
- package/dist/actions/list-carrier-parcel-templates.mjs +2 -2
- package/dist/actions/list-carrier-parcel-templates.mjs.map +1 -1
- package/dist/actions/list-customs-declarations.cjs +7 -7
- package/dist/actions/list-customs-declarations.cjs.map +1 -1
- package/dist/actions/list-customs-declarations.d.cts +7 -7
- package/dist/actions/list-customs-declarations.d.mts +7 -7
- package/dist/actions/list-customs-declarations.mjs +7 -7
- package/dist/actions/list-customs-declarations.mjs.map +1 -1
- package/dist/actions/list-customs-items.cjs +2 -2
- package/dist/actions/list-customs-items.cjs.map +1 -1
- package/dist/actions/list-customs-items.d.cts +2 -2
- package/dist/actions/list-customs-items.d.mts +2 -2
- package/dist/actions/list-customs-items.mjs +2 -2
- package/dist/actions/list-customs-items.mjs.map +1 -1
- package/dist/actions/list-manifests.cjs +2 -2
- package/dist/actions/list-manifests.cjs.map +1 -1
- package/dist/actions/list-manifests.d.cts +2 -2
- package/dist/actions/list-manifests.d.mts +2 -2
- package/dist/actions/list-manifests.mjs +2 -2
- package/dist/actions/list-manifests.mjs.map +1 -1
- package/dist/actions/list-merchant-addresses.cjs +4 -4
- package/dist/actions/list-merchant-addresses.cjs.map +1 -1
- package/dist/actions/list-merchant-addresses.d.cts +4 -4
- package/dist/actions/list-merchant-addresses.d.mts +4 -4
- package/dist/actions/list-merchant-addresses.mjs +4 -4
- package/dist/actions/list-merchant-addresses.mjs.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.cjs +3 -3
- package/dist/actions/list-merchant-carrier-accounts.cjs.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.d.cts +3 -3
- package/dist/actions/list-merchant-carrier-accounts.d.mts +3 -3
- package/dist/actions/list-merchant-carrier-accounts.mjs +3 -3
- package/dist/actions/list-merchant-carrier-accounts.mjs.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.cjs +2 -2
- package/dist/actions/list-merchant-customs-declarations.cjs.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.d.cts +2 -2
- package/dist/actions/list-merchant-customs-declarations.d.mts +2 -2
- package/dist/actions/list-merchant-customs-declarations.mjs +2 -2
- package/dist/actions/list-merchant-customs-declarations.mjs.map +1 -1
- package/dist/actions/list-merchant-customs-items.cjs +2 -2
- package/dist/actions/list-merchant-customs-items.cjs.map +1 -1
- package/dist/actions/list-merchant-customs-items.d.cts +2 -2
- package/dist/actions/list-merchant-customs-items.d.mts +2 -2
- package/dist/actions/list-merchant-customs-items.mjs +2 -2
- package/dist/actions/list-merchant-customs-items.mjs.map +1 -1
- package/dist/actions/list-merchant-manifests.cjs +3 -3
- package/dist/actions/list-merchant-manifests.cjs.map +1 -1
- package/dist/actions/list-merchant-manifests.d.cts +3 -3
- package/dist/actions/list-merchant-manifests.d.mts +3 -3
- package/dist/actions/list-merchant-manifests.mjs +3 -3
- package/dist/actions/list-merchant-manifests.mjs.map +1 -1
- package/dist/actions/list-merchant-parcels.cjs +3 -3
- package/dist/actions/list-merchant-parcels.cjs.map +1 -1
- package/dist/actions/list-merchant-parcels.d.cts +3 -3
- package/dist/actions/list-merchant-parcels.d.mts +3 -3
- package/dist/actions/list-merchant-parcels.mjs +3 -3
- package/dist/actions/list-merchant-parcels.mjs.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.cjs +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.cjs.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.cts +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.mjs +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.mjs.map +1 -1
- package/dist/actions/list-merchant-shipments.cjs +10 -10
- package/dist/actions/list-merchant-shipments.cjs.map +1 -1
- package/dist/actions/list-merchant-shipments.d.cts +13 -13
- package/dist/actions/list-merchant-shipments.d.mts +13 -13
- package/dist/actions/list-merchant-shipments.mjs +10 -10
- package/dist/actions/list-merchant-shipments.mjs.map +1 -1
- package/dist/actions/list-merchant-transactions.cjs +3 -3
- package/dist/actions/list-merchant-transactions.cjs.map +1 -1
- package/dist/actions/list-merchant-transactions.d.cts +3 -3
- package/dist/actions/list-merchant-transactions.d.mts +3 -3
- package/dist/actions/list-merchant-transactions.mjs +3 -3
- package/dist/actions/list-merchant-transactions.mjs.map +1 -1
- package/dist/actions/list-merchants.cjs +2 -2
- package/dist/actions/list-merchants.cjs.map +1 -1
- package/dist/actions/list-merchants.d.cts +2 -2
- package/dist/actions/list-merchants.d.mts +2 -2
- package/dist/actions/list-merchants.mjs +2 -2
- package/dist/actions/list-merchants.mjs.map +1 -1
- package/dist/actions/list-orders.cjs +6 -6
- package/dist/actions/list-orders.cjs.map +1 -1
- package/dist/actions/list-orders.d.cts +7 -7
- package/dist/actions/list-orders.d.mts +7 -7
- package/dist/actions/list-orders.mjs +6 -6
- package/dist/actions/list-orders.mjs.map +1 -1
- package/dist/actions/list-refunds.cjs +2 -2
- package/dist/actions/list-refunds.cjs.map +1 -1
- package/dist/actions/list-refunds.d.cts +2 -2
- package/dist/actions/list-refunds.d.mts +2 -2
- package/dist/actions/list-refunds.mjs +2 -2
- package/dist/actions/list-refunds.mjs.map +1 -1
- package/dist/actions/list-service-groups.cjs +3 -3
- package/dist/actions/list-service-groups.cjs.map +1 -1
- package/dist/actions/list-service-groups.d.cts +3 -3
- package/dist/actions/list-service-groups.d.mts +3 -3
- package/dist/actions/list-service-groups.mjs +3 -3
- package/dist/actions/list-service-groups.mjs.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.cjs +4 -4
- package/dist/actions/list-shipment-rates-by-currency.cjs.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.d.cts +4 -4
- package/dist/actions/list-shipment-rates-by-currency.d.mts +4 -4
- package/dist/actions/list-shipment-rates-by-currency.mjs +4 -4
- package/dist/actions/list-shipment-rates-by-currency.mjs.map +1 -1
- package/dist/actions/list-shipment-rates.cjs +4 -4
- package/dist/actions/list-shipment-rates.cjs.map +1 -1
- package/dist/actions/list-shipment-rates.d.cts +4 -4
- package/dist/actions/list-shipment-rates.d.mts +4 -4
- package/dist/actions/list-shipment-rates.mjs +4 -4
- package/dist/actions/list-shipment-rates.mjs.map +1 -1
- package/dist/actions/list-shipments.cjs +9 -9
- package/dist/actions/list-shipments.cjs.map +1 -1
- package/dist/actions/list-shipments.d.cts +13 -13
- package/dist/actions/list-shipments.d.mts +13 -13
- package/dist/actions/list-shipments.mjs +9 -9
- package/dist/actions/list-shipments.mjs.map +1 -1
- package/dist/actions/list-shippo-accounts.cjs +2 -2
- package/dist/actions/list-shippo-accounts.cjs.map +1 -1
- package/dist/actions/list-shippo-accounts.d.cts +2 -2
- package/dist/actions/list-shippo-accounts.d.mts +2 -2
- package/dist/actions/list-shippo-accounts.mjs +2 -2
- package/dist/actions/list-shippo-accounts.mjs.map +1 -1
- package/dist/actions/list-user-parcel-templates.cjs +3 -3
- package/dist/actions/list-user-parcel-templates.cjs.map +1 -1
- package/dist/actions/list-user-parcel-templates.d.cts +3 -3
- package/dist/actions/list-user-parcel-templates.d.mts +3 -3
- package/dist/actions/list-user-parcel-templates.mjs +3 -3
- package/dist/actions/list-user-parcel-templates.mjs.map +1 -1
- package/dist/actions/purchase-merchant-batch.cjs +4 -4
- package/dist/actions/purchase-merchant-batch.cjs.map +1 -1
- package/dist/actions/purchase-merchant-batch.d.cts +4 -4
- package/dist/actions/purchase-merchant-batch.d.mts +4 -4
- package/dist/actions/purchase-merchant-batch.mjs +4 -4
- package/dist/actions/purchase-merchant-batch.mjs.map +1 -1
- package/dist/actions/remove-shipments-from-batch.cjs +5 -5
- package/dist/actions/remove-shipments-from-batch.cjs.map +1 -1
- package/dist/actions/remove-shipments-from-batch.d.cts +5 -5
- package/dist/actions/remove-shipments-from-batch.d.mts +5 -5
- package/dist/actions/remove-shipments-from-batch.mjs +5 -5
- package/dist/actions/remove-shipments-from-batch.mjs.map +1 -1
- package/dist/actions/update-carrier-account.cjs +3 -3
- package/dist/actions/update-carrier-account.cjs.map +1 -1
- package/dist/actions/update-carrier-account.d.cts +4 -4
- package/dist/actions/update-carrier-account.d.mts +4 -4
- package/dist/actions/update-carrier-account.mjs +3 -3
- package/dist/actions/update-carrier-account.mjs.map +1 -1
- package/dist/actions/update-default-parcel-template.cjs +3 -3
- package/dist/actions/update-default-parcel-template.cjs.map +1 -1
- package/dist/actions/update-default-parcel-template.d.cts +3 -3
- package/dist/actions/update-default-parcel-template.d.mts +3 -3
- package/dist/actions/update-default-parcel-template.mjs +3 -3
- package/dist/actions/update-default-parcel-template.mjs.map +1 -1
- package/dist/actions/update-merchant-carrier-account.cjs +2 -2
- package/dist/actions/update-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/update-merchant-carrier-account.d.cts +2 -2
- package/dist/actions/update-merchant-carrier-account.d.mts +2 -2
- package/dist/actions/update-merchant-carrier-account.mjs +2 -2
- package/dist/actions/update-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/update-merchant.cjs +1 -1
- package/dist/actions/update-merchant.cjs.map +1 -1
- package/dist/actions/update-merchant.d.cts +1 -1
- package/dist/actions/update-merchant.d.mts +1 -1
- package/dist/actions/update-merchant.mjs +1 -1
- package/dist/actions/update-merchant.mjs.map +1 -1
- package/dist/actions/update-service-group.cjs +3 -3
- package/dist/actions/update-service-group.cjs.map +1 -1
- package/dist/actions/update-service-group.d.cts +4 -3
- package/dist/actions/update-service-group.d.mts +4 -3
- package/dist/actions/update-service-group.mjs +3 -3
- package/dist/actions/update-service-group.mjs.map +1 -1
- package/dist/actions/update-user-parcel-template.cjs +2 -2
- package/dist/actions/update-user-parcel-template.cjs.map +1 -1
- package/dist/actions/update-user-parcel-template.d.cts +2 -2
- package/dist/actions/update-user-parcel-template.d.mts +2 -2
- package/dist/actions/update-user-parcel-template.mjs +2 -2
- package/dist/actions/update-user-parcel-template.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -1
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +5 -5
- package/dist/actions/update-webhook.d.mts +5 -5
- package/dist/actions/update-webhook.mjs +1 -1
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/validate-address.cjs +3 -3
- package/dist/actions/validate-address.cjs.map +1 -1
- package/dist/actions/validate-address.d.cts +3 -3
- package/dist/actions/validate-address.d.mts +3 -3
- package/dist/actions/validate-address.mjs +3 -3
- package/dist/actions/validate-address.mjs.map +1 -1
- package/dist/actions/validate-merchant-address.cjs +3 -3
- package/dist/actions/validate-merchant-address.cjs.map +1 -1
- package/dist/actions/validate-merchant-address.d.cts +3 -3
- package/dist/actions/validate-merchant-address.d.mts +3 -3
- package/dist/actions/validate-merchant-address.mjs +3 -3
- package/dist/actions/validate-merchant-address.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-track.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-track.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantTrackInput = z.object({\n carrier: z.string().describe(\"Name of the carrier of the shipment to track. Examples: usps, fedex, ups, dhl_express, shippo. See Shippo documentation for full list of supported carriers.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant whose tracking to retrieve\"),\n tracking_number: z.string().describe(\"Tracking number to track. The format varies by carrier (e.g., USPS: 9205590164917312751089, Shippo test: SHIPPO_DELIVERED).\"),\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 merchant tracking status.\");\nconst ShippoGetMerchantTrack_AddressInfoSchema = z.object({\n zip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n state: z.string().describe(\"State or province code\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n}).describe(\"Model for address information in tracking.\");\nconst ShippoGetMerchantTrack_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the service level, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties. These names vary depending on the provider.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service\").nullable().optional(),\n token: z.string().describe(\"Token of the service level, e.g. 'usps_priority' or 'fedex_ground'. See Shippo documentation for servicelevels.\").nullable().optional(),\n}).describe(\"Model for service level details.\");\nconst ShippoGetMerchantTrack_TrackingLocationSchema = z.object({\n zip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n state: z.string().describe(\"State or province code\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n}).describe(\"Model for tracking event location.\");\nconst ShippoGetMerchantTrack_TrackingStatusSchema = z.object({\n status: z.string().describe(\"Indicates the high level status of the shipment (e.g., DELIVERED, IN_TRANSIT, RETURNED)\").nullable(),\n location: ShippoGetMerchantTrack_TrackingLocationSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the tracking status object\").nullable(),\n status_date: z.string().describe(\"Date and time when the carrier scanned this tracking event. This is displayed in UTC.\").nullable(),\n object_created: z.string().describe(\"Date and time when the tracking status object was created\").nullable(),\n object_updated: z.string().describe(\"Date and time when the tracking status object was last updated\").nullable(),\n status_details: z.string().describe(\"The human-readable description of the status\").nullable(),\n}).describe(\"Model for tracking status details.\");\nconst ShippoGetMerchantTrack_TrackingHistoryEventSchema = z.object({\n status: z.string().describe(\"Status of the shipment at this event\").nullable(),\n location: ShippoGetMerchantTrack_TrackingLocationSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the tracking event\").nullable(),\n status_date: z.string().describe(\"Date and time when the carrier scanned this event\").nullable(),\n object_created: z.string().describe(\"Date and time when the tracking event was created\").nullable(),\n object_updated: z.string().describe(\"Date and time when the tracking event was last updated\").nullable(),\n status_details: z.string().describe(\"Human-readable description of the status\").nullable(),\n}).describe(\"Model for a single tracking history event.\");\nexport const ShippoGetMerchantTrackOutput = z.object({\n eta: z.string().describe(\"The estimated time of arrival according to the carrier, this might be updated by carriers during the life of the shipment.\").nullable().optional(),\n carrier: z.string().describe(\"Name of the carrier of the shipment to track. See Carriers documentation.\").nullable(),\n messages: z.array(z.string()).describe(\"List of messages related to tracking\"),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object.\").nullable().optional(),\n address_to: ShippoGetMerchantTrack_AddressInfoSchema.nullable(),\n transaction: z.string().describe(\"The object_id of the transaction associated with this tracking object. This field is visible only to the object owner of the transaction.\").nullable().optional(),\n address_from: ShippoGetMerchantTrack_AddressInfoSchema.nullable(),\n original_eta: z.string().describe(\"The estimated time of arrival according to the carrier at the time the shipment first entered the system.\").nullable().optional(),\n servicelevel: ShippoGetMerchantTrack_ServiceLevelSchema.nullable(),\n tracking_number: z.string().describe(\"Tracking number to track\").nullable(),\n tracking_status: ShippoGetMerchantTrack_TrackingStatusSchema.nullable(),\n tracking_history: z.array(ShippoGetMerchantTrack_TrackingHistoryEventSchema).describe(\"A list of tracking events, following the same structure as tracking_status. It contains a full history of all tracking statuses, starting with the earlier tracking event first.\"),\n}).describe(\"Response model for merchant tracking status.\");\n\nexport const shippoGetMerchantTrack = action(\"SHIPPO_GET_MERCHANT_TRACK\", {\n slug: \"shippo-get-merchant-track\",\n name: \"Get Merchant Tracking Status\",\n description: \"Tool to retrieve tracking status for a merchant from Shippo Platform API. Use when you need to get the current status, location, and history of a package for a specific merchant using carrier and tracking number.\",\n input: ShippoGetMerchantTrackInput,\n output: ShippoGetMerchantTrackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CAC3L,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CAClK,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"get-merchant-track.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-track.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantTrackInput = z.object({\n carrier: z.string().describe(\"Name of the carrier of the shipment to track. Examples: usps, fedex, ups, dhl_express, shippo. See Shippo documentation for full list of supported carriers.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant whose tracking to retrieve\"),\n tracking_number: z.string().describe(\"Tracking number to track. The format varies by carrier (e.g., USPS: 9205590164917312751089, Shippo test: SHIPPO_DELIVERED).\"),\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 merchant tracking status.\");\nconst ShippoGetMerchantTrack_AddressInfoSchema = z.object({\n zip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n state: z.string().describe(\"State or province code\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n}).passthrough().describe(\"Model for address information in tracking.\");\nconst ShippoGetMerchantTrack_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the service level, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties. These names vary depending on the provider.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service\").nullable().optional(),\n token: z.string().describe(\"Token of the service level, e.g. 'usps_priority' or 'fedex_ground'. See Shippo documentation for servicelevels.\").nullable().optional(),\n}).passthrough().describe(\"Model for service level details.\");\nconst ShippoGetMerchantTrack_TrackingLocationSchema = z.object({\n zip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n state: z.string().describe(\"State or province code\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n}).passthrough().describe(\"Model for tracking event location.\");\nconst ShippoGetMerchantTrack_TrackingStatusSchema = z.object({\n status: z.string().describe(\"Indicates the high level status of the shipment (e.g., DELIVERED, IN_TRANSIT, RETURNED)\").nullable(),\n location: ShippoGetMerchantTrack_TrackingLocationSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the tracking status object\").nullable(),\n status_date: z.string().describe(\"Date and time when the carrier scanned this tracking event. This is displayed in UTC.\").nullable(),\n object_created: z.string().describe(\"Date and time when the tracking status object was created\").nullable(),\n object_updated: z.string().describe(\"Date and time when the tracking status object was last updated\").nullable(),\n status_details: z.string().describe(\"The human-readable description of the status\").nullable(),\n}).passthrough().describe(\"Model for tracking status details.\");\nconst ShippoGetMerchantTrack_TrackingHistoryEventSchema = z.object({\n status: z.string().describe(\"Status of the shipment at this event\").nullable(),\n location: ShippoGetMerchantTrack_TrackingLocationSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the tracking event\").nullable(),\n status_date: z.string().describe(\"Date and time when the carrier scanned this event\").nullable(),\n object_created: z.string().describe(\"Date and time when the tracking event was created\").nullable(),\n object_updated: z.string().describe(\"Date and time when the tracking event was last updated\").nullable(),\n status_details: z.string().describe(\"Human-readable description of the status\").nullable(),\n}).passthrough().describe(\"Model for a single tracking history event.\");\nexport const ShippoGetMerchantTrackOutput = z.object({\n eta: z.string().describe(\"The estimated time of arrival according to the carrier, this might be updated by carriers during the life of the shipment.\").nullable().optional(),\n carrier: z.string().describe(\"Name of the carrier of the shipment to track. See Carriers documentation.\").nullable(),\n messages: z.array(z.string()).describe(\"List of messages related to tracking\"),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object.\").nullable().optional(),\n address_to: ShippoGetMerchantTrack_AddressInfoSchema.nullable(),\n transaction: z.string().describe(\"The object_id of the transaction associated with this tracking object. This field is visible only to the object owner of the transaction.\").nullable().optional(),\n address_from: ShippoGetMerchantTrack_AddressInfoSchema.nullable(),\n original_eta: z.string().describe(\"The estimated time of arrival according to the carrier at the time the shipment first entered the system.\").nullable().optional(),\n servicelevel: ShippoGetMerchantTrack_ServiceLevelSchema.nullable(),\n tracking_number: z.string().describe(\"Tracking number to track\").nullable(),\n tracking_status: ShippoGetMerchantTrack_TrackingStatusSchema.nullable(),\n tracking_history: z.array(ShippoGetMerchantTrack_TrackingHistoryEventSchema).describe(\"A list of tracking events, following the same structure as tracking_status. It contains a full history of all tracking statuses, starting with the earlier tracking event first.\"),\n}).passthrough().describe(\"Response model for merchant tracking status.\");\n\nexport const shippoGetMerchantTrack = action(\"SHIPPO_GET_MERCHANT_TRACK\", {\n slug: \"shippo-get-merchant-track\",\n name: \"Get Merchant Tracking Status\",\n description: \"Tool to retrieve tracking status for a merchant from Shippo Platform API. Use when you need to get the current status, location, and history of a package for a specific merchant using carrier and tracking number.\",\n input: ShippoGetMerchantTrackInput,\n output: ShippoGetMerchantTrackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA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iDAAiD,CAAC,CAAC,SAAS,kLAAkL;AAC1Q,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,20 +17,20 @@ declare const ShippoGetMerchantTrackOutput: z.ZodObject<{
|
|
|
17
17
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
transaction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
address_from: z.ZodNullable<z.ZodObject<{
|
|
23
23
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
original_eta: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
servicelevel: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
tracking_number: z.ZodNullable<z.ZodString>;
|
|
35
35
|
tracking_status: z.ZodNullable<z.ZodObject<{
|
|
36
36
|
status: z.ZodNullable<z.ZodString>;
|
|
@@ -39,13 +39,13 @@ declare const ShippoGetMerchantTrackOutput: z.ZodObject<{
|
|
|
39
39
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
43
|
object_id: z.ZodNullable<z.ZodString>;
|
|
44
44
|
status_date: z.ZodNullable<z.ZodString>;
|
|
45
45
|
object_created: z.ZodNullable<z.ZodString>;
|
|
46
46
|
object_updated: z.ZodNullable<z.ZodString>;
|
|
47
47
|
status_details: z.ZodNullable<z.ZodString>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>;
|
|
49
49
|
tracking_history: z.ZodArray<z.ZodObject<{
|
|
50
50
|
status: z.ZodNullable<z.ZodString>;
|
|
51
51
|
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -53,14 +53,14 @@ declare const ShippoGetMerchantTrackOutput: z.ZodObject<{
|
|
|
53
53
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>>;
|
|
57
57
|
object_id: z.ZodNullable<z.ZodString>;
|
|
58
58
|
status_date: z.ZodNullable<z.ZodString>;
|
|
59
59
|
object_created: z.ZodNullable<z.ZodString>;
|
|
60
60
|
object_updated: z.ZodNullable<z.ZodString>;
|
|
61
61
|
status_details: z.ZodNullable<z.ZodString>;
|
|
62
|
-
}, z.core.$
|
|
63
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>;
|
|
63
|
+
}, z.core.$loose>;
|
|
64
64
|
declare const shippoGetMerchantTrack: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
65
65
|
carrier: string;
|
|
66
66
|
merchant_id: string;
|
|
@@ -17,20 +17,20 @@ declare const ShippoGetMerchantTrackOutput: z.ZodObject<{
|
|
|
17
17
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
transaction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
address_from: z.ZodNullable<z.ZodObject<{
|
|
23
23
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
original_eta: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
servicelevel: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
tracking_number: z.ZodNullable<z.ZodString>;
|
|
35
35
|
tracking_status: z.ZodNullable<z.ZodObject<{
|
|
36
36
|
status: z.ZodNullable<z.ZodString>;
|
|
@@ -39,13 +39,13 @@ declare const ShippoGetMerchantTrackOutput: z.ZodObject<{
|
|
|
39
39
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
43
|
object_id: z.ZodNullable<z.ZodString>;
|
|
44
44
|
status_date: z.ZodNullable<z.ZodString>;
|
|
45
45
|
object_created: z.ZodNullable<z.ZodString>;
|
|
46
46
|
object_updated: z.ZodNullable<z.ZodString>;
|
|
47
47
|
status_details: z.ZodNullable<z.ZodString>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>;
|
|
49
49
|
tracking_history: z.ZodArray<z.ZodObject<{
|
|
50
50
|
status: z.ZodNullable<z.ZodString>;
|
|
51
51
|
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -53,14 +53,14 @@ declare const ShippoGetMerchantTrackOutput: z.ZodObject<{
|
|
|
53
53
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>>;
|
|
57
57
|
object_id: z.ZodNullable<z.ZodString>;
|
|
58
58
|
status_date: z.ZodNullable<z.ZodString>;
|
|
59
59
|
object_created: z.ZodNullable<z.ZodString>;
|
|
60
60
|
object_updated: z.ZodNullable<z.ZodString>;
|
|
61
61
|
status_details: z.ZodNullable<z.ZodString>;
|
|
62
|
-
}, z.core.$
|
|
63
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>;
|
|
63
|
+
}, z.core.$loose>;
|
|
64
64
|
declare const shippoGetMerchantTrack: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
65
65
|
carrier: string;
|
|
66
66
|
merchant_id: string;
|
|
@@ -12,18 +12,18 @@ const ShippoGetMerchantTrack_AddressInfoSchema = z.object({
|
|
|
12
12
|
city: z.string().describe("City name").nullable().optional(),
|
|
13
13
|
state: z.string().describe("State or province code").nullable().optional(),
|
|
14
14
|
country: z.string().describe("Country code").nullable().optional()
|
|
15
|
-
}).describe("Model for address information in tracking.");
|
|
15
|
+
}).passthrough().describe("Model for address information in tracking.");
|
|
16
16
|
const ShippoGetMerchantTrack_ServiceLevelSchema = z.object({
|
|
17
17
|
name: z.string().describe("Name of the service level, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties. These names vary depending on the provider.").nullable().optional(),
|
|
18
18
|
terms: z.string().describe("Further clarification of the service").nullable().optional(),
|
|
19
19
|
token: z.string().describe("Token of the service level, e.g. 'usps_priority' or 'fedex_ground'. See Shippo documentation for servicelevels.").nullable().optional()
|
|
20
|
-
}).describe("Model for service level details.");
|
|
20
|
+
}).passthrough().describe("Model for service level details.");
|
|
21
21
|
const ShippoGetMerchantTrack_TrackingLocationSchema = z.object({
|
|
22
22
|
zip: z.string().describe("Postal or ZIP code").nullable().optional(),
|
|
23
23
|
city: z.string().describe("City name").nullable().optional(),
|
|
24
24
|
state: z.string().describe("State or province code").nullable().optional(),
|
|
25
25
|
country: z.string().describe("Country code").nullable().optional()
|
|
26
|
-
}).describe("Model for tracking event location.");
|
|
26
|
+
}).passthrough().describe("Model for tracking event location.");
|
|
27
27
|
const ShippoGetMerchantTrack_TrackingStatusSchema = z.object({
|
|
28
28
|
status: z.string().describe("Indicates the high level status of the shipment (e.g., DELIVERED, IN_TRANSIT, RETURNED)").nullable(),
|
|
29
29
|
location: ShippoGetMerchantTrack_TrackingLocationSchema.nullable().optional(),
|
|
@@ -32,7 +32,7 @@ const ShippoGetMerchantTrack_TrackingStatusSchema = z.object({
|
|
|
32
32
|
object_created: z.string().describe("Date and time when the tracking status object was created").nullable(),
|
|
33
33
|
object_updated: z.string().describe("Date and time when the tracking status object was last updated").nullable(),
|
|
34
34
|
status_details: z.string().describe("The human-readable description of the status").nullable()
|
|
35
|
-
}).describe("Model for tracking status details.");
|
|
35
|
+
}).passthrough().describe("Model for tracking status details.");
|
|
36
36
|
const ShippoGetMerchantTrack_TrackingHistoryEventSchema = z.object({
|
|
37
37
|
status: z.string().describe("Status of the shipment at this event").nullable(),
|
|
38
38
|
location: ShippoGetMerchantTrack_TrackingLocationSchema.nullable().optional(),
|
|
@@ -41,7 +41,7 @@ const ShippoGetMerchantTrack_TrackingHistoryEventSchema = z.object({
|
|
|
41
41
|
object_created: z.string().describe("Date and time when the tracking event was created").nullable(),
|
|
42
42
|
object_updated: z.string().describe("Date and time when the tracking event was last updated").nullable(),
|
|
43
43
|
status_details: z.string().describe("Human-readable description of the status").nullable()
|
|
44
|
-
}).describe("Model for a single tracking history event.");
|
|
44
|
+
}).passthrough().describe("Model for a single tracking history event.");
|
|
45
45
|
const shippoGetMerchantTrack = action("SHIPPO_GET_MERCHANT_TRACK", {
|
|
46
46
|
slug: "shippo-get-merchant-track",
|
|
47
47
|
name: "Get Merchant Tracking Status",
|
|
@@ -60,7 +60,7 @@ const shippoGetMerchantTrack = action("SHIPPO_GET_MERCHANT_TRACK", {
|
|
|
60
60
|
tracking_number: z.string().describe("Tracking number to track").nullable(),
|
|
61
61
|
tracking_status: ShippoGetMerchantTrack_TrackingStatusSchema.nullable(),
|
|
62
62
|
tracking_history: z.array(ShippoGetMerchantTrack_TrackingHistoryEventSchema).describe("A list of tracking events, following the same structure as tracking_status. It contains a full history of all tracking statuses, starting with the earlier tracking event first.")
|
|
63
|
-
}).describe("Response model for merchant tracking status.")
|
|
63
|
+
}).passthrough().describe("Response model for merchant tracking status.")
|
|
64
64
|
});
|
|
65
65
|
//#endregion
|
|
66
66
|
export { shippoGetMerchantTrack };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-track.mjs","names":[],"sources":["../../src/actions/get-merchant-track.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantTrackInput = z.object({\n carrier: z.string().describe(\"Name of the carrier of the shipment to track. Examples: usps, fedex, ups, dhl_express, shippo. See Shippo documentation for full list of supported carriers.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant whose tracking to retrieve\"),\n tracking_number: z.string().describe(\"Tracking number to track. The format varies by carrier (e.g., USPS: 9205590164917312751089, Shippo test: SHIPPO_DELIVERED).\"),\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 merchant tracking status.\");\nconst ShippoGetMerchantTrack_AddressInfoSchema = z.object({\n zip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n state: z.string().describe(\"State or province code\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n}).describe(\"Model for address information in tracking.\");\nconst ShippoGetMerchantTrack_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the service level, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties. These names vary depending on the provider.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service\").nullable().optional(),\n token: z.string().describe(\"Token of the service level, e.g. 'usps_priority' or 'fedex_ground'. See Shippo documentation for servicelevels.\").nullable().optional(),\n}).describe(\"Model for service level details.\");\nconst ShippoGetMerchantTrack_TrackingLocationSchema = z.object({\n zip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n state: z.string().describe(\"State or province code\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n}).describe(\"Model for tracking event location.\");\nconst ShippoGetMerchantTrack_TrackingStatusSchema = z.object({\n status: z.string().describe(\"Indicates the high level status of the shipment (e.g., DELIVERED, IN_TRANSIT, RETURNED)\").nullable(),\n location: ShippoGetMerchantTrack_TrackingLocationSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the tracking status object\").nullable(),\n status_date: z.string().describe(\"Date and time when the carrier scanned this tracking event. This is displayed in UTC.\").nullable(),\n object_created: z.string().describe(\"Date and time when the tracking status object was created\").nullable(),\n object_updated: z.string().describe(\"Date and time when the tracking status object was last updated\").nullable(),\n status_details: z.string().describe(\"The human-readable description of the status\").nullable(),\n}).describe(\"Model for tracking status details.\");\nconst ShippoGetMerchantTrack_TrackingHistoryEventSchema = z.object({\n status: z.string().describe(\"Status of the shipment at this event\").nullable(),\n location: ShippoGetMerchantTrack_TrackingLocationSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the tracking event\").nullable(),\n status_date: z.string().describe(\"Date and time when the carrier scanned this event\").nullable(),\n object_created: z.string().describe(\"Date and time when the tracking event was created\").nullable(),\n object_updated: z.string().describe(\"Date and time when the tracking event was last updated\").nullable(),\n status_details: z.string().describe(\"Human-readable description of the status\").nullable(),\n}).describe(\"Model for a single tracking history event.\");\nexport const ShippoGetMerchantTrackOutput = z.object({\n eta: z.string().describe(\"The estimated time of arrival according to the carrier, this might be updated by carriers during the life of the shipment.\").nullable().optional(),\n carrier: z.string().describe(\"Name of the carrier of the shipment to track. See Carriers documentation.\").nullable(),\n messages: z.array(z.string()).describe(\"List of messages related to tracking\"),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object.\").nullable().optional(),\n address_to: ShippoGetMerchantTrack_AddressInfoSchema.nullable(),\n transaction: z.string().describe(\"The object_id of the transaction associated with this tracking object. This field is visible only to the object owner of the transaction.\").nullable().optional(),\n address_from: ShippoGetMerchantTrack_AddressInfoSchema.nullable(),\n original_eta: z.string().describe(\"The estimated time of arrival according to the carrier at the time the shipment first entered the system.\").nullable().optional(),\n servicelevel: ShippoGetMerchantTrack_ServiceLevelSchema.nullable(),\n tracking_number: z.string().describe(\"Tracking number to track\").nullable(),\n tracking_status: ShippoGetMerchantTrack_TrackingStatusSchema.nullable(),\n tracking_history: z.array(ShippoGetMerchantTrack_TrackingHistoryEventSchema).describe(\"A list of tracking events, following the same structure as tracking_status. It contains a full history of all tracking statuses, starting with the earlier tracking event first.\"),\n}).describe(\"Response model for merchant tracking status.\");\n\nexport const shippoGetMerchantTrack = action(\"SHIPPO_GET_MERCHANT_TRACK\", {\n slug: \"shippo-get-merchant-track\",\n name: \"Get Merchant Tracking Status\",\n description: \"Tool to retrieve tracking status for a merchant from Shippo Platform API. Use when you need to get the current status, location, and history of a package for a specific merchant using carrier and tracking number.\",\n input: ShippoGetMerchantTrackInput,\n output: ShippoGetMerchantTrackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CAC3L,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CAClK,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"get-merchant-track.mjs","names":[],"sources":["../../src/actions/get-merchant-track.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantTrackInput = z.object({\n carrier: z.string().describe(\"Name of the carrier of the shipment to track. Examples: usps, fedex, ups, dhl_express, shippo. See Shippo documentation for full list of supported carriers.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant whose tracking to retrieve\"),\n tracking_number: z.string().describe(\"Tracking number to track. The format varies by carrier (e.g., USPS: 9205590164917312751089, Shippo test: SHIPPO_DELIVERED).\"),\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 merchant tracking status.\");\nconst ShippoGetMerchantTrack_AddressInfoSchema = z.object({\n zip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n state: z.string().describe(\"State or province code\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n}).passthrough().describe(\"Model for address information in tracking.\");\nconst ShippoGetMerchantTrack_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the service level, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties. These names vary depending on the provider.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service\").nullable().optional(),\n token: z.string().describe(\"Token of the service level, e.g. 'usps_priority' or 'fedex_ground'. See Shippo documentation for servicelevels.\").nullable().optional(),\n}).passthrough().describe(\"Model for service level details.\");\nconst ShippoGetMerchantTrack_TrackingLocationSchema = z.object({\n zip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n state: z.string().describe(\"State or province code\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n}).passthrough().describe(\"Model for tracking event location.\");\nconst ShippoGetMerchantTrack_TrackingStatusSchema = z.object({\n status: z.string().describe(\"Indicates the high level status of the shipment (e.g., DELIVERED, IN_TRANSIT, RETURNED)\").nullable(),\n location: ShippoGetMerchantTrack_TrackingLocationSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the tracking status object\").nullable(),\n status_date: z.string().describe(\"Date and time when the carrier scanned this tracking event. This is displayed in UTC.\").nullable(),\n object_created: z.string().describe(\"Date and time when the tracking status object was created\").nullable(),\n object_updated: z.string().describe(\"Date and time when the tracking status object was last updated\").nullable(),\n status_details: z.string().describe(\"The human-readable description of the status\").nullable(),\n}).passthrough().describe(\"Model for tracking status details.\");\nconst ShippoGetMerchantTrack_TrackingHistoryEventSchema = z.object({\n status: z.string().describe(\"Status of the shipment at this event\").nullable(),\n location: ShippoGetMerchantTrack_TrackingLocationSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the tracking event\").nullable(),\n status_date: z.string().describe(\"Date and time when the carrier scanned this event\").nullable(),\n object_created: z.string().describe(\"Date and time when the tracking event was created\").nullable(),\n object_updated: z.string().describe(\"Date and time when the tracking event was last updated\").nullable(),\n status_details: z.string().describe(\"Human-readable description of the status\").nullable(),\n}).passthrough().describe(\"Model for a single tracking history event.\");\nexport const ShippoGetMerchantTrackOutput = z.object({\n eta: z.string().describe(\"The estimated time of arrival according to the carrier, this might be updated by carriers during the life of the shipment.\").nullable().optional(),\n carrier: z.string().describe(\"Name of the carrier of the shipment to track. See Carriers documentation.\").nullable(),\n messages: z.array(z.string()).describe(\"List of messages related to tracking\"),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object.\").nullable().optional(),\n address_to: ShippoGetMerchantTrack_AddressInfoSchema.nullable(),\n transaction: z.string().describe(\"The object_id of the transaction associated with this tracking object. This field is visible only to the object owner of the transaction.\").nullable().optional(),\n address_from: ShippoGetMerchantTrack_AddressInfoSchema.nullable(),\n original_eta: z.string().describe(\"The estimated time of arrival according to the carrier at the time the shipment first entered the system.\").nullable().optional(),\n servicelevel: ShippoGetMerchantTrack_ServiceLevelSchema.nullable(),\n tracking_number: z.string().describe(\"Tracking number to track\").nullable(),\n tracking_status: ShippoGetMerchantTrack_TrackingStatusSchema.nullable(),\n tracking_history: z.array(ShippoGetMerchantTrack_TrackingHistoryEventSchema).describe(\"A list of tracking events, following the same structure as tracking_status. It contains a full history of all tracking statuses, starting with the earlier tracking event first.\"),\n}).passthrough().describe(\"Response model for merchant tracking status.\");\n\nexport const shippoGetMerchantTrack = action(\"SHIPPO_GET_MERCHANT_TRACK\", {\n slug: \"shippo-get-merchant-track\",\n name: \"Get Merchant Tracking Status\",\n description: \"Tool to retrieve tracking status for a merchant from Shippo Platform API. Use when you need to get the current status, location, and history of a package for a specific merchant using carrier and tracking number.\",\n input: ShippoGetMerchantTrackInput,\n output: ShippoGetMerchantTrackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CAC3L,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CAClK,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpS,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,C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AAS,kLAAkL;CAC1Q,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ const ShippoGetMerchantTransaction_TransactionStatusSchema = zod.z.enum([
|
|
|
18
18
|
const ShippoGetMerchantTransaction_MessageObjectSchema = zod.z.object({
|
|
19
19
|
code: zod.z.string().describe("Identifier for the message").nullable().optional(),
|
|
20
20
|
message: zod.z.string().describe("Publishable message containing further information").nullable().optional()
|
|
21
|
-
}).describe("Model for a single message in the transaction.");
|
|
21
|
+
}).passthrough().describe("Model for a single message in the transaction.");
|
|
22
22
|
const ShippoGetMerchantTransaction_ObjectStateSchema = zod.z.enum(["VALID", "INVALID"]).describe("Enum for object state values.");
|
|
23
23
|
const ShippoGetMerchantTransactionOutput = zod.z.object({
|
|
24
24
|
eta: zod.z.string().describe("The estimated time of arrival according to the carrier").nullable().optional(),
|
|
@@ -38,7 +38,7 @@ const ShippoGetMerchantTransactionOutput = zod.z.object({
|
|
|
38
38
|
tracking_status: zod.z.string().describe("Indicates the high level status of the shipment").nullable().optional(),
|
|
39
39
|
tracking_url_provider: zod.z.string().describe("A link to track this item on the carrier-provided tracking website. A value will only be returned if tracking is available and the carrier provides such a service.").nullable().optional(),
|
|
40
40
|
commercial_invoice_url: zod.z.string().describe("A URL pointing to the commercial invoice as a 8.5x11 inch PDF file. A value will only be returned if the Transaction has been processed successfully and if the shipment is international.").nullable().optional()
|
|
41
|
-
}).describe("Response model for a merchant transaction.");
|
|
41
|
+
}).passthrough().describe("Response model for a merchant transaction.");
|
|
42
42
|
const shippoGetMerchantTransaction = require_action.action("SHIPPO_GET_MERCHANT_TRANSACTION", {
|
|
43
43
|
slug: "shippo-get-merchant-transaction",
|
|
44
44
|
name: "Get Merchant Transaction",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-transaction.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantTransactionInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n transaction_id: z.string().describe(\"Object ID of the transaction to retrieve\"),\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 transaction.\");\nconst ShippoGetMerchantTransaction_TransactionStatusSchema = z.enum([\"WAITING\", \"QUEUED\", \"SUCCESS\", \"ERROR\", \"REFUNDED\", \"REFUNDPENDING\", \"REFUNDREJECTED\"]).describe(\"Enum for transaction status values.\");\nconst ShippoGetMerchantTransaction_MessageObjectSchema = z.object({\n code: z.string().describe(\"Identifier for the message\").nullable().optional(),\n message: z.string().describe(\"Publishable message containing further information\").nullable().optional(),\n}).describe(\"Model for a single message in the transaction.\");\nconst ShippoGetMerchantTransaction_ObjectStateSchema = z.enum([\"VALID\", \"INVALID\"]).describe(\"Enum for object state values.\");\nexport const ShippoGetMerchantTransactionOutput = z.object({\n eta: z.string().describe(\"The estimated time of arrival according to the carrier\").nullable().optional(),\n rate: z.string().describe(\"ID of the Rate object for which a Label has been obtained\").nullable().optional(),\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n status: ShippoGetMerchantTransaction_TransactionStatusSchema.nullable().optional(),\n messages: z.array(ShippoGetMerchantTransaction_MessageObjectSchema).describe(\"An array containing elements with code and message fields providing additional information\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object\").nullable().optional(),\n label_url: z.string().describe(\"A URL pointing directly to the label in the format you've set in your settings. A value will only be returned if the Transaction has been processed successfully.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Transaction object\").nullable().optional(),\n qr_code_url: z.string().describe(\"A URL pointing directly to the QR code in PNG format. A value will only be returned if requested using qr_code_requested flag and the carrier provides such an option.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the Transaction object\").nullable().optional(),\n object_state: ShippoGetMerchantTransaction_ObjectStateSchema.nullable().optional(),\n object_created: z.string().describe(\"Date and time of Transaction creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last Transaction update in ISO 8601 format\").nullable().optional(),\n tracking_number: z.string().describe(\"The carrier-specific tracking number that can be used to track the Shipment. A value will only be returned if the Rate is for a trackable Shipment and if the Transaction has been processed successfully.\").nullable().optional(),\n tracking_status: z.string().describe(\"Indicates the high level status of the shipment\").nullable().optional(),\n tracking_url_provider: z.string().describe(\"A link to track this item on the carrier-provided tracking website. A value will only be returned if tracking is available and the carrier provides such a service.\").nullable().optional(),\n commercial_invoice_url: z.string().describe(\"A URL pointing to the commercial invoice as a 8.5x11 inch PDF file. A value will only be returned if the Transaction has been processed successfully and if the shipment is international.\").nullable().optional(),\n}).describe(\"Response model for a merchant transaction.\");\n\nexport const shippoGetMerchantTransaction = action(\"SHIPPO_GET_MERCHANT_TRANSACTION\", {\n slug: \"shippo-get-merchant-transaction\",\n name: \"Get Merchant Transaction\",\n description: \"Tool to retrieve a shipping label transaction for a merchant from the Shippo Platform API. Use when you need to get the details of an existing transaction for a merchant including tracking information, label URLs, and transaction status.\",\n input: ShippoGetMerchantTransactionInput,\n output: ShippoGetMerchantTransactionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC9E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,uDAAuDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAU;CAAW;CAAS;CAAY;CAAiB;AAAgB,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAC5M,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"get-merchant-transaction.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantTransactionInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n transaction_id: z.string().describe(\"Object ID of the transaction to retrieve\"),\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 transaction.\");\nconst ShippoGetMerchantTransaction_TransactionStatusSchema = z.enum([\"WAITING\", \"QUEUED\", \"SUCCESS\", \"ERROR\", \"REFUNDED\", \"REFUNDPENDING\", \"REFUNDREJECTED\"]).describe(\"Enum for transaction status values.\");\nconst ShippoGetMerchantTransaction_MessageObjectSchema = z.object({\n code: z.string().describe(\"Identifier for the message\").nullable().optional(),\n message: z.string().describe(\"Publishable message containing further information\").nullable().optional(),\n}).passthrough().describe(\"Model for a single message in the transaction.\");\nconst ShippoGetMerchantTransaction_ObjectStateSchema = z.enum([\"VALID\", \"INVALID\"]).describe(\"Enum for object state values.\");\nexport const ShippoGetMerchantTransactionOutput = z.object({\n eta: z.string().describe(\"The estimated time of arrival according to the carrier\").nullable().optional(),\n rate: z.string().describe(\"ID of the Rate object for which a Label has been obtained\").nullable().optional(),\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n status: ShippoGetMerchantTransaction_TransactionStatusSchema.nullable().optional(),\n messages: z.array(ShippoGetMerchantTransaction_MessageObjectSchema).describe(\"An array containing elements with code and message fields providing additional information\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object\").nullable().optional(),\n label_url: z.string().describe(\"A URL pointing directly to the label in the format you've set in your settings. A value will only be returned if the Transaction has been processed successfully.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Transaction object\").nullable().optional(),\n qr_code_url: z.string().describe(\"A URL pointing directly to the QR code in PNG format. A value will only be returned if requested using qr_code_requested flag and the carrier provides such an option.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the Transaction object\").nullable().optional(),\n object_state: ShippoGetMerchantTransaction_ObjectStateSchema.nullable().optional(),\n object_created: z.string().describe(\"Date and time of Transaction creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last Transaction update in ISO 8601 format\").nullable().optional(),\n tracking_number: z.string().describe(\"The carrier-specific tracking number that can be used to track the Shipment. A value will only be returned if the Rate is for a trackable Shipment and if the Transaction has been processed successfully.\").nullable().optional(),\n tracking_status: z.string().describe(\"Indicates the high level status of the shipment\").nullable().optional(),\n tracking_url_provider: z.string().describe(\"A link to track this item on the carrier-provided tracking website. A value will only be returned if tracking is available and the carrier provides such a service.\").nullable().optional(),\n commercial_invoice_url: z.string().describe(\"A URL pointing to the commercial invoice as a 8.5x11 inch PDF file. A value will only be returned if the Transaction has been processed successfully and if the shipment is international.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant transaction.\");\n\nexport const shippoGetMerchantTransaction = action(\"SHIPPO_GET_MERCHANT_TRANSACTION\", {\n slug: \"shippo-get-merchant-transaction\",\n name: \"Get Merchant Transaction\",\n description: \"Tool to retrieve a shipping label transaction for a merchant from the Shippo Platform API. Use when you need to get the details of an existing transaction for a merchant including tracking information, label URLs, and transaction status.\",\n input: ShippoGetMerchantTransactionInput,\n output: ShippoGetMerchantTransactionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD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Aa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,15 +22,15 @@ declare const ShippoGetMerchantTransactionOutput: z.ZodObject<{
|
|
|
22
22
|
messages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
23
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
26
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
label_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
qr_code_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
object_state: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
32
|
-
VALID: "VALID";
|
|
33
32
|
INVALID: "INVALID";
|
|
33
|
+
VALID: "VALID";
|
|
34
34
|
}>>>;
|
|
35
35
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -38,7 +38,7 @@ declare const ShippoGetMerchantTransactionOutput: z.ZodObject<{
|
|
|
38
38
|
tracking_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
tracking_url_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
commercial_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const shippoGetMerchantTransaction: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
merchant_id: string;
|
|
44
44
|
transaction_id: string;
|
|
@@ -22,15 +22,15 @@ declare const ShippoGetMerchantTransactionOutput: z.ZodObject<{
|
|
|
22
22
|
messages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
23
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
26
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
label_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
qr_code_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
object_state: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
32
|
-
VALID: "VALID";
|
|
33
32
|
INVALID: "INVALID";
|
|
33
|
+
VALID: "VALID";
|
|
34
34
|
}>>>;
|
|
35
35
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -38,7 +38,7 @@ declare const ShippoGetMerchantTransactionOutput: z.ZodObject<{
|
|
|
38
38
|
tracking_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
tracking_url_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
commercial_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const shippoGetMerchantTransaction: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
merchant_id: string;
|
|
44
44
|
transaction_id: string;
|
|
@@ -18,7 +18,7 @@ const ShippoGetMerchantTransaction_TransactionStatusSchema = z.enum([
|
|
|
18
18
|
const ShippoGetMerchantTransaction_MessageObjectSchema = z.object({
|
|
19
19
|
code: z.string().describe("Identifier for the message").nullable().optional(),
|
|
20
20
|
message: z.string().describe("Publishable message containing further information").nullable().optional()
|
|
21
|
-
}).describe("Model for a single message in the transaction.");
|
|
21
|
+
}).passthrough().describe("Model for a single message in the transaction.");
|
|
22
22
|
const ShippoGetMerchantTransaction_ObjectStateSchema = z.enum(["VALID", "INVALID"]).describe("Enum for object state values.");
|
|
23
23
|
const shippoGetMerchantTransaction = action("SHIPPO_GET_MERCHANT_TRANSACTION", {
|
|
24
24
|
slug: "shippo-get-merchant-transaction",
|
|
@@ -43,7 +43,7 @@ const shippoGetMerchantTransaction = action("SHIPPO_GET_MERCHANT_TRANSACTION", {
|
|
|
43
43
|
tracking_status: z.string().describe("Indicates the high level status of the shipment").nullable().optional(),
|
|
44
44
|
tracking_url_provider: z.string().describe("A link to track this item on the carrier-provided tracking website. A value will only be returned if tracking is available and the carrier provides such a service.").nullable().optional(),
|
|
45
45
|
commercial_invoice_url: z.string().describe("A URL pointing to the commercial invoice as a 8.5x11 inch PDF file. A value will only be returned if the Transaction has been processed successfully and if the shipment is international.").nullable().optional()
|
|
46
|
-
}).describe("Response model for a merchant transaction.")
|
|
46
|
+
}).passthrough().describe("Response model for a merchant transaction.")
|
|
47
47
|
});
|
|
48
48
|
//#endregion
|
|
49
49
|
export { shippoGetMerchantTransaction };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-transaction.mjs","names":[],"sources":["../../src/actions/get-merchant-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantTransactionInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n transaction_id: z.string().describe(\"Object ID of the transaction to retrieve\"),\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 transaction.\");\nconst ShippoGetMerchantTransaction_TransactionStatusSchema = z.enum([\"WAITING\", \"QUEUED\", \"SUCCESS\", \"ERROR\", \"REFUNDED\", \"REFUNDPENDING\", \"REFUNDREJECTED\"]).describe(\"Enum for transaction status values.\");\nconst ShippoGetMerchantTransaction_MessageObjectSchema = z.object({\n code: z.string().describe(\"Identifier for the message\").nullable().optional(),\n message: z.string().describe(\"Publishable message containing further information\").nullable().optional(),\n}).describe(\"Model for a single message in the transaction.\");\nconst ShippoGetMerchantTransaction_ObjectStateSchema = z.enum([\"VALID\", \"INVALID\"]).describe(\"Enum for object state values.\");\nexport const ShippoGetMerchantTransactionOutput = z.object({\n eta: z.string().describe(\"The estimated time of arrival according to the carrier\").nullable().optional(),\n rate: z.string().describe(\"ID of the Rate object for which a Label has been obtained\").nullable().optional(),\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n status: ShippoGetMerchantTransaction_TransactionStatusSchema.nullable().optional(),\n messages: z.array(ShippoGetMerchantTransaction_MessageObjectSchema).describe(\"An array containing elements with code and message fields providing additional information\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object\").nullable().optional(),\n label_url: z.string().describe(\"A URL pointing directly to the label in the format you've set in your settings. A value will only be returned if the Transaction has been processed successfully.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Transaction object\").nullable().optional(),\n qr_code_url: z.string().describe(\"A URL pointing directly to the QR code in PNG format. A value will only be returned if requested using qr_code_requested flag and the carrier provides such an option.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the Transaction object\").nullable().optional(),\n object_state: ShippoGetMerchantTransaction_ObjectStateSchema.nullable().optional(),\n object_created: z.string().describe(\"Date and time of Transaction creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last Transaction update in ISO 8601 format\").nullable().optional(),\n tracking_number: z.string().describe(\"The carrier-specific tracking number that can be used to track the Shipment. A value will only be returned if the Rate is for a trackable Shipment and if the Transaction has been processed successfully.\").nullable().optional(),\n tracking_status: z.string().describe(\"Indicates the high level status of the shipment\").nullable().optional(),\n tracking_url_provider: z.string().describe(\"A link to track this item on the carrier-provided tracking website. A value will only be returned if tracking is available and the carrier provides such a service.\").nullable().optional(),\n commercial_invoice_url: z.string().describe(\"A URL pointing to the commercial invoice as a 8.5x11 inch PDF file. A value will only be returned if the Transaction has been processed successfully and if the shipment is international.\").nullable().optional(),\n}).describe(\"Response model for a merchant transaction.\");\n\nexport const shippoGetMerchantTransaction = action(\"SHIPPO_GET_MERCHANT_TRANSACTION\", {\n slug: \"shippo-get-merchant-transaction\",\n name: \"Get Merchant Transaction\",\n description: \"Tool to retrieve a shipping label transaction for a merchant from the Shippo Platform API. Use when you need to get the details of an existing transaction for a merchant including tracking information, label URLs, and transaction status.\",\n input: ShippoGetMerchantTransactionInput,\n output: ShippoGetMerchantTransactionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC9E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,uDAAuD,EAAE,KAAK;CAAC;CAAW;CAAU;CAAW;CAAS;CAAY;CAAiB;AAAgB,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAC5M,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"get-merchant-transaction.mjs","names":[],"sources":["../../src/actions/get-merchant-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantTransactionInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n transaction_id: z.string().describe(\"Object ID of the transaction to retrieve\"),\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 transaction.\");\nconst ShippoGetMerchantTransaction_TransactionStatusSchema = z.enum([\"WAITING\", \"QUEUED\", \"SUCCESS\", \"ERROR\", \"REFUNDED\", \"REFUNDPENDING\", \"REFUNDREJECTED\"]).describe(\"Enum for transaction status values.\");\nconst ShippoGetMerchantTransaction_MessageObjectSchema = z.object({\n code: z.string().describe(\"Identifier for the message\").nullable().optional(),\n message: z.string().describe(\"Publishable message containing further information\").nullable().optional(),\n}).passthrough().describe(\"Model for a single message in the transaction.\");\nconst ShippoGetMerchantTransaction_ObjectStateSchema = z.enum([\"VALID\", \"INVALID\"]).describe(\"Enum for object state values.\");\nexport const ShippoGetMerchantTransactionOutput = z.object({\n eta: z.string().describe(\"The estimated time of arrival according to the carrier\").nullable().optional(),\n rate: z.string().describe(\"ID of the Rate object for which a Label has been obtained\").nullable().optional(),\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode\").nullable().optional(),\n status: ShippoGetMerchantTransaction_TransactionStatusSchema.nullable().optional(),\n messages: z.array(ShippoGetMerchantTransaction_MessageObjectSchema).describe(\"An array containing elements with code and message fields providing additional information\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object\").nullable().optional(),\n label_url: z.string().describe(\"A URL pointing directly to the label in the format you've set in your settings. A value will only be returned if the Transaction has been processed successfully.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Transaction object\").nullable().optional(),\n qr_code_url: z.string().describe(\"A URL pointing directly to the QR code in PNG format. A value will only be returned if requested using qr_code_requested flag and the carrier provides such an option.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the Transaction object\").nullable().optional(),\n object_state: ShippoGetMerchantTransaction_ObjectStateSchema.nullable().optional(),\n object_created: z.string().describe(\"Date and time of Transaction creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last Transaction update in ISO 8601 format\").nullable().optional(),\n tracking_number: z.string().describe(\"The carrier-specific tracking number that can be used to track the Shipment. A value will only be returned if the Rate is for a trackable Shipment and if the Transaction has been processed successfully.\").nullable().optional(),\n tracking_status: z.string().describe(\"Indicates the high level status of the shipment\").nullable().optional(),\n tracking_url_provider: z.string().describe(\"A link to track this item on the carrier-provided tracking website. A value will only be returned if tracking is available and the carrier provides such a service.\").nullable().optional(),\n commercial_invoice_url: z.string().describe(\"A URL pointing to the commercial invoice as a 8.5x11 inch PDF file. A value will only be returned if the Transaction has been processed successfully and if the shipment is international.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant transaction.\");\n\nexport const shippoGetMerchantTransaction = action(\"SHIPPO_GET_MERCHANT_TRANSACTION\", {\n slug: \"shippo-get-merchant-transaction\",\n name: \"Get Merchant Transaction\",\n description: \"Tool to retrieve a shipping label transaction for a merchant from the Shippo Platform API. Use when you need to get the details of an existing transaction for a merchant including tracking information, label URLs, and transaction status.\",\n input: ShippoGetMerchantTransactionInput,\n output: ShippoGetMerchantTransactionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC9E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,uDAAuD,EAAE,KAAK;CAAC;CAAW;CAAU;CAAW;CAAS;CAAY;CAAiB;AAAgB,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAC5M,MAAM,mDAA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S,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,cAAc,+CAA+C,SAAS,CAAC,CAAC,SAAS;EACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvQ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtO,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const ShippoGetMerchantOutput = zod.z.object({
|
|
|
13
13
|
merchant_name: zod.z.string().describe("Name of the merchant's business").nullable(),
|
|
14
14
|
object_created: zod.z.string().describe("Date and time of merchant object creation in ISO 8601 format").nullable().optional(),
|
|
15
15
|
object_updated: zod.z.string().describe("Date and time of last merchant object update in ISO 8601 format").nullable().optional()
|
|
16
|
-
}).describe("Response model for a merchant.");
|
|
16
|
+
}).passthrough().describe("Response model for a merchant.");
|
|
17
17
|
const shippoGetMerchant = require_action.action("SHIPPO_GET_MERCHANT", {
|
|
18
18
|
slug: "shippo-get-merchant",
|
|
19
19
|
name: "Get Merchant",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant to retrieve\"),\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.\");\nexport const ShippoGetMerchantOutput = z.object({\n email: z.string().describe(\"Email address of the merchant\").nullable(),\n last_name: z.string().describe(\"Last name of the merchant\").nullable(),\n object_id: z.string().describe(\"Unique identifier for the merchant object\").nullable().optional(),\n first_name: z.string().describe(\"First name of the merchant\").nullable(),\n merchant_name: z.string().describe(\"Name of the merchant's business\").nullable(),\n object_created: z.string().describe(\"Date and time of merchant object creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last merchant object update in ISO 8601 format\").nullable().optional(),\n}).describe(\"Response model for a merchant.\");\n\nexport const shippoGetMerchant = action(\"SHIPPO_GET_MERCHANT\", {\n slug: \"shippo-get-merchant\",\n name: \"Get Merchant\",\n description: \"Tool to retrieve a merchant from the Shippo Platform API. Use when you need to get the details of an existing merchant using their object ID.\",\n input: ShippoGetMerchantInput,\n output: ShippoGetMerchantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,gCAAgC;
|
|
1
|
+
{"version":3,"file":"get-merchant.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant to retrieve\"),\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.\");\nexport const ShippoGetMerchantOutput = z.object({\n email: z.string().describe(\"Email address of the merchant\").nullable(),\n last_name: z.string().describe(\"Last name of the merchant\").nullable(),\n object_id: z.string().describe(\"Unique identifier for the merchant object\").nullable().optional(),\n first_name: z.string().describe(\"First name of the merchant\").nullable(),\n merchant_name: z.string().describe(\"Name of the merchant's business\").nullable(),\n object_created: z.string().describe(\"Date and time of merchant object creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last merchant object update in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant.\");\n\nexport const shippoGetMerchant = action(\"SHIPPO_GET_MERCHANT\", {\n slug: \"shippo-get-merchant\",\n name: \"Get Merchant\",\n description: \"Tool to retrieve a merchant from the Shippo Platform API. Use when you need to get the details of an existing merchant using their object ID.\",\n input: ShippoGetMerchantInput,\n output: ShippoGetMerchantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAE1D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const ShippoGetMerchantOutput: z.ZodObject<{
|
|
|
13
13
|
merchant_name: z.ZodNullable<z.ZodString>;
|
|
14
14
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const shippoGetMerchant: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
merchant_id: string;
|
|
19
19
|
shippo_api_version?: string | undefined;
|
|
@@ -13,7 +13,7 @@ declare const ShippoGetMerchantOutput: z.ZodObject<{
|
|
|
13
13
|
merchant_name: z.ZodNullable<z.ZodString>;
|
|
14
14
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const shippoGetMerchant: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
merchant_id: string;
|
|
19
19
|
shippo_api_version?: string | undefined;
|
|
@@ -16,7 +16,7 @@ const shippoGetMerchant = action("SHIPPO_GET_MERCHANT", {
|
|
|
16
16
|
merchant_name: z.string().describe("Name of the merchant's business").nullable(),
|
|
17
17
|
object_created: z.string().describe("Date and time of merchant object creation in ISO 8601 format").nullable().optional(),
|
|
18
18
|
object_updated: z.string().describe("Date and time of last merchant object update in ISO 8601 format").nullable().optional()
|
|
19
|
-
}).describe("Response model for a merchant.")
|
|
19
|
+
}).passthrough().describe("Response model for a merchant.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { shippoGetMerchant };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant.mjs","names":[],"sources":["../../src/actions/get-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant to retrieve\"),\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.\");\nexport const ShippoGetMerchantOutput = z.object({\n email: z.string().describe(\"Email address of the merchant\").nullable(),\n last_name: z.string().describe(\"Last name of the merchant\").nullable(),\n object_id: z.string().describe(\"Unique identifier for the merchant object\").nullable().optional(),\n first_name: z.string().describe(\"First name of the merchant\").nullable(),\n merchant_name: z.string().describe(\"Name of the merchant's business\").nullable(),\n object_created: z.string().describe(\"Date and time of merchant object creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last merchant object update in ISO 8601 format\").nullable().optional(),\n}).describe(\"Response model for a merchant.\");\n\nexport const shippoGetMerchant = action(\"SHIPPO_GET_MERCHANT\", {\n slug: \"shippo-get-merchant\",\n name: \"Get Merchant\",\n description: \"Tool to retrieve a merchant from the Shippo Platform API. Use when you need to get the details of an existing merchant using their object ID.\",\n input: ShippoGetMerchantInput,\n output: ShippoGetMerchantOutput,\n});\n"],"mappings":";;AAkBA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBoC,EAAE,OAAO;EAC7C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACxE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,0CAeH;CACP,QAfqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACvE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-merchant.mjs","names":[],"sources":["../../src/actions/get-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantInput = z.object({\n merchant_id: z.string().describe(\"Object ID of the merchant to retrieve\"),\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.\");\nexport const ShippoGetMerchantOutput = z.object({\n email: z.string().describe(\"Email address of the merchant\").nullable(),\n last_name: z.string().describe(\"Last name of the merchant\").nullable(),\n object_id: z.string().describe(\"Unique identifier for the merchant object\").nullable().optional(),\n first_name: z.string().describe(\"First name of the merchant\").nullable(),\n merchant_name: z.string().describe(\"Name of the merchant's business\").nullable(),\n object_created: z.string().describe(\"Date and time of merchant object creation in ISO 8601 format\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last merchant object update in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant.\");\n\nexport const shippoGetMerchant = action(\"SHIPPO_GET_MERCHANT\", {\n slug: \"shippo-get-merchant\",\n name: \"Get Merchant\",\n description: \"Tool to retrieve a merchant from the Shippo Platform API. Use when you need to get the details of an existing merchant using their object ID.\",\n input: ShippoGetMerchantInput,\n output: ShippoGetMerchantOutput,\n});\n"],"mappings":";;AAkBA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBoC,EAAE,OAAO;EAC7C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACxE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,SAAS,0CAeH;CACP,QAfqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACvE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const ShippoGetOrder_OrderLineItemSchema = zod.z.object({
|
|
|
15
15
|
weight_unit: zod.z.string().describe("Unit of weight.").nullable().optional(),
|
|
16
16
|
variant_title: zod.z.string().describe("Variant title of the item.").nullable().optional(),
|
|
17
17
|
manufacture_country: zod.z.string().describe("Country of manufacture.").nullable().optional()
|
|
18
|
-
}).describe("Line item in an order.");
|
|
18
|
+
}).passthrough().describe("Line item in an order.");
|
|
19
19
|
const ShippoGetOrder_OrderAddressSchema = zod.z.object({
|
|
20
20
|
zip: zod.z.string().describe("Postal code.").nullable().optional(),
|
|
21
21
|
city: zod.z.string().describe("City.").nullable().optional(),
|
|
@@ -27,14 +27,14 @@ const ShippoGetOrder_OrderAddressSchema = zod.z.object({
|
|
|
27
27
|
country: zod.z.string().describe("Country code.").nullable().optional(),
|
|
28
28
|
street1: zod.z.string().describe("First street line.").nullable().optional(),
|
|
29
29
|
street2: zod.z.string().describe("Second street line.").nullable().optional()
|
|
30
|
-
}).describe("Address information for an order.");
|
|
30
|
+
}).passthrough().describe("Address information for an order.");
|
|
31
31
|
const ShippoGetOrder_TransactionRateSchema = zod.z.object({
|
|
32
32
|
amount: zod.z.string().describe("Rate amount.").nullable().optional(),
|
|
33
33
|
currency: zod.z.string().describe("Currency code.").nullable().optional(),
|
|
34
34
|
provider: zod.z.string().describe("Shipping provider.").nullable().optional(),
|
|
35
35
|
object_id: zod.z.string().describe("Rate object ID.").nullable().optional(),
|
|
36
36
|
servicelevel: zod.z.string().describe("Service level.").nullable().optional()
|
|
37
|
-
}).describe("Rate information for a transaction.");
|
|
37
|
+
}).passthrough().describe("Rate information for a transaction.");
|
|
38
38
|
const ShippoGetOrder_OrderTransactionSchema = zod.z.object({
|
|
39
39
|
rate: ShippoGetOrder_TransactionRateSchema.nullable().optional(),
|
|
40
40
|
label_url: zod.z.string().describe("Shipping label URL.").nullable().optional(),
|
|
@@ -44,7 +44,7 @@ const ShippoGetOrder_OrderTransactionSchema = zod.z.object({
|
|
|
44
44
|
tracking_number: zod.z.string().describe("Tracking number.").nullable().optional(),
|
|
45
45
|
tracking_url_provider: zod.z.string().describe("Tracking URL provider.").nullable().optional(),
|
|
46
46
|
commercial_invoice_url: zod.z.string().describe("Commercial invoice URL.").nullable().optional()
|
|
47
|
-
}).describe("Transaction associated with an order.");
|
|
47
|
+
}).passthrough().describe("Transaction associated with an order.");
|
|
48
48
|
const ShippoGetOrderOutput = zod.z.object({
|
|
49
49
|
notes: zod.z.string().describe("Notes for the order.").nullable().optional(),
|
|
50
50
|
weight: zod.z.string().describe("Total weight of the order.").nullable().optional(),
|
|
@@ -66,7 +66,7 @@ const ShippoGetOrderOutput = zod.z.object({
|
|
|
66
66
|
subtotal_price: zod.z.string().describe("Subtotal price.").nullable().optional(),
|
|
67
67
|
shipping_method: zod.z.string().describe("Shipping method used.").nullable().optional(),
|
|
68
68
|
shipping_cost_currency: zod.z.string().describe("Currency of the shipping cost.").nullable().optional()
|
|
69
|
-
}).describe("Response model for retrieving an order from Shippo.");
|
|
69
|
+
}).passthrough().describe("Response model for retrieving an order from Shippo.");
|
|
70
70
|
const shippoGetOrder = require_action.action("SHIPPO_GET_ORDER", {
|
|
71
71
|
slug: "shippo-get-order",
|
|
72
72
|
name: "Get Order",
|