@keystrokehq/shippo 0.1.3 → 0.1.5
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-address.cjs +1 -0
- package/dist/actions/create-address.cjs.map +1 -1
- package/dist/actions/create-address.d.cts +3 -18
- package/dist/actions/create-address.d.cts.map +1 -1
- package/dist/actions/create-address.d.mts +3 -18
- package/dist/actions/create-address.d.mts.map +1 -1
- package/dist/actions/create-address.mjs +1 -0
- package/dist/actions/create-address.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +1 -0
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +3 -45
- package/dist/actions/create-batch.d.cts.map +1 -1
- package/dist/actions/create-batch.d.mts +3 -45
- package/dist/actions/create-batch.d.mts.map +1 -1
- package/dist/actions/create-batch.mjs +1 -0
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-carrier-account.cjs +1 -0
- package/dist/actions/create-carrier-account.cjs.map +1 -1
- package/dist/actions/create-carrier-account.d.cts +3 -31
- package/dist/actions/create-carrier-account.d.cts.map +1 -1
- package/dist/actions/create-carrier-account.d.mts +3 -31
- package/dist/actions/create-carrier-account.d.mts.map +1 -1
- package/dist/actions/create-carrier-account.mjs +1 -0
- package/dist/actions/create-carrier-account.mjs.map +1 -1
- package/dist/actions/create-customs-item.cjs +1 -0
- package/dist/actions/create-customs-item.cjs.map +1 -1
- package/dist/actions/create-customs-item.d.cts +3 -14
- package/dist/actions/create-customs-item.d.cts.map +1 -1
- package/dist/actions/create-customs-item.d.mts +3 -14
- package/dist/actions/create-customs-item.d.mts.map +1 -1
- package/dist/actions/create-customs-item.mjs +1 -0
- package/dist/actions/create-customs-item.mjs.map +1 -1
- package/dist/actions/create-live-rate.cjs +1 -0
- package/dist/actions/create-live-rate.cjs.map +1 -1
- package/dist/actions/create-live-rate.d.cts +3 -51
- package/dist/actions/create-live-rate.d.cts.map +1 -1
- package/dist/actions/create-live-rate.d.mts +3 -51
- package/dist/actions/create-live-rate.d.mts.map +1 -1
- package/dist/actions/create-live-rate.mjs +1 -0
- package/dist/actions/create-live-rate.mjs.map +1 -1
- package/dist/actions/create-manifest.cjs +1 -0
- package/dist/actions/create-manifest.cjs.map +1 -1
- package/dist/actions/create-manifest.d.cts +3 -8
- package/dist/actions/create-manifest.d.cts.map +1 -1
- package/dist/actions/create-manifest.d.mts +3 -8
- package/dist/actions/create-manifest.d.mts.map +1 -1
- package/dist/actions/create-manifest.mjs +1 -0
- package/dist/actions/create-manifest.mjs.map +1 -1
- package/dist/actions/create-merchant-address.cjs +1 -0
- package/dist/actions/create-merchant-address.cjs.map +1 -1
- package/dist/actions/create-merchant-address.d.cts +3 -17
- package/dist/actions/create-merchant-address.d.cts.map +1 -1
- package/dist/actions/create-merchant-address.d.mts +3 -17
- package/dist/actions/create-merchant-address.d.mts.map +1 -1
- package/dist/actions/create-merchant-address.mjs +1 -0
- package/dist/actions/create-merchant-address.mjs.map +1 -1
- package/dist/actions/create-merchant-batch.cjs +1 -0
- package/dist/actions/create-merchant-batch.cjs.map +1 -1
- package/dist/actions/create-merchant-batch.d.cts +5 -17
- package/dist/actions/create-merchant-batch.d.cts.map +1 -1
- package/dist/actions/create-merchant-batch.d.mts +5 -17
- package/dist/actions/create-merchant-batch.d.mts.map +1 -1
- package/dist/actions/create-merchant-batch.mjs +1 -0
- package/dist/actions/create-merchant-batch.mjs.map +1 -1
- package/dist/actions/create-merchant-carrier-account.cjs +1 -0
- package/dist/actions/create-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/create-merchant-carrier-account.d.cts +3 -33
- package/dist/actions/create-merchant-carrier-account.d.cts.map +1 -1
- package/dist/actions/create-merchant-carrier-account.d.mts +3 -33
- package/dist/actions/create-merchant-carrier-account.d.mts.map +1 -1
- package/dist/actions/create-merchant-carrier-account.mjs +1 -0
- package/dist/actions/create-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.cjs +1 -0
- package/dist/actions/create-merchant-customs-declaration.cjs.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.d.cts +4 -39
- package/dist/actions/create-merchant-customs-declaration.d.cts.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.d.mts +4 -39
- package/dist/actions/create-merchant-customs-declaration.d.mts.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.mjs +1 -0
- package/dist/actions/create-merchant-customs-declaration.mjs.map +1 -1
- package/dist/actions/create-merchant-customs-item.cjs +1 -0
- package/dist/actions/create-merchant-customs-item.cjs.map +1 -1
- package/dist/actions/create-merchant-customs-item.d.cts +4 -16
- package/dist/actions/create-merchant-customs-item.d.cts.map +1 -1
- package/dist/actions/create-merchant-customs-item.d.mts +4 -16
- package/dist/actions/create-merchant-customs-item.d.mts.map +1 -1
- package/dist/actions/create-merchant-customs-item.mjs +1 -0
- package/dist/actions/create-merchant-customs-item.mjs.map +1 -1
- package/dist/actions/create-merchant-order.cjs +1 -0
- package/dist/actions/create-merchant-order.cjs.map +1 -1
- package/dist/actions/create-merchant-order.d.cts +3 -51
- package/dist/actions/create-merchant-order.d.cts.map +1 -1
- package/dist/actions/create-merchant-order.d.mts +3 -51
- package/dist/actions/create-merchant-order.d.mts.map +1 -1
- package/dist/actions/create-merchant-order.mjs +1 -0
- package/dist/actions/create-merchant-order.mjs.map +1 -1
- package/dist/actions/create-merchant-parcel.cjs +1 -0
- package/dist/actions/create-merchant-parcel.cjs.map +1 -1
- package/dist/actions/create-merchant-parcel.d.cts +3 -26
- package/dist/actions/create-merchant-parcel.d.cts.map +1 -1
- package/dist/actions/create-merchant-parcel.d.mts +3 -26
- package/dist/actions/create-merchant-parcel.d.mts.map +1 -1
- package/dist/actions/create-merchant-parcel.mjs +1 -0
- package/dist/actions/create-merchant-parcel.mjs.map +1 -1
- package/dist/actions/create-merchant-refund.cjs +1 -0
- package/dist/actions/create-merchant-refund.cjs.map +1 -1
- package/dist/actions/create-merchant-refund.d.cts +3 -6
- package/dist/actions/create-merchant-refund.d.cts.map +1 -1
- package/dist/actions/create-merchant-refund.d.mts +3 -6
- package/dist/actions/create-merchant-refund.d.mts.map +1 -1
- package/dist/actions/create-merchant-refund.mjs +1 -0
- package/dist/actions/create-merchant-refund.mjs.map +1 -1
- package/dist/actions/create-merchant-shipment.cjs +1 -0
- package/dist/actions/create-merchant-shipment.cjs.map +1 -1
- package/dist/actions/create-merchant-shipment.d.cts +3 -69
- package/dist/actions/create-merchant-shipment.d.cts.map +1 -1
- package/dist/actions/create-merchant-shipment.d.mts +3 -69
- package/dist/actions/create-merchant-shipment.d.mts.map +1 -1
- package/dist/actions/create-merchant-shipment.mjs +1 -0
- package/dist/actions/create-merchant-shipment.mjs.map +1 -1
- package/dist/actions/create-merchant-transaction.cjs +1 -0
- package/dist/actions/create-merchant-transaction.cjs.map +1 -1
- package/dist/actions/create-merchant-transaction.d.cts +5 -10
- package/dist/actions/create-merchant-transaction.d.cts.map +1 -1
- package/dist/actions/create-merchant-transaction.d.mts +5 -10
- package/dist/actions/create-merchant-transaction.d.mts.map +1 -1
- package/dist/actions/create-merchant-transaction.mjs +1 -0
- package/dist/actions/create-merchant-transaction.mjs.map +1 -1
- package/dist/actions/create-order.cjs +1 -0
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +3 -56
- package/dist/actions/create-order.d.cts.map +1 -1
- package/dist/actions/create-order.d.mts +3 -56
- package/dist/actions/create-order.d.mts.map +1 -1
- package/dist/actions/create-order.mjs +1 -0
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/create-parcel.cjs +1 -0
- package/dist/actions/create-parcel.cjs.map +1 -1
- package/dist/actions/create-parcel.d.cts +3 -24
- package/dist/actions/create-parcel.d.cts.map +1 -1
- package/dist/actions/create-parcel.d.mts +3 -24
- package/dist/actions/create-parcel.d.mts.map +1 -1
- package/dist/actions/create-parcel.mjs +1 -0
- package/dist/actions/create-parcel.mjs.map +1 -1
- package/dist/actions/create-refund.cjs +1 -0
- package/dist/actions/create-refund.cjs.map +1 -1
- package/dist/actions/create-refund.d.cts +3 -5
- package/dist/actions/create-refund.d.cts.map +1 -1
- package/dist/actions/create-refund.d.mts +3 -5
- package/dist/actions/create-refund.d.mts.map +1 -1
- package/dist/actions/create-refund.mjs +1 -0
- package/dist/actions/create-refund.mjs.map +1 -1
- package/dist/actions/create-service-group.cjs +1 -0
- package/dist/actions/create-service-group.cjs.map +1 -1
- package/dist/actions/create-service-group.d.cts +3 -16
- package/dist/actions/create-service-group.d.cts.map +1 -1
- package/dist/actions/create-service-group.d.mts +3 -16
- package/dist/actions/create-service-group.d.mts.map +1 -1
- package/dist/actions/create-service-group.mjs +1 -0
- package/dist/actions/create-service-group.mjs.map +1 -1
- package/dist/actions/create-shipment.cjs +1 -0
- package/dist/actions/create-shipment.cjs.map +1 -1
- package/dist/actions/create-shipment.d.cts +3 -56
- package/dist/actions/create-shipment.d.cts.map +1 -1
- package/dist/actions/create-shipment.d.mts +3 -56
- package/dist/actions/create-shipment.d.mts.map +1 -1
- package/dist/actions/create-shipment.mjs +1 -0
- package/dist/actions/create-shipment.mjs.map +1 -1
- package/dist/actions/create-track.cjs +1 -0
- package/dist/actions/create-track.cjs.map +1 -1
- package/dist/actions/create-track.d.cts +3 -6
- package/dist/actions/create-track.d.cts.map +1 -1
- package/dist/actions/create-track.d.mts +3 -6
- package/dist/actions/create-track.d.mts.map +1 -1
- package/dist/actions/create-track.mjs +1 -0
- package/dist/actions/create-track.mjs.map +1 -1
- package/dist/actions/create-transaction.cjs +1 -0
- package/dist/actions/create-transaction.cjs.map +1 -1
- package/dist/actions/create-transaction.d.cts +5 -12
- package/dist/actions/create-transaction.d.cts.map +1 -1
- package/dist/actions/create-transaction.d.mts +5 -12
- package/dist/actions/create-transaction.d.mts.map +1 -1
- package/dist/actions/create-transaction.mjs +1 -0
- package/dist/actions/create-transaction.mjs.map +1 -1
- package/dist/actions/create-user-parcel-template.cjs +1 -0
- package/dist/actions/create-user-parcel-template.cjs.map +1 -1
- package/dist/actions/create-user-parcel-template.d.cts +3 -6
- package/dist/actions/create-user-parcel-template.d.cts.map +1 -1
- package/dist/actions/create-user-parcel-template.d.mts +3 -6
- package/dist/actions/create-user-parcel-template.d.mts.map +1 -1
- package/dist/actions/create-user-parcel-template.mjs +1 -0
- package/dist/actions/create-user-parcel-template.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -5
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -5
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-default-parcel-template.cjs +1 -0
- package/dist/actions/delete-default-parcel-template.cjs.map +1 -1
- package/dist/actions/delete-default-parcel-template.d.cts +3 -3
- package/dist/actions/delete-default-parcel-template.d.cts.map +1 -1
- package/dist/actions/delete-default-parcel-template.d.mts +3 -3
- package/dist/actions/delete-default-parcel-template.d.mts.map +1 -1
- package/dist/actions/delete-default-parcel-template.mjs +1 -0
- package/dist/actions/delete-default-parcel-template.mjs.map +1 -1
- package/dist/actions/delete-user-parcel-template.cjs +1 -0
- package/dist/actions/delete-user-parcel-template.cjs.map +1 -1
- package/dist/actions/delete-user-parcel-template.d.cts +3 -4
- package/dist/actions/delete-user-parcel-template.d.cts.map +1 -1
- package/dist/actions/delete-user-parcel-template.d.mts +3 -4
- package/dist/actions/delete-user-parcel-template.d.mts.map +1 -1
- package/dist/actions/delete-user-parcel-template.mjs +1 -0
- package/dist/actions/delete-user-parcel-template.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -4
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -4
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-address.cjs +1 -0
- package/dist/actions/get-address.cjs.map +1 -1
- package/dist/actions/get-address.d.cts +3 -4
- package/dist/actions/get-address.d.cts.map +1 -1
- package/dist/actions/get-address.d.mts +3 -4
- package/dist/actions/get-address.d.mts.map +1 -1
- package/dist/actions/get-address.mjs +1 -0
- package/dist/actions/get-address.mjs.map +1 -1
- package/dist/actions/get-carrier-account.cjs +1 -0
- package/dist/actions/get-carrier-account.cjs.map +1 -1
- package/dist/actions/get-carrier-account.d.cts +3 -4
- package/dist/actions/get-carrier-account.d.cts.map +1 -1
- package/dist/actions/get-carrier-account.d.mts +3 -4
- package/dist/actions/get-carrier-account.d.mts.map +1 -1
- package/dist/actions/get-carrier-account.mjs +1 -0
- package/dist/actions/get-carrier-account.mjs.map +1 -1
- package/dist/actions/get-carrier-parcel-template.cjs +1 -0
- package/dist/actions/get-carrier-parcel-template.cjs.map +1 -1
- package/dist/actions/get-carrier-parcel-template.d.cts +3 -4
- package/dist/actions/get-carrier-parcel-template.d.cts.map +1 -1
- package/dist/actions/get-carrier-parcel-template.d.mts +3 -4
- package/dist/actions/get-carrier-parcel-template.d.mts.map +1 -1
- package/dist/actions/get-carrier-parcel-template.mjs +1 -0
- package/dist/actions/get-carrier-parcel-template.mjs.map +1 -1
- package/dist/actions/get-carrier-registration-status.cjs +1 -0
- package/dist/actions/get-carrier-registration-status.cjs.map +1 -1
- package/dist/actions/get-carrier-registration-status.d.cts +3 -3
- package/dist/actions/get-carrier-registration-status.d.cts.map +1 -1
- package/dist/actions/get-carrier-registration-status.d.mts +3 -3
- package/dist/actions/get-carrier-registration-status.d.mts.map +1 -1
- package/dist/actions/get-carrier-registration-status.mjs +1 -0
- package/dist/actions/get-carrier-registration-status.mjs.map +1 -1
- package/dist/actions/get-customs-declaration.cjs +1 -0
- package/dist/actions/get-customs-declaration.cjs.map +1 -1
- package/dist/actions/get-customs-declaration.d.cts +3 -5
- package/dist/actions/get-customs-declaration.d.cts.map +1 -1
- package/dist/actions/get-customs-declaration.d.mts +3 -5
- package/dist/actions/get-customs-declaration.d.mts.map +1 -1
- package/dist/actions/get-customs-declaration.mjs +1 -0
- package/dist/actions/get-customs-declaration.mjs.map +1 -1
- package/dist/actions/get-customs-item.cjs +1 -0
- package/dist/actions/get-customs-item.cjs.map +1 -1
- package/dist/actions/get-customs-item.d.cts +3 -5
- package/dist/actions/get-customs-item.d.cts.map +1 -1
- package/dist/actions/get-customs-item.d.mts +3 -5
- package/dist/actions/get-customs-item.d.mts.map +1 -1
- package/dist/actions/get-customs-item.mjs +1 -0
- package/dist/actions/get-customs-item.mjs.map +1 -1
- package/dist/actions/get-default-parcel-template.cjs +1 -0
- package/dist/actions/get-default-parcel-template.cjs.map +1 -1
- package/dist/actions/get-default-parcel-template.d.cts +3 -3
- package/dist/actions/get-default-parcel-template.d.cts.map +1 -1
- package/dist/actions/get-default-parcel-template.d.mts +3 -3
- package/dist/actions/get-default-parcel-template.d.mts.map +1 -1
- package/dist/actions/get-default-parcel-template.mjs +1 -0
- package/dist/actions/get-default-parcel-template.mjs.map +1 -1
- package/dist/actions/get-merchant-address.cjs +1 -0
- package/dist/actions/get-merchant-address.cjs.map +1 -1
- package/dist/actions/get-merchant-address.d.cts +3 -5
- package/dist/actions/get-merchant-address.d.cts.map +1 -1
- package/dist/actions/get-merchant-address.d.mts +3 -5
- package/dist/actions/get-merchant-address.d.mts.map +1 -1
- package/dist/actions/get-merchant-address.mjs +1 -0
- package/dist/actions/get-merchant-address.mjs.map +1 -1
- package/dist/actions/get-merchant-batch.cjs +1 -0
- package/dist/actions/get-merchant-batch.cjs.map +1 -1
- package/dist/actions/get-merchant-batch.d.cts +5 -7
- package/dist/actions/get-merchant-batch.d.cts.map +1 -1
- package/dist/actions/get-merchant-batch.d.mts +5 -7
- package/dist/actions/get-merchant-batch.d.mts.map +1 -1
- package/dist/actions/get-merchant-batch.mjs +1 -0
- package/dist/actions/get-merchant-batch.mjs.map +1 -1
- package/dist/actions/get-merchant-carrier-account.cjs +1 -0
- package/dist/actions/get-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/get-merchant-carrier-account.d.cts +3 -5
- package/dist/actions/get-merchant-carrier-account.d.cts.map +1 -1
- package/dist/actions/get-merchant-carrier-account.d.mts +3 -5
- package/dist/actions/get-merchant-carrier-account.d.mts.map +1 -1
- package/dist/actions/get-merchant-carrier-account.mjs +1 -0
- package/dist/actions/get-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.cjs +1 -0
- package/dist/actions/get-merchant-carrier-registration-status.cjs.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.d.cts +3 -5
- package/dist/actions/get-merchant-carrier-registration-status.d.cts.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.d.mts +3 -5
- package/dist/actions/get-merchant-carrier-registration-status.d.mts.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.mjs +1 -0
- package/dist/actions/get-merchant-carrier-registration-status.mjs.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.cjs +1 -0
- package/dist/actions/get-merchant-customs-declaration.cjs.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.d.cts +3 -6
- package/dist/actions/get-merchant-customs-declaration.d.cts.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.d.mts +3 -6
- package/dist/actions/get-merchant-customs-declaration.d.mts.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.mjs +1 -0
- package/dist/actions/get-merchant-customs-declaration.mjs.map +1 -1
- package/dist/actions/get-merchant-customs-item.cjs +1 -0
- package/dist/actions/get-merchant-customs-item.cjs.map +1 -1
- package/dist/actions/get-merchant-customs-item.d.cts +3 -6
- package/dist/actions/get-merchant-customs-item.d.cts.map +1 -1
- package/dist/actions/get-merchant-customs-item.d.mts +3 -6
- package/dist/actions/get-merchant-customs-item.d.mts.map +1 -1
- package/dist/actions/get-merchant-customs-item.mjs +1 -0
- package/dist/actions/get-merchant-customs-item.mjs.map +1 -1
- package/dist/actions/get-merchant-manifest.cjs +1 -0
- package/dist/actions/get-merchant-manifest.cjs.map +1 -1
- package/dist/actions/get-merchant-manifest.d.cts +3 -5
- package/dist/actions/get-merchant-manifest.d.cts.map +1 -1
- package/dist/actions/get-merchant-manifest.d.mts +3 -5
- package/dist/actions/get-merchant-manifest.d.mts.map +1 -1
- package/dist/actions/get-merchant-manifest.mjs +1 -0
- package/dist/actions/get-merchant-manifest.mjs.map +1 -1
- package/dist/actions/get-merchant-order.cjs +1 -0
- package/dist/actions/get-merchant-order.cjs.map +1 -1
- package/dist/actions/get-merchant-order.d.cts +3 -5
- package/dist/actions/get-merchant-order.d.cts.map +1 -1
- package/dist/actions/get-merchant-order.d.mts +3 -5
- package/dist/actions/get-merchant-order.d.mts.map +1 -1
- package/dist/actions/get-merchant-order.mjs +1 -0
- package/dist/actions/get-merchant-order.mjs.map +1 -1
- package/dist/actions/get-merchant-parcel.cjs +1 -0
- package/dist/actions/get-merchant-parcel.cjs.map +1 -1
- package/dist/actions/get-merchant-parcel.d.cts +3 -5
- package/dist/actions/get-merchant-parcel.d.cts.map +1 -1
- package/dist/actions/get-merchant-parcel.d.mts +3 -5
- package/dist/actions/get-merchant-parcel.d.mts.map +1 -1
- package/dist/actions/get-merchant-parcel.mjs +1 -0
- package/dist/actions/get-merchant-parcel.mjs.map +1 -1
- package/dist/actions/get-merchant-rate.cjs +1 -0
- package/dist/actions/get-merchant-rate.cjs.map +1 -1
- package/dist/actions/get-merchant-rate.d.cts +3 -5
- package/dist/actions/get-merchant-rate.d.cts.map +1 -1
- package/dist/actions/get-merchant-rate.d.mts +3 -5
- package/dist/actions/get-merchant-rate.d.mts.map +1 -1
- package/dist/actions/get-merchant-rate.mjs +1 -0
- package/dist/actions/get-merchant-rate.mjs.map +1 -1
- package/dist/actions/get-merchant-refund.cjs +1 -0
- package/dist/actions/get-merchant-refund.cjs.map +1 -1
- package/dist/actions/get-merchant-refund.d.cts +3 -5
- package/dist/actions/get-merchant-refund.d.cts.map +1 -1
- package/dist/actions/get-merchant-refund.d.mts +3 -5
- package/dist/actions/get-merchant-refund.d.mts.map +1 -1
- package/dist/actions/get-merchant-refund.mjs +1 -0
- package/dist/actions/get-merchant-refund.mjs.map +1 -1
- package/dist/actions/get-merchant-shipment.cjs +1 -0
- package/dist/actions/get-merchant-shipment.cjs.map +1 -1
- package/dist/actions/get-merchant-shipment.d.cts +3 -5
- package/dist/actions/get-merchant-shipment.d.cts.map +1 -1
- package/dist/actions/get-merchant-shipment.d.mts +3 -5
- package/dist/actions/get-merchant-shipment.d.mts.map +1 -1
- package/dist/actions/get-merchant-shipment.mjs +1 -0
- package/dist/actions/get-merchant-shipment.mjs.map +1 -1
- package/dist/actions/get-merchant-track.cjs +1 -0
- package/dist/actions/get-merchant-track.cjs.map +1 -1
- package/dist/actions/get-merchant-track.d.cts +3 -6
- package/dist/actions/get-merchant-track.d.cts.map +1 -1
- package/dist/actions/get-merchant-track.d.mts +3 -6
- package/dist/actions/get-merchant-track.d.mts.map +1 -1
- package/dist/actions/get-merchant-track.mjs +1 -0
- package/dist/actions/get-merchant-track.mjs.map +1 -1
- package/dist/actions/get-merchant-transaction.cjs +1 -0
- package/dist/actions/get-merchant-transaction.cjs.map +1 -1
- package/dist/actions/get-merchant-transaction.d.cts +5 -7
- package/dist/actions/get-merchant-transaction.d.cts.map +1 -1
- package/dist/actions/get-merchant-transaction.d.mts +5 -7
- package/dist/actions/get-merchant-transaction.d.mts.map +1 -1
- package/dist/actions/get-merchant-transaction.mjs +1 -0
- package/dist/actions/get-merchant-transaction.mjs.map +1 -1
- package/dist/actions/get-merchant.cjs +1 -0
- package/dist/actions/get-merchant.cjs.map +1 -1
- package/dist/actions/get-merchant.d.cts +3 -4
- package/dist/actions/get-merchant.d.cts.map +1 -1
- package/dist/actions/get-merchant.d.mts +3 -4
- package/dist/actions/get-merchant.d.mts.map +1 -1
- package/dist/actions/get-merchant.mjs +1 -0
- package/dist/actions/get-merchant.mjs.map +1 -1
- package/dist/actions/get-order.cjs +1 -0
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +3 -4
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +3 -4
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs +1 -0
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-parcel.cjs +1 -0
- package/dist/actions/get-parcel.cjs.map +1 -1
- package/dist/actions/get-parcel.d.cts +3 -4
- package/dist/actions/get-parcel.d.cts.map +1 -1
- package/dist/actions/get-parcel.d.mts +3 -4
- package/dist/actions/get-parcel.d.mts.map +1 -1
- package/dist/actions/get-parcel.mjs +1 -0
- package/dist/actions/get-parcel.mjs.map +1 -1
- package/dist/actions/get-rate.cjs +1 -0
- package/dist/actions/get-rate.cjs.map +1 -1
- package/dist/actions/get-rate.d.cts +3 -4
- package/dist/actions/get-rate.d.cts.map +1 -1
- package/dist/actions/get-rate.d.mts +3 -4
- package/dist/actions/get-rate.d.mts.map +1 -1
- package/dist/actions/get-rate.mjs +1 -0
- package/dist/actions/get-rate.mjs.map +1 -1
- package/dist/actions/get-refund.cjs +1 -0
- package/dist/actions/get-refund.cjs.map +1 -1
- package/dist/actions/get-refund.d.cts +3 -4
- package/dist/actions/get-refund.d.cts.map +1 -1
- package/dist/actions/get-refund.d.mts +3 -4
- package/dist/actions/get-refund.d.mts.map +1 -1
- package/dist/actions/get-refund.mjs +1 -0
- package/dist/actions/get-refund.mjs.map +1 -1
- package/dist/actions/get-shipment.cjs +1 -0
- package/dist/actions/get-shipment.cjs.map +1 -1
- package/dist/actions/get-shipment.d.cts +3 -4
- package/dist/actions/get-shipment.d.cts.map +1 -1
- package/dist/actions/get-shipment.d.mts +3 -4
- package/dist/actions/get-shipment.d.mts.map +1 -1
- package/dist/actions/get-shipment.mjs +1 -0
- package/dist/actions/get-shipment.mjs.map +1 -1
- package/dist/actions/get-shippo-account.cjs +1 -0
- package/dist/actions/get-shippo-account.cjs.map +1 -1
- package/dist/actions/get-shippo-account.d.cts +3 -4
- package/dist/actions/get-shippo-account.d.cts.map +1 -1
- package/dist/actions/get-shippo-account.d.mts +3 -4
- package/dist/actions/get-shippo-account.d.mts.map +1 -1
- package/dist/actions/get-shippo-account.mjs +1 -0
- package/dist/actions/get-shippo-account.mjs.map +1 -1
- package/dist/actions/get-track.cjs +1 -0
- package/dist/actions/get-track.cjs.map +1 -1
- package/dist/actions/get-track.d.cts +3 -5
- package/dist/actions/get-track.d.cts.map +1 -1
- package/dist/actions/get-track.d.mts +3 -5
- package/dist/actions/get-track.d.mts.map +1 -1
- package/dist/actions/get-track.mjs +1 -0
- package/dist/actions/get-track.mjs.map +1 -1
- package/dist/actions/get-transaction.cjs +1 -0
- package/dist/actions/get-transaction.cjs.map +1 -1
- package/dist/actions/get-transaction.d.cts +3 -4
- package/dist/actions/get-transaction.d.cts.map +1 -1
- package/dist/actions/get-transaction.d.mts +3 -4
- package/dist/actions/get-transaction.d.mts.map +1 -1
- package/dist/actions/get-transaction.mjs +1 -0
- package/dist/actions/get-transaction.mjs.map +1 -1
- package/dist/actions/get-user-parcel-template.cjs +1 -0
- package/dist/actions/get-user-parcel-template.cjs.map +1 -1
- package/dist/actions/get-user-parcel-template.d.cts +3 -4
- package/dist/actions/get-user-parcel-template.d.cts.map +1 -1
- package/dist/actions/get-user-parcel-template.d.mts +3 -4
- package/dist/actions/get-user-parcel-template.d.mts.map +1 -1
- package/dist/actions/get-user-parcel-template.mjs +1 -0
- package/dist/actions/get-user-parcel-template.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -3
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-addresses.cjs +1 -0
- package/dist/actions/list-addresses.cjs.map +1 -1
- package/dist/actions/list-addresses.d.cts +3 -5
- package/dist/actions/list-addresses.d.cts.map +1 -1
- package/dist/actions/list-addresses.d.mts +3 -5
- package/dist/actions/list-addresses.d.mts.map +1 -1
- package/dist/actions/list-addresses.mjs +1 -0
- package/dist/actions/list-addresses.mjs.map +1 -1
- package/dist/actions/list-carrier-accounts.cjs +1 -0
- package/dist/actions/list-carrier-accounts.cjs.map +1 -1
- package/dist/actions/list-carrier-accounts.d.cts +3 -5
- package/dist/actions/list-carrier-accounts.d.cts.map +1 -1
- package/dist/actions/list-carrier-accounts.d.mts +3 -5
- package/dist/actions/list-carrier-accounts.d.mts.map +1 -1
- package/dist/actions/list-carrier-accounts.mjs +1 -0
- package/dist/actions/list-carrier-accounts.mjs.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.cjs +1 -0
- package/dist/actions/list-carrier-parcel-templates.cjs.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.d.cts +3 -5
- package/dist/actions/list-carrier-parcel-templates.d.cts.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.d.mts +3 -5
- package/dist/actions/list-carrier-parcel-templates.d.mts.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.mjs +1 -0
- package/dist/actions/list-carrier-parcel-templates.mjs.map +1 -1
- package/dist/actions/list-customs-declarations.cjs +1 -0
- package/dist/actions/list-customs-declarations.cjs.map +1 -1
- package/dist/actions/list-customs-declarations.d.cts +3 -5
- package/dist/actions/list-customs-declarations.d.cts.map +1 -1
- package/dist/actions/list-customs-declarations.d.mts +3 -5
- package/dist/actions/list-customs-declarations.d.mts.map +1 -1
- package/dist/actions/list-customs-declarations.mjs +1 -0
- package/dist/actions/list-customs-declarations.mjs.map +1 -1
- package/dist/actions/list-customs-items.cjs +1 -0
- package/dist/actions/list-customs-items.cjs.map +1 -1
- package/dist/actions/list-customs-items.d.cts +3 -5
- package/dist/actions/list-customs-items.d.cts.map +1 -1
- package/dist/actions/list-customs-items.d.mts +3 -5
- package/dist/actions/list-customs-items.d.mts.map +1 -1
- package/dist/actions/list-customs-items.mjs +1 -0
- package/dist/actions/list-customs-items.mjs.map +1 -1
- package/dist/actions/list-manifests.cjs +1 -0
- package/dist/actions/list-manifests.cjs.map +1 -1
- package/dist/actions/list-manifests.d.cts +3 -5
- package/dist/actions/list-manifests.d.cts.map +1 -1
- package/dist/actions/list-manifests.d.mts +3 -5
- package/dist/actions/list-manifests.d.mts.map +1 -1
- package/dist/actions/list-manifests.mjs +1 -0
- package/dist/actions/list-manifests.mjs.map +1 -1
- package/dist/actions/list-merchant-addresses.cjs +1 -0
- package/dist/actions/list-merchant-addresses.cjs.map +1 -1
- package/dist/actions/list-merchant-addresses.d.cts +3 -6
- package/dist/actions/list-merchant-addresses.d.cts.map +1 -1
- package/dist/actions/list-merchant-addresses.d.mts +3 -6
- package/dist/actions/list-merchant-addresses.d.mts.map +1 -1
- package/dist/actions/list-merchant-addresses.mjs +1 -0
- package/dist/actions/list-merchant-addresses.mjs.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.cjs +1 -0
- package/dist/actions/list-merchant-carrier-accounts.cjs.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.d.cts +3 -6
- package/dist/actions/list-merchant-carrier-accounts.d.cts.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.d.mts +3 -6
- package/dist/actions/list-merchant-carrier-accounts.d.mts.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.mjs +1 -0
- package/dist/actions/list-merchant-carrier-accounts.mjs.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.cjs +1 -0
- package/dist/actions/list-merchant-customs-declarations.cjs.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.d.cts +3 -6
- package/dist/actions/list-merchant-customs-declarations.d.cts.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.d.mts +3 -6
- package/dist/actions/list-merchant-customs-declarations.d.mts.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.mjs +1 -0
- package/dist/actions/list-merchant-customs-declarations.mjs.map +1 -1
- package/dist/actions/list-merchant-customs-items.cjs +1 -0
- package/dist/actions/list-merchant-customs-items.cjs.map +1 -1
- package/dist/actions/list-merchant-customs-items.d.cts +3 -6
- package/dist/actions/list-merchant-customs-items.d.cts.map +1 -1
- package/dist/actions/list-merchant-customs-items.d.mts +3 -6
- package/dist/actions/list-merchant-customs-items.d.mts.map +1 -1
- package/dist/actions/list-merchant-customs-items.mjs +1 -0
- package/dist/actions/list-merchant-customs-items.mjs.map +1 -1
- package/dist/actions/list-merchant-manifests.cjs +1 -0
- package/dist/actions/list-merchant-manifests.cjs.map +1 -1
- package/dist/actions/list-merchant-manifests.d.cts +3 -6
- package/dist/actions/list-merchant-manifests.d.cts.map +1 -1
- package/dist/actions/list-merchant-manifests.d.mts +3 -6
- package/dist/actions/list-merchant-manifests.d.mts.map +1 -1
- package/dist/actions/list-merchant-manifests.mjs +1 -0
- package/dist/actions/list-merchant-manifests.mjs.map +1 -1
- package/dist/actions/list-merchant-parcels.cjs +1 -0
- package/dist/actions/list-merchant-parcels.cjs.map +1 -1
- package/dist/actions/list-merchant-parcels.d.cts +3 -6
- package/dist/actions/list-merchant-parcels.d.cts.map +1 -1
- package/dist/actions/list-merchant-parcels.d.mts +3 -6
- package/dist/actions/list-merchant-parcels.d.mts.map +1 -1
- package/dist/actions/list-merchant-parcels.mjs +1 -0
- package/dist/actions/list-merchant-parcels.mjs.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.cjs +1 -0
- package/dist/actions/list-merchant-shipment-rates-by-currency.cjs.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.cts +3 -8
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.cts.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts +3 -8
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.mjs +1 -0
- package/dist/actions/list-merchant-shipment-rates-by-currency.mjs.map +1 -1
- package/dist/actions/list-merchant-shipments.cjs +1 -0
- package/dist/actions/list-merchant-shipments.cjs.map +1 -1
- package/dist/actions/list-merchant-shipments.d.cts +3 -6
- package/dist/actions/list-merchant-shipments.d.cts.map +1 -1
- package/dist/actions/list-merchant-shipments.d.mts +3 -6
- package/dist/actions/list-merchant-shipments.d.mts.map +1 -1
- package/dist/actions/list-merchant-shipments.mjs +1 -0
- package/dist/actions/list-merchant-shipments.mjs.map +1 -1
- package/dist/actions/list-merchant-transactions.cjs +1 -0
- package/dist/actions/list-merchant-transactions.cjs.map +1 -1
- package/dist/actions/list-merchant-transactions.d.cts +3 -6
- package/dist/actions/list-merchant-transactions.d.cts.map +1 -1
- package/dist/actions/list-merchant-transactions.d.mts +3 -6
- package/dist/actions/list-merchant-transactions.d.mts.map +1 -1
- package/dist/actions/list-merchant-transactions.mjs +1 -0
- package/dist/actions/list-merchant-transactions.mjs.map +1 -1
- package/dist/actions/list-merchants.cjs +1 -0
- package/dist/actions/list-merchants.cjs.map +1 -1
- package/dist/actions/list-merchants.d.cts +3 -5
- package/dist/actions/list-merchants.d.cts.map +1 -1
- package/dist/actions/list-merchants.d.mts +3 -5
- package/dist/actions/list-merchants.d.mts.map +1 -1
- package/dist/actions/list-merchants.mjs +1 -0
- package/dist/actions/list-merchants.mjs.map +1 -1
- package/dist/actions/list-orders.cjs +1 -0
- package/dist/actions/list-orders.cjs.map +1 -1
- package/dist/actions/list-orders.d.cts +3 -5
- package/dist/actions/list-orders.d.cts.map +1 -1
- package/dist/actions/list-orders.d.mts +3 -5
- package/dist/actions/list-orders.d.mts.map +1 -1
- package/dist/actions/list-orders.mjs +1 -0
- package/dist/actions/list-orders.mjs.map +1 -1
- package/dist/actions/list-refunds.cjs +1 -0
- package/dist/actions/list-refunds.cjs.map +1 -1
- package/dist/actions/list-refunds.d.cts +3 -4
- package/dist/actions/list-refunds.d.cts.map +1 -1
- package/dist/actions/list-refunds.d.mts +3 -4
- package/dist/actions/list-refunds.d.mts.map +1 -1
- package/dist/actions/list-refunds.mjs +1 -0
- package/dist/actions/list-refunds.mjs.map +1 -1
- package/dist/actions/list-service-groups.cjs +1 -0
- 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.cts.map +1 -1
- package/dist/actions/list-service-groups.d.mts +3 -3
- package/dist/actions/list-service-groups.d.mts.map +1 -1
- package/dist/actions/list-service-groups.mjs +1 -0
- package/dist/actions/list-service-groups.mjs.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.cjs +1 -0
- package/dist/actions/list-shipment-rates-by-currency.cjs.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.d.cts +3 -7
- package/dist/actions/list-shipment-rates-by-currency.d.cts.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.d.mts +3 -7
- package/dist/actions/list-shipment-rates-by-currency.d.mts.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.mjs +1 -0
- package/dist/actions/list-shipment-rates-by-currency.mjs.map +1 -1
- package/dist/actions/list-shipment-rates.cjs +1 -0
- package/dist/actions/list-shipment-rates.cjs.map +1 -1
- package/dist/actions/list-shipment-rates.d.cts +3 -6
- package/dist/actions/list-shipment-rates.d.cts.map +1 -1
- package/dist/actions/list-shipment-rates.d.mts +3 -6
- package/dist/actions/list-shipment-rates.d.mts.map +1 -1
- package/dist/actions/list-shipment-rates.mjs +1 -0
- package/dist/actions/list-shipment-rates.mjs.map +1 -1
- package/dist/actions/list-shipments.cjs +1 -0
- package/dist/actions/list-shipments.cjs.map +1 -1
- package/dist/actions/list-shipments.d.cts +3 -5
- package/dist/actions/list-shipments.d.cts.map +1 -1
- package/dist/actions/list-shipments.d.mts +3 -5
- package/dist/actions/list-shipments.d.mts.map +1 -1
- package/dist/actions/list-shipments.mjs +1 -0
- package/dist/actions/list-shipments.mjs.map +1 -1
- package/dist/actions/list-shippo-accounts.cjs +1 -0
- package/dist/actions/list-shippo-accounts.cjs.map +1 -1
- package/dist/actions/list-shippo-accounts.d.cts +3 -3
- package/dist/actions/list-shippo-accounts.d.cts.map +1 -1
- package/dist/actions/list-shippo-accounts.d.mts +3 -3
- package/dist/actions/list-shippo-accounts.d.mts.map +1 -1
- package/dist/actions/list-shippo-accounts.mjs +1 -0
- package/dist/actions/list-shippo-accounts.mjs.map +1 -1
- package/dist/actions/list-user-parcel-templates.cjs +1 -0
- 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.cts.map +1 -1
- package/dist/actions/list-user-parcel-templates.d.mts +3 -3
- package/dist/actions/list-user-parcel-templates.d.mts.map +1 -1
- package/dist/actions/list-user-parcel-templates.mjs +1 -0
- package/dist/actions/list-user-parcel-templates.mjs.map +1 -1
- package/dist/actions/purchase-merchant-batch.cjs +1 -0
- package/dist/actions/purchase-merchant-batch.cjs.map +1 -1
- package/dist/actions/purchase-merchant-batch.d.cts +3 -5
- package/dist/actions/purchase-merchant-batch.d.cts.map +1 -1
- package/dist/actions/purchase-merchant-batch.d.mts +3 -5
- package/dist/actions/purchase-merchant-batch.d.mts.map +1 -1
- package/dist/actions/purchase-merchant-batch.mjs +1 -0
- package/dist/actions/purchase-merchant-batch.mjs.map +1 -1
- package/dist/actions/remove-shipments-from-batch.cjs +1 -0
- package/dist/actions/remove-shipments-from-batch.cjs.map +1 -1
- package/dist/actions/remove-shipments-from-batch.d.cts +3 -6
- package/dist/actions/remove-shipments-from-batch.d.cts.map +1 -1
- package/dist/actions/remove-shipments-from-batch.d.mts +3 -6
- package/dist/actions/remove-shipments-from-batch.d.mts.map +1 -1
- package/dist/actions/remove-shipments-from-batch.mjs +1 -0
- package/dist/actions/remove-shipments-from-batch.mjs.map +1 -1
- package/dist/actions/update-carrier-account.cjs +1 -0
- package/dist/actions/update-carrier-account.cjs.map +1 -1
- package/dist/actions/update-carrier-account.d.cts +3 -8
- package/dist/actions/update-carrier-account.d.cts.map +1 -1
- package/dist/actions/update-carrier-account.d.mts +3 -8
- package/dist/actions/update-carrier-account.d.mts.map +1 -1
- package/dist/actions/update-carrier-account.mjs +1 -0
- package/dist/actions/update-carrier-account.mjs.map +1 -1
- package/dist/actions/update-default-parcel-template.cjs +1 -0
- package/dist/actions/update-default-parcel-template.cjs.map +1 -1
- package/dist/actions/update-default-parcel-template.d.cts +3 -4
- package/dist/actions/update-default-parcel-template.d.cts.map +1 -1
- package/dist/actions/update-default-parcel-template.d.mts +3 -4
- package/dist/actions/update-default-parcel-template.d.mts.map +1 -1
- package/dist/actions/update-default-parcel-template.mjs +1 -0
- package/dist/actions/update-default-parcel-template.mjs.map +1 -1
- package/dist/actions/update-merchant-carrier-account.cjs +1 -0
- package/dist/actions/update-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/update-merchant-carrier-account.d.cts +3 -32
- package/dist/actions/update-merchant-carrier-account.d.cts.map +1 -1
- package/dist/actions/update-merchant-carrier-account.d.mts +3 -32
- package/dist/actions/update-merchant-carrier-account.d.mts.map +1 -1
- package/dist/actions/update-merchant-carrier-account.mjs +1 -0
- package/dist/actions/update-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/update-merchant.cjs +1 -0
- package/dist/actions/update-merchant.cjs.map +1 -1
- package/dist/actions/update-merchant.d.cts +3 -8
- package/dist/actions/update-merchant.d.cts.map +1 -1
- package/dist/actions/update-merchant.d.mts +3 -8
- package/dist/actions/update-merchant.d.mts.map +1 -1
- package/dist/actions/update-merchant.mjs +1 -0
- package/dist/actions/update-merchant.mjs.map +1 -1
- package/dist/actions/update-service-group.cjs +1 -0
- package/dist/actions/update-service-group.cjs.map +1 -1
- package/dist/actions/update-service-group.d.cts +3 -17
- package/dist/actions/update-service-group.d.cts.map +1 -1
- package/dist/actions/update-service-group.d.mts +3 -17
- package/dist/actions/update-service-group.d.mts.map +1 -1
- package/dist/actions/update-service-group.mjs +1 -0
- package/dist/actions/update-service-group.mjs.map +1 -1
- package/dist/actions/update-user-parcel-template.cjs +1 -0
- package/dist/actions/update-user-parcel-template.cjs.map +1 -1
- package/dist/actions/update-user-parcel-template.d.cts +3 -7
- package/dist/actions/update-user-parcel-template.d.cts.map +1 -1
- package/dist/actions/update-user-parcel-template.d.mts +3 -7
- package/dist/actions/update-user-parcel-template.d.mts.map +1 -1
- package/dist/actions/update-user-parcel-template.mjs +1 -0
- package/dist/actions/update-user-parcel-template.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -0
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -7
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -7
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +1 -0
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/validate-address.cjs +1 -0
- package/dist/actions/validate-address.cjs.map +1 -1
- package/dist/actions/validate-address.d.cts +3 -4
- package/dist/actions/validate-address.d.cts.map +1 -1
- package/dist/actions/validate-address.d.mts +3 -4
- package/dist/actions/validate-address.d.mts.map +1 -1
- package/dist/actions/validate-address.mjs +1 -0
- package/dist/actions/validate-address.mjs.map +1 -1
- package/dist/actions/validate-merchant-address.cjs +1 -0
- package/dist/actions/validate-merchant-address.cjs.map +1 -1
- package/dist/actions/validate-merchant-address.d.cts +3 -5
- package/dist/actions/validate-merchant-address.d.cts.map +1 -1
- package/dist/actions/validate-merchant-address.d.mts +3 -5
- package/dist/actions/validate-merchant-address.d.mts.map +1 -1
- package/dist/actions/validate-merchant-address.mjs +1 -0
- package/dist/actions/validate-merchant-address.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-customs-declaration.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Array of customs item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number). Must be provided if and only if b13a_filing_option is provided.\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs declaration was last updated\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-customs-declaration.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Array of customs item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number). Must be provided if and only if b13a_filing_option is provided.\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs declaration was last updated\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration: AppAction<\n typeof ShippoGetMerchantCustomsDeclarationInput,\n typeof ShippoGetMerchantCustomsDeclarationOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACzK,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAClJ,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AACpK,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,S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O,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,sCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shippo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-merchant-customs-declaration.d.ts
|
|
@@ -35,12 +37,7 @@ declare const ShippoGetMerchantCustomsDeclarationOutput: z.ZodObject<{
|
|
|
35
37
|
non_delivery_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
38
|
contents_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const shippoGetMerchantCustomsDeclaration:
|
|
39
|
-
merchant_id: string;
|
|
40
|
-
customs_declaration_id: string;
|
|
41
|
-
page?: number | undefined;
|
|
42
|
-
shippo_api_version?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
40
|
+
declare const shippoGetMerchantCustomsDeclaration: AppAction<typeof ShippoGetMerchantCustomsDeclarationInput, typeof ShippoGetMerchantCustomsDeclarationOutput, typeof shippo.credential>;
|
|
44
41
|
//#endregion
|
|
45
42
|
export { shippoGetMerchantCustomsDeclaration };
|
|
46
43
|
//# sourceMappingURL=get-merchant-customs-declaration.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-customs-declaration.d.cts","names":[],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-customs-declaration.d.cts","names":[],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;cAMxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shippo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-merchant-customs-declaration.d.ts
|
|
@@ -35,12 +37,7 @@ declare const ShippoGetMerchantCustomsDeclarationOutput: z.ZodObject<{
|
|
|
35
37
|
non_delivery_option: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
38
|
contents_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const shippoGetMerchantCustomsDeclaration:
|
|
39
|
-
merchant_id: string;
|
|
40
|
-
customs_declaration_id: string;
|
|
41
|
-
page?: number | undefined;
|
|
42
|
-
shippo_api_version?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
40
|
+
declare const shippoGetMerchantCustomsDeclaration: AppAction<typeof ShippoGetMerchantCustomsDeclarationInput, typeof ShippoGetMerchantCustomsDeclarationOutput, typeof shippo.credential>;
|
|
44
41
|
//#endregion
|
|
45
42
|
export { shippoGetMerchantCustomsDeclaration };
|
|
46
43
|
//# sourceMappingURL=get-merchant-customs-declaration.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-customs-declaration.d.mts","names":[],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-customs-declaration.d.mts","names":[],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;cAMxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-customs-declaration.mjs","names":[],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Array of customs item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number). Must be provided if and only if b13a_filing_option is provided.\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs declaration was last updated\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-customs-declaration.mjs","names":[],"sources":["../../src/actions/get-merchant-customs-declaration.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantCustomsDeclarationInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select for paginated results\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs declaration you want to retrieve. This is the merchant's unique identifier in Shippo's system.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n customs_declaration_id: z.string().describe(\"Object ID of the customs declaration to retrieve. Use this to fetch a specific declaration by its unique identifier.\"),\n}).describe(\"Request model for retrieving a specific customs declaration for a merchant via Platform API.\");\nexport const ShippoGetMerchantCustomsDeclarationOutput = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Array of customs item object IDs associated with this declaration\").nullable().optional(),\n notes: z.string().describe(\"Additional notes or instructions to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN (Automated Export System / Internal Transaction Number) reference of the shipment. Required if eel_pfc is 'AES_ITN'.\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information of the customs declaration truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information - EEL (Exemption and Exclusion Legend) or PFC (Proof of Filing Citation) code\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference number of the shipment\").nullable().optional(),\n license: z.string().describe(\"Export license reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA, DAP)\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata string, up to 100 characters. Use for storing your own reference data.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration object\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number). Must be provided if and only if b13a_filing_option is provided.\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the customs declaration\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (VALID or INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE, RETURNED_GOODS, OTHER)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided in the customs declaration\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs declaration was last updated\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.union([z.string(), z.boolean()]).nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN to return to sender, ABANDON to dispose)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods being shipped. Required if contents_type is 'OTHER'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the retrieved merchant customs declaration.\");\n\nexport const shippoGetMerchantCustomsDeclaration: AppAction<\n typeof ShippoGetMerchantCustomsDeclarationInput,\n typeof ShippoGetMerchantCustomsDeclarationOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_DECLARATION\", {\n slug: \"shippo-get-merchant-customs-declaration\",\n name: \"Get Merchant Customs Declaration\",\n description: \"Tool to retrieve a specific customs declaration for a merchant using Shippo's Platform API. Use when you need to fetch details about a merchant's customs declaration for international shipments.\",\n input: ShippoGetMerchantCustomsDeclarationInput,\n output: ShippoGetMerchantCustomsDeclarationOutput,\n});\n"],"mappings":";;;AAyCA,MAAa,sCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3CsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,C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OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-customs-item.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsItemInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs item you want to retrieve\"),\n customs_item_id: z.string().describe(\"Object ID of the customs item to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for retrieving a merchant customs item.\");\nexport const ShippoGetMerchantCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Whether this customs item was created in test mode\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored as a string\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item being shipped\").nullable(),\n sku_code: z.string().describe(\"Stock Keeping Unit (SKU) code for the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight (e.g., 'g', 'kg', 'lb', 'oz')\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this customs item object\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item\").nullable(),\n description: z.string().describe(\"Description of the item for customs purposes\").nullable(),\n object_owner: z.string().describe(\"Username of the account that owns this customs item\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID', 'INVALID')\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item\").nullable(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item object was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs item object was last updated\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code where the item originated (e.g., 'US', 'CN')\").nullable(),\n value_currency: z.string().describe(\"Currency code for the value amount (e.g., 'USD', 'EUR')\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a merchant customs item.\");\n\nexport const shippoGetMerchantCustomsItem = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_ITEM\", {\n slug: \"shippo-get-merchant-customs-item\",\n name: \"Get Merchant Customs Item\",\n description: \"Tool to retrieve a customs item for a merchant using the Shippo Platform API. Use when you need to fetch details about a specific customs item for a merchant's international shipments.\",\n input: ShippoGetMerchantCustomsItemInput,\n output: ShippoGetMerchantCustomsItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-customs-item.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-customs-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantCustomsItemInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs item you want to retrieve\"),\n customs_item_id: z.string().describe(\"Object ID of the customs item to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for retrieving a merchant customs item.\");\nexport const ShippoGetMerchantCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Whether this customs item was created in test mode\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored as a string\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item being shipped\").nullable(),\n sku_code: z.string().describe(\"Stock Keeping Unit (SKU) code for the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight (e.g., 'g', 'kg', 'lb', 'oz')\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this customs item object\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item\").nullable(),\n description: z.string().describe(\"Description of the item for customs purposes\").nullable(),\n object_owner: z.string().describe(\"Username of the account that owns this customs item\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID', 'INVALID')\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item\").nullable(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item object was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs item object was last updated\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code where the item originated (e.g., 'US', 'CN')\").nullable(),\n value_currency: z.string().describe(\"Currency code for the value amount (e.g., 'USD', 'EUR')\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a merchant customs item.\");\n\nexport const shippoGetMerchantCustomsItem: AppAction<\n typeof ShippoGetMerchantCustomsItemInput,\n typeof ShippoGetMerchantCustomsItemOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_ITEM\", {\n slug: \"shippo-get-merchant-customs-item\",\n name: \"Get Merchant Customs Item\",\n description: \"Tool to retrieve a customs item for a merchant using the Shippo Platform API. Use when you need to fetch details about a specific customs item for a merchant's international shipments.\",\n input: ShippoGetMerchantCustomsItemInput,\n output: ShippoGetMerchantCustomsItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,E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AAS,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC9G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shippo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-merchant-customs-item.d.ts
|
|
@@ -26,12 +28,7 @@ declare const ShippoGetMerchantCustomsItemOutput: z.ZodObject<{
|
|
|
26
28
|
origin_country: z.ZodNullable<z.ZodString>;
|
|
27
29
|
value_currency: z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const shippoGetMerchantCustomsItem:
|
|
30
|
-
merchant_id: string;
|
|
31
|
-
customs_item_id: string;
|
|
32
|
-
page?: number | undefined;
|
|
33
|
-
shippo_api_version?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const shippoGetMerchantCustomsItem: AppAction<typeof ShippoGetMerchantCustomsItemInput, typeof ShippoGetMerchantCustomsItemOutput, typeof shippo.credential>;
|
|
35
32
|
//#endregion
|
|
36
33
|
export { shippoGetMerchantCustomsItem };
|
|
37
34
|
//# sourceMappingURL=get-merchant-customs-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-customs-item.d.cts","names":[],"sources":["../../src/actions/get-merchant-customs-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-customs-item.d.cts","names":[],"sources":["../../src/actions/get-merchant-customs-item.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoBlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shippo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-merchant-customs-item.d.ts
|
|
@@ -26,12 +28,7 @@ declare const ShippoGetMerchantCustomsItemOutput: z.ZodObject<{
|
|
|
26
28
|
origin_country: z.ZodNullable<z.ZodString>;
|
|
27
29
|
value_currency: z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const shippoGetMerchantCustomsItem:
|
|
30
|
-
merchant_id: string;
|
|
31
|
-
customs_item_id: string;
|
|
32
|
-
page?: number | undefined;
|
|
33
|
-
shippo_api_version?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const shippoGetMerchantCustomsItem: AppAction<typeof ShippoGetMerchantCustomsItemInput, typeof ShippoGetMerchantCustomsItemOutput, typeof shippo.credential>;
|
|
35
32
|
//#endregion
|
|
36
33
|
export { shippoGetMerchantCustomsItem };
|
|
37
34
|
//# sourceMappingURL=get-merchant-customs-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-customs-item.d.mts","names":[],"sources":["../../src/actions/get-merchant-customs-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-customs-item.d.mts","names":[],"sources":["../../src/actions/get-merchant-customs-item.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoBlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-customs-item.mjs","names":[],"sources":["../../src/actions/get-merchant-customs-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantCustomsItemInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs item you want to retrieve\"),\n customs_item_id: z.string().describe(\"Object ID of the customs item to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for retrieving a merchant customs item.\");\nexport const ShippoGetMerchantCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Whether this customs item was created in test mode\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored as a string\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item being shipped\").nullable(),\n sku_code: z.string().describe(\"Stock Keeping Unit (SKU) code for the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight (e.g., 'g', 'kg', 'lb', 'oz')\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this customs item object\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item\").nullable(),\n description: z.string().describe(\"Description of the item for customs purposes\").nullable(),\n object_owner: z.string().describe(\"Username of the account that owns this customs item\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID', 'INVALID')\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item\").nullable(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item object was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs item object was last updated\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code where the item originated (e.g., 'US', 'CN')\").nullable(),\n value_currency: z.string().describe(\"Currency code for the value amount (e.g., 'USD', 'EUR')\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a merchant customs item.\");\n\nexport const shippoGetMerchantCustomsItem = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_ITEM\", {\n slug: \"shippo-get-merchant-customs-item\",\n name: \"Get Merchant Customs Item\",\n description: \"Tool to retrieve a customs item for a merchant using the Shippo Platform API. Use when you need to fetch details about a specific customs item for a merchant's international shipments.\",\n input: ShippoGetMerchantCustomsItemInput,\n output: ShippoGetMerchantCustomsItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-customs-item.mjs","names":[],"sources":["../../src/actions/get-merchant-customs-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantCustomsItemInput = z.object({\n page: z.number().int().describe(\"The page number you want to select\").optional(),\n merchant_id: z.string().describe(\"Object ID of the merchant whose customs item you want to retrieve\"),\n customs_item_id: z.string().describe(\"Object ID of the customs item to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for retrieving a merchant customs item.\");\nexport const ShippoGetMerchantCustomsItemOutput = z.object({\n test: z.boolean().describe(\"Whether this customs item was created in test mode\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored as a string\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of the item being shipped\").nullable(),\n sku_code: z.string().describe(\"Stock Keeping Unit (SKU) code for the item\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for the weight (e.g., 'g', 'kg', 'lb', 'oz')\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this customs item object\").nullable().optional(),\n eccn_ear99: z.string().describe(\"Export Control Classification Number (ECCN) or EAR99 designation\").nullable().optional(),\n net_weight: z.string().describe(\"Net weight of the item\").nullable(),\n description: z.string().describe(\"Description of the item for customs purposes\").nullable(),\n object_owner: z.string().describe(\"Username of the account that owns this customs item\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs item object (e.g., 'VALID', 'INVALID')\").nullable().optional(),\n value_amount: z.string().describe(\"Monetary value of the item\").nullable(),\n tariff_number: z.string().describe(\"Harmonized System (HS) tariff number for customs classification\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs item object was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the customs item object was last updated\").nullable().optional(),\n origin_country: z.string().describe(\"ISO country code where the item originated (e.g., 'US', 'CN')\").nullable(),\n value_currency: z.string().describe(\"Currency code for the value amount (e.g., 'USD', 'EUR')\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a merchant customs item.\");\n\nexport const shippoGetMerchantCustomsItem: AppAction<\n typeof ShippoGetMerchantCustomsItemInput,\n typeof ShippoGetMerchantCustomsItemOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_CUSTOMS_ITEM\", {\n slug: \"shippo-get-merchant-customs-item\",\n name: \"Get Merchant Customs Item\",\n description: \"Tool to retrieve a customs item for a merchant using the Shippo Platform API. Use when you need to fetch details about a specific customs item for a merchant's international shipments.\",\n input: ShippoGetMerchantCustomsItemInput,\n output: ShippoGetMerchantCustomsItemOutput,\n});\n"],"mappings":";;;AAgCA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlC+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAChF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,uDA6BH;CACP,QA7BgD,EAAE,OAAO;EACzD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAC9G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-manifest.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-manifest.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantManifestInput = z.object({\n manifest_id: z.string().describe(\"Object ID of the manifest to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant manifest.\");\nconst ShippoGetMerchantManifest_ManifestStatusSchema = z.enum([\"QUEUED\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for manifest status values.\");\nexport const ShippoGetMerchantManifestOutput = z.object({\n status: ShippoGetMerchantManifest_ManifestStatusSchema.nullable(),\n documents: z.array(z.string()).describe(\"Array of URLs to the manifest documents (typically PDF files)\"),\n object_id: z.string().describe(\"Unique identifier of the manifest object\").nullable(),\n address_from: z.string().describe(\"Object ID of the address from which the shipments originated\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the manifest object\").nullable(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs included in this manifest\"),\n shipment_date: z.string().describe(\"Date of shipment for the manifest in ISO 8601 format\").nullable(),\n object_created: z.string().describe(\"Date and time of manifest creation in ISO 8601 format\").nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the manifest in ISO 8601 format\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account used for this manifest\").nullable(),\n}).passthrough().describe(\"Response model for a merchant manifest.\");\n\nexport const shippoGetMerchantManifest = action(\"SHIPPO_GET_MERCHANT_MANIFEST\", {\n slug: \"shippo-get-merchant-manifest\",\n name: \"Get Merchant Manifest\",\n description: \"Tool to retrieve a manifest for a merchant from the Shippo Platform API. Use when you need to get details of an existing manifest using merchant and manifest IDs.\",\n input: ShippoGetMerchantManifestInput,\n output: ShippoGetMerchantManifestOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-manifest.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-manifest.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantManifestInput = z.object({\n manifest_id: z.string().describe(\"Object ID of the manifest to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant manifest.\");\nconst ShippoGetMerchantManifest_ManifestStatusSchema = z.enum([\"QUEUED\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for manifest status values.\");\nexport const ShippoGetMerchantManifestOutput = z.object({\n status: ShippoGetMerchantManifest_ManifestStatusSchema.nullable(),\n documents: z.array(z.string()).describe(\"Array of URLs to the manifest documents (typically PDF files)\"),\n object_id: z.string().describe(\"Unique identifier of the manifest object\").nullable(),\n address_from: z.string().describe(\"Object ID of the address from which the shipments originated\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the manifest object\").nullable(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs included in this manifest\"),\n shipment_date: z.string().describe(\"Date of shipment for the manifest in ISO 8601 format\").nullable(),\n object_created: z.string().describe(\"Date and time of manifest creation in ISO 8601 format\").nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the manifest in ISO 8601 format\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account used for this manifest\").nullable(),\n}).passthrough().describe(\"Response model for a merchant manifest.\");\n\nexport const shippoGetMerchantManifest: AppAction<\n typeof ShippoGetMerchantManifestInput,\n typeof ShippoGetMerchantManifestOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_MANIFEST\", {\n slug: \"shippo-get-merchant-manifest\",\n name: \"Get Merchant Manifest\",\n description: \"Tool to retrieve a manifest for a merchant from the Shippo Platform API. Use when you need to get details of an existing manifest using merchant and manifest IDs.\",\n input: ShippoGetMerchantManifestInput,\n output: ShippoGetMerchantManifestOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAA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|
|
3
5
|
//#region src/actions/get-merchant-manifest.d.ts
|
|
@@ -22,11 +24,7 @@ declare const ShippoGetMerchantManifestOutput: z.ZodObject<{
|
|
|
22
24
|
object_updated: z.ZodNullable<z.ZodString>;
|
|
23
25
|
carrier_account: z.ZodNullable<z.ZodString>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const shippoGetMerchantManifest:
|
|
26
|
-
manifest_id: string;
|
|
27
|
-
merchant_id: string;
|
|
28
|
-
shippo_api_version?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const shippoGetMerchantManifest: AppAction<typeof ShippoGetMerchantManifestInput, typeof ShippoGetMerchantManifestOutput, typeof shippo.credential>;
|
|
30
28
|
//#endregion
|
|
31
29
|
export { shippoGetMerchantManifest };
|
|
32
30
|
//# sourceMappingURL=get-merchant-manifest.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-manifest.d.cts","names":[],"sources":["../../src/actions/get-merchant-manifest.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-manifest.d.cts","names":[],"sources":["../../src/actions/get-merchant-manifest.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAa/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shippo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-merchant-manifest.d.ts
|
|
@@ -22,11 +24,7 @@ declare const ShippoGetMerchantManifestOutput: z.ZodObject<{
|
|
|
22
24
|
object_updated: z.ZodNullable<z.ZodString>;
|
|
23
25
|
carrier_account: z.ZodNullable<z.ZodString>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const shippoGetMerchantManifest:
|
|
26
|
-
manifest_id: string;
|
|
27
|
-
merchant_id: string;
|
|
28
|
-
shippo_api_version?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const shippoGetMerchantManifest: AppAction<typeof ShippoGetMerchantManifestInput, typeof ShippoGetMerchantManifestOutput, typeof shippo.credential>;
|
|
30
28
|
//#endregion
|
|
31
29
|
export { shippoGetMerchantManifest };
|
|
32
30
|
//# sourceMappingURL=get-merchant-manifest.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-manifest.d.mts","names":[],"sources":["../../src/actions/get-merchant-manifest.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-manifest.d.mts","names":[],"sources":["../../src/actions/get-merchant-manifest.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAa/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-manifest.mjs","names":[],"sources":["../../src/actions/get-merchant-manifest.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantManifestInput = z.object({\n manifest_id: z.string().describe(\"Object ID of the manifest to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant manifest.\");\nconst ShippoGetMerchantManifest_ManifestStatusSchema = z.enum([\"QUEUED\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for manifest status values.\");\nexport const ShippoGetMerchantManifestOutput = z.object({\n status: ShippoGetMerchantManifest_ManifestStatusSchema.nullable(),\n documents: z.array(z.string()).describe(\"Array of URLs to the manifest documents (typically PDF files)\"),\n object_id: z.string().describe(\"Unique identifier of the manifest object\").nullable(),\n address_from: z.string().describe(\"Object ID of the address from which the shipments originated\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the manifest object\").nullable(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs included in this manifest\"),\n shipment_date: z.string().describe(\"Date of shipment for the manifest in ISO 8601 format\").nullable(),\n object_created: z.string().describe(\"Date and time of manifest creation in ISO 8601 format\").nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the manifest in ISO 8601 format\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account used for this manifest\").nullable(),\n}).passthrough().describe(\"Response model for a merchant manifest.\");\n\nexport const shippoGetMerchantManifest = action(\"SHIPPO_GET_MERCHANT_MANIFEST\", {\n slug: \"shippo-get-merchant-manifest\",\n name: \"Get Merchant Manifest\",\n description: \"Tool to retrieve a manifest for a merchant from the Shippo Platform API. Use when you need to get details of an existing manifest using merchant and manifest IDs.\",\n input: ShippoGetMerchantManifestInput,\n output: ShippoGetMerchantManifestOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-manifest.mjs","names":[],"sources":["../../src/actions/get-merchant-manifest.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantManifestInput = z.object({\n manifest_id: z.string().describe(\"Object ID of the manifest to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant manifest.\");\nconst ShippoGetMerchantManifest_ManifestStatusSchema = z.enum([\"QUEUED\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for manifest status values.\");\nexport const ShippoGetMerchantManifestOutput = z.object({\n status: ShippoGetMerchantManifest_ManifestStatusSchema.nullable(),\n documents: z.array(z.string()).describe(\"Array of URLs to the manifest documents (typically PDF files)\"),\n object_id: z.string().describe(\"Unique identifier of the manifest object\").nullable(),\n address_from: z.string().describe(\"Object ID of the address from which the shipments originated\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the manifest object\").nullable(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs included in this manifest\"),\n shipment_date: z.string().describe(\"Date of shipment for the manifest in ISO 8601 format\").nullable(),\n object_created: z.string().describe(\"Date and time of manifest creation in ISO 8601 format\").nullable(),\n object_updated: z.string().describe(\"Date and time of last update to the manifest in ISO 8601 format\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account used for this manifest\").nullable(),\n}).passthrough().describe(\"Response model for a merchant manifest.\");\n\nexport const shippoGetMerchantManifest: AppAction<\n typeof ShippoGetMerchantManifestInput,\n typeof ShippoGetMerchantManifestOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_MANIFEST\", {\n slug: \"shippo-get-merchant-manifest\",\n name: \"Get Merchant Manifest\",\n description: \"Tool to retrieve a manifest for a merchant from the Shippo Platform API. Use when you need to get details of an existing manifest using merchant and manifest IDs.\",\n input: ShippoGetMerchantManifestInput,\n output: ShippoGetMerchantManifestOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAAiD,EAAE,KAAK;CAAC;CAAU;CAAW;AAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAczI,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtB6C,EAAE,OAAO;EACtD,QAAQ,+CAA+C,SAAS;EAChE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;EACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAChH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-order.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantOrderInput = z.object({\n order_id: z.string().describe(\"Object ID of the order to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant order.\");\nconst ShippoGetMerchantOrder_OrderLineItemSchema = z.object({\n sku: z.string().describe(\"SKU of the item\").nullable().optional(),\n title: z.string().describe(\"Title or name of the item\").nullable().optional(),\n weight: z.string().describe(\"Weight of the item\").nullable().optional(),\n currency: z.string().describe(\"Currency code (ISO 4217)\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity ordered\").nullable().optional(),\n total_price: z.string().describe(\"Total price for this line item\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of weight (g, kg, lb, oz)\").nullable().optional(),\n max_ship_time: z.string().describe(\"Maximum ship time\").nullable().optional(),\n variant_title: z.string().describe(\"Variant title of the item\").nullable().optional(),\n max_delivery_time: z.string().describe(\"Maximum delivery time\").nullable().optional(),\n manufacture_country: z.string().describe(\"Country of manufacture (ISO 3166-1 alpha-2)\").nullable().optional(),\n}).passthrough().describe(\"Line item in an order.\");\nconst ShippoGetMerchantOrder_OrderAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable(),\n city: z.string().describe(\"City\").nullable(),\n name: z.string().describe(\"Name at the address\").nullable(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable(),\n street1: z.string().describe(\"First street line\").nullable(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n}).passthrough().describe(\"Address information for an order.\");\nconst ShippoGetMerchantOrder_WeightUnitSchema = z.enum([\"g\", \"kg\", \"lb\", \"oz\"]).describe(\"Enum for weight unit values.\");\nconst ShippoGetMerchantOrder_OrderStatusSchema = z.enum([\"UNKNOWN\", \"AWAITPAY\", \"PAID\", \"REFUNDED\", \"PARTIALLY_FULFILLED\", \"SHIPPED\"]).describe(\"Enum for order status values.\");\nexport const ShippoGetMerchantOrderOutput = z.object({\n notes: z.string().describe(\"Custom buyer- or seller-provided notes about the order\").nullable().optional(),\n weight: z.string().describe(\"Total weight of the order\").nullable().optional(),\n currency: z.string().describe(\"Currency of the total_price and total_tax amounts (ISO 4217). Required if total_price is provided\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the order\").nullable().optional(),\n placed_at: z.string().describe(\"Date and time when the order was placed in ISO 8601 format. This datetime can be different from the datetime of the order object creation on Shippo.\").nullable(),\n total_tax: z.string().describe(\"Total tax amount paid by the buyer for this order\").nullable().optional(),\n line_items: z.array(ShippoGetMerchantOrder_OrderLineItemSchema).describe(\"Array of line item objects representing the items in this order. All objects will be returned expanded by default.\").nullable().optional(),\n to_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable(),\n total_price: z.string().describe(\"Total amount paid by the buyer for this order\").nullable().optional(),\n weight_unit: ShippoGetMerchantOrder_WeightUnitSchema.nullable().optional(),\n from_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the order object (email address)\").nullable().optional(),\n order_number: z.string().describe(\"An alphanumeric identifier for the order used by the seller/buyer. This identifier doesn't need to be unique.\").nullable().optional(),\n order_status: ShippoGetMerchantOrder_OrderStatusSchema.nullable().optional(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs associated with this order\").nullable().optional(),\n shipping_cost: z.string().describe(\"Amount paid by the buyer for shipping. This amount can be different from the price the seller will actually pay for shipping.\").nullable().optional(),\n subtotal_price: z.string().describe(\"Subtotal price before tax and shipping\").nullable().optional(),\n shipping_method: z.string().describe(\"Shipping method (carrier + service or other free text description) chosen by the buyer. This value can be different from the shipping method the seller will actually choose.\").nullable().optional(),\n shipping_cost_currency: z.string().describe(\"Currency of the shipping_cost amount (ISO 4217). Required if shipping_cost is provided\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant order.\");\n\nexport const shippoGetMerchantOrder = action(\"SHIPPO_GET_MERCHANT_ORDER\", {\n slug: \"shippo-get-merchant-order\",\n name: \"Get Merchant Order\",\n description: \"Tool to retrieve an order for a merchant from the Shippo Platform API. Use when you need to get details of an existing order using merchant and order IDs.\",\n input: ShippoGetMerchantOrderInput,\n output: ShippoGetMerchantOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-order.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantOrderInput = z.object({\n order_id: z.string().describe(\"Object ID of the order to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant order.\");\nconst ShippoGetMerchantOrder_OrderLineItemSchema = z.object({\n sku: z.string().describe(\"SKU of the item\").nullable().optional(),\n title: z.string().describe(\"Title or name of the item\").nullable().optional(),\n weight: z.string().describe(\"Weight of the item\").nullable().optional(),\n currency: z.string().describe(\"Currency code (ISO 4217)\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity ordered\").nullable().optional(),\n total_price: z.string().describe(\"Total price for this line item\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of weight (g, kg, lb, oz)\").nullable().optional(),\n max_ship_time: z.string().describe(\"Maximum ship time\").nullable().optional(),\n variant_title: z.string().describe(\"Variant title of the item\").nullable().optional(),\n max_delivery_time: z.string().describe(\"Maximum delivery time\").nullable().optional(),\n manufacture_country: z.string().describe(\"Country of manufacture (ISO 3166-1 alpha-2)\").nullable().optional(),\n}).passthrough().describe(\"Line item in an order.\");\nconst ShippoGetMerchantOrder_OrderAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable(),\n city: z.string().describe(\"City\").nullable(),\n name: z.string().describe(\"Name at the address\").nullable(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable(),\n street1: z.string().describe(\"First street line\").nullable(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n}).passthrough().describe(\"Address information for an order.\");\nconst ShippoGetMerchantOrder_WeightUnitSchema = z.enum([\"g\", \"kg\", \"lb\", \"oz\"]).describe(\"Enum for weight unit values.\");\nconst ShippoGetMerchantOrder_OrderStatusSchema = z.enum([\"UNKNOWN\", \"AWAITPAY\", \"PAID\", \"REFUNDED\", \"PARTIALLY_FULFILLED\", \"SHIPPED\"]).describe(\"Enum for order status values.\");\nexport const ShippoGetMerchantOrderOutput = z.object({\n notes: z.string().describe(\"Custom buyer- or seller-provided notes about the order\").nullable().optional(),\n weight: z.string().describe(\"Total weight of the order\").nullable().optional(),\n currency: z.string().describe(\"Currency of the total_price and total_tax amounts (ISO 4217). Required if total_price is provided\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the order\").nullable().optional(),\n placed_at: z.string().describe(\"Date and time when the order was placed in ISO 8601 format. This datetime can be different from the datetime of the order object creation on Shippo.\").nullable(),\n total_tax: z.string().describe(\"Total tax amount paid by the buyer for this order\").nullable().optional(),\n line_items: z.array(ShippoGetMerchantOrder_OrderLineItemSchema).describe(\"Array of line item objects representing the items in this order. All objects will be returned expanded by default.\").nullable().optional(),\n to_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable(),\n total_price: z.string().describe(\"Total amount paid by the buyer for this order\").nullable().optional(),\n weight_unit: ShippoGetMerchantOrder_WeightUnitSchema.nullable().optional(),\n from_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the order object (email address)\").nullable().optional(),\n order_number: z.string().describe(\"An alphanumeric identifier for the order used by the seller/buyer. This identifier doesn't need to be unique.\").nullable().optional(),\n order_status: ShippoGetMerchantOrder_OrderStatusSchema.nullable().optional(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs associated with this order\").nullable().optional(),\n shipping_cost: z.string().describe(\"Amount paid by the buyer for shipping. This amount can be different from the price the seller will actually pay for shipping.\").nullable().optional(),\n subtotal_price: z.string().describe(\"Subtotal price before tax and shipping\").nullable().optional(),\n shipping_method: z.string().describe(\"Shipping method (carrier + service or other free text description) chosen by the buyer. This value can be different from the shipping method the seller will actually choose.\").nullable().optional(),\n shipping_cost_currency: z.string().describe(\"Currency of the shipping_cost amount (ISO 4217). Required if shipping_cost is provided\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant order.\");\n\nexport const shippoGetMerchantOrder: AppAction<\n typeof ShippoGetMerchantOrderInput,\n typeof ShippoGetMerchantOrderOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_ORDER\", {\n slug: \"shippo-get-merchant-order\",\n name: \"Get Merchant Order\",\n description: \"Tool to retrieve an order for a merchant from the Shippo Platform API. Use when you need to get details of an existing order using merchant and order IDs.\",\n input: ShippoGetMerchantOrderInput,\n output: ShippoGetMerchantOrderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,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AAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shippo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-merchant-order.d.ts
|
|
@@ -71,11 +73,7 @@ declare const ShippoGetMerchantOrderOutput: z.ZodObject<{
|
|
|
71
73
|
shipping_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
74
|
shipping_cost_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
75
|
}, z.core.$loose>;
|
|
74
|
-
declare const shippoGetMerchantOrder:
|
|
75
|
-
order_id: string;
|
|
76
|
-
merchant_id: string;
|
|
77
|
-
shippo_api_version?: string | undefined;
|
|
78
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
76
|
+
declare const shippoGetMerchantOrder: AppAction<typeof ShippoGetMerchantOrderInput, typeof ShippoGetMerchantOrderOutput, typeof shippo.credential>;
|
|
79
77
|
//#endregion
|
|
80
78
|
export { shippoGetMerchantOrder };
|
|
81
79
|
//# sourceMappingURL=get-merchant-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-order.d.cts","names":[],"sources":["../../src/actions/get-merchant-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-order.d.cts","names":[],"sources":["../../src/actions/get-merchant-order.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cA+B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shippo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-merchant-order.d.ts
|
|
@@ -71,11 +73,7 @@ declare const ShippoGetMerchantOrderOutput: z.ZodObject<{
|
|
|
71
73
|
shipping_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
74
|
shipping_cost_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
75
|
}, z.core.$loose>;
|
|
74
|
-
declare const shippoGetMerchantOrder:
|
|
75
|
-
order_id: string;
|
|
76
|
-
merchant_id: string;
|
|
77
|
-
shippo_api_version?: string | undefined;
|
|
78
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
76
|
+
declare const shippoGetMerchantOrder: AppAction<typeof ShippoGetMerchantOrderInput, typeof ShippoGetMerchantOrderOutput, typeof shippo.credential>;
|
|
79
77
|
//#endregion
|
|
80
78
|
export { shippoGetMerchantOrder };
|
|
81
79
|
//# sourceMappingURL=get-merchant-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-order.d.mts","names":[],"sources":["../../src/actions/get-merchant-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-order.d.mts","names":[],"sources":["../../src/actions/get-merchant-order.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cA+B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-merchant-order.mjs","names":[],"sources":["../../src/actions/get-merchant-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantOrderInput = z.object({\n order_id: z.string().describe(\"Object ID of the order to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant order.\");\nconst ShippoGetMerchantOrder_OrderLineItemSchema = z.object({\n sku: z.string().describe(\"SKU of the item\").nullable().optional(),\n title: z.string().describe(\"Title or name of the item\").nullable().optional(),\n weight: z.string().describe(\"Weight of the item\").nullable().optional(),\n currency: z.string().describe(\"Currency code (ISO 4217)\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity ordered\").nullable().optional(),\n total_price: z.string().describe(\"Total price for this line item\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of weight (g, kg, lb, oz)\").nullable().optional(),\n max_ship_time: z.string().describe(\"Maximum ship time\").nullable().optional(),\n variant_title: z.string().describe(\"Variant title of the item\").nullable().optional(),\n max_delivery_time: z.string().describe(\"Maximum delivery time\").nullable().optional(),\n manufacture_country: z.string().describe(\"Country of manufacture (ISO 3166-1 alpha-2)\").nullable().optional(),\n}).passthrough().describe(\"Line item in an order.\");\nconst ShippoGetMerchantOrder_OrderAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable(),\n city: z.string().describe(\"City\").nullable(),\n name: z.string().describe(\"Name at the address\").nullable(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable(),\n street1: z.string().describe(\"First street line\").nullable(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n}).passthrough().describe(\"Address information for an order.\");\nconst ShippoGetMerchantOrder_WeightUnitSchema = z.enum([\"g\", \"kg\", \"lb\", \"oz\"]).describe(\"Enum for weight unit values.\");\nconst ShippoGetMerchantOrder_OrderStatusSchema = z.enum([\"UNKNOWN\", \"AWAITPAY\", \"PAID\", \"REFUNDED\", \"PARTIALLY_FULFILLED\", \"SHIPPED\"]).describe(\"Enum for order status values.\");\nexport const ShippoGetMerchantOrderOutput = z.object({\n notes: z.string().describe(\"Custom buyer- or seller-provided notes about the order\").nullable().optional(),\n weight: z.string().describe(\"Total weight of the order\").nullable().optional(),\n currency: z.string().describe(\"Currency of the total_price and total_tax amounts (ISO 4217). Required if total_price is provided\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the order\").nullable().optional(),\n placed_at: z.string().describe(\"Date and time when the order was placed in ISO 8601 format. This datetime can be different from the datetime of the order object creation on Shippo.\").nullable(),\n total_tax: z.string().describe(\"Total tax amount paid by the buyer for this order\").nullable().optional(),\n line_items: z.array(ShippoGetMerchantOrder_OrderLineItemSchema).describe(\"Array of line item objects representing the items in this order. All objects will be returned expanded by default.\").nullable().optional(),\n to_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable(),\n total_price: z.string().describe(\"Total amount paid by the buyer for this order\").nullable().optional(),\n weight_unit: ShippoGetMerchantOrder_WeightUnitSchema.nullable().optional(),\n from_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the order object (email address)\").nullable().optional(),\n order_number: z.string().describe(\"An alphanumeric identifier for the order used by the seller/buyer. This identifier doesn't need to be unique.\").nullable().optional(),\n order_status: ShippoGetMerchantOrder_OrderStatusSchema.nullable().optional(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs associated with this order\").nullable().optional(),\n shipping_cost: z.string().describe(\"Amount paid by the buyer for shipping. This amount can be different from the price the seller will actually pay for shipping.\").nullable().optional(),\n subtotal_price: z.string().describe(\"Subtotal price before tax and shipping\").nullable().optional(),\n shipping_method: z.string().describe(\"Shipping method (carrier + service or other free text description) chosen by the buyer. This value can be different from the shipping method the seller will actually choose.\").nullable().optional(),\n shipping_cost_currency: z.string().describe(\"Currency of the shipping_cost amount (ISO 4217). Required if shipping_cost is provided\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant order.\");\n\nexport const shippoGetMerchantOrder = action(\"SHIPPO_GET_MERCHANT_ORDER\", {\n slug: \"shippo-get-merchant-order\",\n name: \"Get Merchant Order\",\n description: \"Tool to retrieve an order for a merchant from the Shippo Platform API. Use when you need to get details of an existing order using merchant and order IDs.\",\n input: ShippoGetMerchantOrderInput,\n output: ShippoGetMerchantOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-order.mjs","names":[],"sources":["../../src/actions/get-merchant-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantOrderInput = z.object({\n order_id: z.string().describe(\"Object ID of the order to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant order.\");\nconst ShippoGetMerchantOrder_OrderLineItemSchema = z.object({\n sku: z.string().describe(\"SKU of the item\").nullable().optional(),\n title: z.string().describe(\"Title or name of the item\").nullable().optional(),\n weight: z.string().describe(\"Weight of the item\").nullable().optional(),\n currency: z.string().describe(\"Currency code (ISO 4217)\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity ordered\").nullable().optional(),\n total_price: z.string().describe(\"Total price for this line item\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of weight (g, kg, lb, oz)\").nullable().optional(),\n max_ship_time: z.string().describe(\"Maximum ship time\").nullable().optional(),\n variant_title: z.string().describe(\"Variant title of the item\").nullable().optional(),\n max_delivery_time: z.string().describe(\"Maximum delivery time\").nullable().optional(),\n manufacture_country: z.string().describe(\"Country of manufacture (ISO 3166-1 alpha-2)\").nullable().optional(),\n}).passthrough().describe(\"Line item in an order.\");\nconst ShippoGetMerchantOrder_OrderAddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable(),\n city: z.string().describe(\"City\").nullable(),\n name: z.string().describe(\"Name at the address\").nullable(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable(),\n street1: z.string().describe(\"First street line\").nullable(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n}).passthrough().describe(\"Address information for an order.\");\nconst ShippoGetMerchantOrder_WeightUnitSchema = z.enum([\"g\", \"kg\", \"lb\", \"oz\"]).describe(\"Enum for weight unit values.\");\nconst ShippoGetMerchantOrder_OrderStatusSchema = z.enum([\"UNKNOWN\", \"AWAITPAY\", \"PAID\", \"REFUNDED\", \"PARTIALLY_FULFILLED\", \"SHIPPED\"]).describe(\"Enum for order status values.\");\nexport const ShippoGetMerchantOrderOutput = z.object({\n notes: z.string().describe(\"Custom buyer- or seller-provided notes about the order\").nullable().optional(),\n weight: z.string().describe(\"Total weight of the order\").nullable().optional(),\n currency: z.string().describe(\"Currency of the total_price and total_tax amounts (ISO 4217). Required if total_price is provided\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the order\").nullable().optional(),\n placed_at: z.string().describe(\"Date and time when the order was placed in ISO 8601 format. This datetime can be different from the datetime of the order object creation on Shippo.\").nullable(),\n total_tax: z.string().describe(\"Total tax amount paid by the buyer for this order\").nullable().optional(),\n line_items: z.array(ShippoGetMerchantOrder_OrderLineItemSchema).describe(\"Array of line item objects representing the items in this order. All objects will be returned expanded by default.\").nullable().optional(),\n to_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable(),\n total_price: z.string().describe(\"Total amount paid by the buyer for this order\").nullable().optional(),\n weight_unit: ShippoGetMerchantOrder_WeightUnitSchema.nullable().optional(),\n from_address: ShippoGetMerchantOrder_OrderAddressSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the order object (email address)\").nullable().optional(),\n order_number: z.string().describe(\"An alphanumeric identifier for the order used by the seller/buyer. This identifier doesn't need to be unique.\").nullable().optional(),\n order_status: ShippoGetMerchantOrder_OrderStatusSchema.nullable().optional(),\n transactions: z.array(z.string()).describe(\"Array of transaction object IDs associated with this order\").nullable().optional(),\n shipping_cost: z.string().describe(\"Amount paid by the buyer for shipping. This amount can be different from the price the seller will actually pay for shipping.\").nullable().optional(),\n subtotal_price: z.string().describe(\"Subtotal price before tax and shipping\").nullable().optional(),\n shipping_method: z.string().describe(\"Shipping method (carrier + service or other free text description) chosen by the buyer. This value can be different from the shipping method the seller will actually choose.\").nullable().optional(),\n shipping_cost_currency: z.string().describe(\"Currency of the shipping_cost amount (ISO 4217). Required if shipping_cost is provided\").nullable().optional(),\n}).passthrough().describe(\"Response model for a merchant order.\");\n\nexport const shippoGetMerchantOrder: AppAction<\n typeof ShippoGetMerchantOrderInput,\n typeof ShippoGetMerchantOrderOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_ORDER\", {\n slug: \"shippo-get-merchant-order\",\n name: \"Get Merchant Order\",\n description: \"Tool to retrieve an order for a merchant from the Shippo Platform API. Use when you need to get details of an existing order using merchant and order IDs.\",\n input: ShippoGetMerchantOrderInput,\n output: ShippoGetMerchantOrderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,KAAK,EAAE,OAA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parcel.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-parcel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetMerchantParcelInput = z.object({\n parcel_id: z.string().describe(\"Object ID of the parcel to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant's parcel.\");\nconst ShippoGetMerchantParcel_ParcelCODSchema = z.object({\n amount: z.string().describe(\"Amount to collect on delivery.\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the COD amount.\").nullable().optional(),\n payment_method: z.string().describe(\"Payment method for COD.\").nullable().optional(),\n}).passthrough().describe(\"Collection on delivery details (UPS and FedEx only).\");\nconst ShippoGetMerchantParcel_ParcelInsuranceSchema = z.object({\n amount: z.string().describe(\"Insurance amount.\").nullable().optional(),\n content: z.string().describe(\"Description of the insured content.\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the insurance amount.\").nullable().optional(),\n provider: z.string().describe(\"Insurance provider.\").nullable().optional(),\n}).passthrough().describe(\"Insurance details for the parcel.\");\nconst ShippoGetMerchantParcel_ParcelExtraSchema = z.object({\n COD: ShippoGetMerchantParcel_ParcelCODSchema.nullable().optional(),\n insurance: ShippoGetMerchantParcel_ParcelInsuranceSchema.nullable().optional(),\n}).passthrough().describe(\"Additional parcel options and features.\");\nexport const ShippoGetMerchantParcelOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n extra: ShippoGetMerchantParcel_ParcelExtraSchema.nullable().optional(),\n width: z.string().describe(\"Width of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").nullable().optional(),\n length: z.string().describe(\"Length of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object.\").nullable().optional(),\n template: z.string().describe(\"If template is passed, length, width, height, and distance_unit are not required.\").nullable().optional(),\n mass_unit: z.string().describe(\"The unit used for weight.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Parcel object. This ID is required to create a Shipment object.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the Parcel object.\").nullable().optional(),\n object_state: z.string().describe(\"A Parcel will only be valid when all required values have been sent and validated successfully.\").nullable().optional(),\n distance_unit: z.string().describe(\"The measure unit used for length, width and height.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Parcel creation.\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last Parcel update. Since you cannot update Parcels after they were created, this time stamp reflects the time when the Parcel was changed by Shippo's systems for the last time, e.g., during sorting the dimensions given.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing merchant parcel details.\");\n\nexport const shippoGetMerchantParcel = action(\"SHIPPO_GET_MERCHANT_PARCEL\", {\n slug: \"shippo-get-merchant-parcel\",\n name: \"Get Merchant Parcel\",\n description: \"Tool to retrieve a parcel for a merchant from the Shippo Platform API. Use when you need to fetch details of a parcel that belongs to a specific merchant.\",\n input: ShippoGetMerchantParcelInput,\n output: ShippoGetMerchantParcelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-merchant-parcel.cjs","names":["z","action"],"sources":["../../src/actions/get-merchant-parcel.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shippo } from \"../app\";\n\nexport const ShippoGetMerchantParcelInput = z.object({\n parcel_id: z.string().describe(\"Object ID of the parcel to retrieve\"),\n merchant_id: z.string().describe(\"Object ID of the merchant\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a merchant's parcel.\");\nconst ShippoGetMerchantParcel_ParcelCODSchema = z.object({\n amount: z.string().describe(\"Amount to collect on delivery.\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the COD amount.\").nullable().optional(),\n payment_method: z.string().describe(\"Payment method for COD.\").nullable().optional(),\n}).passthrough().describe(\"Collection on delivery details (UPS and FedEx only).\");\nconst ShippoGetMerchantParcel_ParcelInsuranceSchema = z.object({\n amount: z.string().describe(\"Insurance amount.\").nullable().optional(),\n content: z.string().describe(\"Description of the insured content.\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the insurance amount.\").nullable().optional(),\n provider: z.string().describe(\"Insurance provider.\").nullable().optional(),\n}).passthrough().describe(\"Insurance details for the parcel.\");\nconst ShippoGetMerchantParcel_ParcelExtraSchema = z.object({\n COD: ShippoGetMerchantParcel_ParcelCODSchema.nullable().optional(),\n insurance: ShippoGetMerchantParcel_ParcelInsuranceSchema.nullable().optional(),\n}).passthrough().describe(\"Additional parcel options and features.\");\nexport const ShippoGetMerchantParcelOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n extra: ShippoGetMerchantParcel_ParcelExtraSchema.nullable().optional(),\n width: z.string().describe(\"Width of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").nullable().optional(),\n length: z.string().describe(\"Length of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the object.\").nullable().optional(),\n template: z.string().describe(\"If template is passed, length, width, height, and distance_unit are not required.\").nullable().optional(),\n mass_unit: z.string().describe(\"The unit used for weight.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the given Parcel object. This ID is required to create a Shipment object.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the Parcel object.\").nullable().optional(),\n object_state: z.string().describe(\"A Parcel will only be valid when all required values have been sent and validated successfully.\").nullable().optional(),\n distance_unit: z.string().describe(\"The measure unit used for length, width and height.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Parcel creation.\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last Parcel update. Since you cannot update Parcels after they were created, this time stamp reflects the time when the Parcel was changed by Shippo's systems for the last time, e.g., during sorting the dimensions given.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing merchant parcel details.\");\n\nexport const shippoGetMerchantParcel: AppAction<\n typeof ShippoGetMerchantParcelInput,\n typeof ShippoGetMerchantParcelOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_MERCHANT_PARCEL\", {\n slug: \"shippo-get-merchant-parcel\",\n name: \"Get Merchant Parcel\",\n description: \"Tool to retrieve a parcel for a merchant from the Shippo Platform API. Use when you need to fetch details of a parcel that belongs to a specific merchant.\",\n input: ShippoGetMerchantParcelInput,\n output: ShippoGetMerchantParcelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC5D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS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