@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-order.mjs","names":[],"sources":["../../src/actions/get-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetOrderInput = z.object({\n order_id: z.string().describe(\"Object ID of the order 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 an order from Shippo.\");\nconst ShippoGetOrder_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.\").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.\").nullable().optional(),\n variant_title: z.string().describe(\"Variant title of the item.\").nullable().optional(),\n manufacture_country: z.string().describe(\"Country of manufacture.\").nullable().optional(),\n}).passthrough().describe(\"Line item in an order.\");\nconst ShippoGetOrder_OrderAddressSchema = z.object({\n zip: z.string().describe(\"Postal code.\").nullable().optional(),\n city: z.string().describe(\"City.\").nullable().optional(),\n name: z.string().describe(\"Name at the address.\").nullable().optional(),\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().optional(),\n company: z.string().describe(\"Company name.\").nullable().optional(),\n country: z.string().describe(\"Country code.\").nullable().optional(),\n street1: z.string().describe(\"First street line.\").nullable().optional(),\n street2: z.string().describe(\"Second street line.\").nullable().optional(),\n}).passthrough().describe(\"Address information for an order.\");\nconst ShippoGetOrder_TransactionRateSchema = z.object({\n amount: z.string().describe(\"Rate amount.\").nullable().optional(),\n currency: z.string().describe(\"Currency code.\").nullable().optional(),\n provider: z.string().describe(\"Shipping provider.\").nullable().optional(),\n object_id: z.string().describe(\"Rate object ID.\").nullable().optional(),\n servicelevel: z.string().describe(\"Service level.\").nullable().optional(),\n}).passthrough().describe(\"Rate information for a transaction.\");\nconst ShippoGetOrder_OrderTransactionSchema = z.object({\n rate: ShippoGetOrder_TransactionRateSchema.nullable().optional(),\n label_url: z.string().describe(\"Shipping label URL.\").nullable().optional(),\n object_id: z.string().describe(\"Transaction object ID.\").nullable().optional(),\n object_state: z.string().describe(\"Transaction state.\").nullable().optional(),\n object_status: z.string().describe(\"Transaction status.\").nullable().optional(),\n tracking_number: z.string().describe(\"Tracking number.\").nullable().optional(),\n tracking_url_provider: z.string().describe(\"Tracking URL provider.\").nullable().optional(),\n commercial_invoice_url: z.string().describe(\"Commercial invoice URL.\").nullable().optional(),\n}).passthrough().describe(\"Transaction associated with an order.\");\nexport const ShippoGetOrderOutput = z.object({\n notes: z.string().describe(\"Notes for the order.\").nullable().optional(),\n weight: z.string().describe(\"Total weight of the order.\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the order.\").nullable().optional(),\n shop_app: z.string().describe(\"Shop application identifier.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the order.\").nullable().optional(),\n placed_at: z.string().describe(\"ISO timestamp when the order was placed.\").nullable(),\n total_tax: z.string().describe(\"Total tax amount.\").nullable().optional(),\n line_items: z.array(ShippoGetOrder_OrderLineItemSchema).describe(\"List of line items in the order.\").nullable().optional(),\n to_address: ShippoGetOrder_OrderAddressSchema.nullable().optional(),\n total_price: z.string().describe(\"Total price of the order.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of weight (e.g., lb, kg).\").nullable().optional(),\n from_address: ShippoGetOrder_OrderAddressSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the order object.\").nullable().optional(),\n order_number: z.string().describe(\"Order number.\").nullable().optional(),\n order_status: z.string().describe(\"Status of the order (e.g., PAID, UNPAID).\").nullable().optional(),\n transactions: z.array(ShippoGetOrder_OrderTransactionSchema).describe(\"List of transactions associated with the order.\").nullable().optional(),\n shipping_cost: z.string().describe(\"Shipping cost.\").nullable().optional(),\n subtotal_price: z.string().describe(\"Subtotal price.\").nullable().optional(),\n shipping_method: z.string().describe(\"Shipping method used.\").nullable().optional(),\n shipping_cost_currency: z.string().describe(\"Currency of the shipping cost.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving an order from Shippo.\");\n\nexport const shippoGetOrder = action(\"SHIPPO_GET_ORDER\", {\n slug: \"shippo-get-order\",\n name: \"Get Order\",\n description: \"Tool to retrieve an order from Shippo. Use when you need to fetch details about a specific order including shipping addresses, line items, and transactions.\",\n input: ShippoGetOrderInput,\n output: ShippoGetOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,qCAAqC,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CA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AC,SAAS;EACvF,cAAc,kCAAkC,SAAS,CAAC,CAAC,SAAS;EACpE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-order.mjs","names":[],"sources":["../../src/actions/get-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 ShippoGetOrderInput = z.object({\n order_id: z.string().describe(\"Object ID of the order 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 an order from Shippo.\");\nconst ShippoGetOrder_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.\").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.\").nullable().optional(),\n variant_title: z.string().describe(\"Variant title of the item.\").nullable().optional(),\n manufacture_country: z.string().describe(\"Country of manufacture.\").nullable().optional(),\n}).passthrough().describe(\"Line item in an order.\");\nconst ShippoGetOrder_OrderAddressSchema = z.object({\n zip: z.string().describe(\"Postal code.\").nullable().optional(),\n city: z.string().describe(\"City.\").nullable().optional(),\n name: z.string().describe(\"Name at the address.\").nullable().optional(),\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().optional(),\n company: z.string().describe(\"Company name.\").nullable().optional(),\n country: z.string().describe(\"Country code.\").nullable().optional(),\n street1: z.string().describe(\"First street line.\").nullable().optional(),\n street2: z.string().describe(\"Second street line.\").nullable().optional(),\n}).passthrough().describe(\"Address information for an order.\");\nconst ShippoGetOrder_TransactionRateSchema = z.object({\n amount: z.string().describe(\"Rate amount.\").nullable().optional(),\n currency: z.string().describe(\"Currency code.\").nullable().optional(),\n provider: z.string().describe(\"Shipping provider.\").nullable().optional(),\n object_id: z.string().describe(\"Rate object ID.\").nullable().optional(),\n servicelevel: z.string().describe(\"Service level.\").nullable().optional(),\n}).passthrough().describe(\"Rate information for a transaction.\");\nconst ShippoGetOrder_OrderTransactionSchema = z.object({\n rate: ShippoGetOrder_TransactionRateSchema.nullable().optional(),\n label_url: z.string().describe(\"Shipping label URL.\").nullable().optional(),\n object_id: z.string().describe(\"Transaction object ID.\").nullable().optional(),\n object_state: z.string().describe(\"Transaction state.\").nullable().optional(),\n object_status: z.string().describe(\"Transaction status.\").nullable().optional(),\n tracking_number: z.string().describe(\"Tracking number.\").nullable().optional(),\n tracking_url_provider: z.string().describe(\"Tracking URL provider.\").nullable().optional(),\n commercial_invoice_url: z.string().describe(\"Commercial invoice URL.\").nullable().optional(),\n}).passthrough().describe(\"Transaction associated with an order.\");\nexport const ShippoGetOrderOutput = z.object({\n notes: z.string().describe(\"Notes for the order.\").nullable().optional(),\n weight: z.string().describe(\"Total weight of the order.\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the order.\").nullable().optional(),\n shop_app: z.string().describe(\"Shop application identifier.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the order.\").nullable().optional(),\n placed_at: z.string().describe(\"ISO timestamp when the order was placed.\").nullable(),\n total_tax: z.string().describe(\"Total tax amount.\").nullable().optional(),\n line_items: z.array(ShippoGetOrder_OrderLineItemSchema).describe(\"List of line items in the order.\").nullable().optional(),\n to_address: ShippoGetOrder_OrderAddressSchema.nullable().optional(),\n total_price: z.string().describe(\"Total price of the order.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of weight (e.g., lb, kg).\").nullable().optional(),\n from_address: ShippoGetOrder_OrderAddressSchema.nullable().optional(),\n object_owner: z.string().describe(\"Owner of the order object.\").nullable().optional(),\n order_number: z.string().describe(\"Order number.\").nullable().optional(),\n order_status: z.string().describe(\"Status of the order (e.g., PAID, UNPAID).\").nullable().optional(),\n transactions: z.array(ShippoGetOrder_OrderTransactionSchema).describe(\"List of transactions associated with the order.\").nullable().optional(),\n shipping_cost: z.string().describe(\"Shipping cost.\").nullable().optional(),\n subtotal_price: z.string().describe(\"Subtotal price.\").nullable().optional(),\n shipping_method: z.string().describe(\"Shipping method used.\").nullable().optional(),\n shipping_cost_currency: z.string().describe(\"Currency of the shipping cost.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving an order from Shippo.\");\n\nexport const shippoGetOrder: AppAction<\n typeof ShippoGetOrderInput,\n typeof ShippoGetOrderOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_ORDER\", {\n slug: \"shippo-get-order\",\n name: \"Get Order\",\n description: \"Tool to retrieve an order from Shippo. Use when you need to fetch details about a specific order including shipping addresses, line items, and transactions.\",\n input: ShippoGetOrderInput,\n output: ShippoGetOrderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,qCAAqC,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,oCAA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AC,SAAS;EACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parcel.cjs","names":["z","action"],"sources":["../../src/actions/get-parcel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetParcelInput = z.object({\n parcel_id: z.string().describe(\"Object ID of the parcel to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a parcel by ID.\");\nconst ShippoGetParcel_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 ShippoGetParcel_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 ShippoGetParcel_ParcelExtraSchema = z.object({\n COD: ShippoGetParcel_ParcelCODSchema.nullable().optional(),\n insurance: ShippoGetParcel_ParcelInsuranceSchema.nullable().optional(),\n}).passthrough().describe(\"Additional parcel options and features.\");\nexport const ShippoGetParcelOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n extra: ShippoGetParcel_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 parcel details.\");\n\nexport const shippoGetParcel = action(\"SHIPPO_GET_PARCEL\", {\n slug: \"shippo-get-parcel\",\n name: \"Get Parcel\",\n description: \"Tool to retrieve a parcel by its ID. Use when you need to fetch details of an existing parcel object including dimensions, weight, and metadata.\",\n input: ShippoGetParcelInput,\n output: ShippoGetParcelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-parcel.cjs","names":["z","action"],"sources":["../../src/actions/get-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 ShippoGetParcelInput = z.object({\n parcel_id: z.string().describe(\"Object ID of the parcel to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a parcel by ID.\");\nconst ShippoGetParcel_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 ShippoGetParcel_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 ShippoGetParcel_ParcelExtraSchema = z.object({\n COD: ShippoGetParcel_ParcelCODSchema.nullable().optional(),\n insurance: ShippoGetParcel_ParcelInsuranceSchema.nullable().optional(),\n}).passthrough().describe(\"Additional parcel options and features.\");\nexport const ShippoGetParcelOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n extra: ShippoGetParcel_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 parcel details.\");\n\nexport const shippoGetParcel: AppAction<\n typeof ShippoGetParcelInput,\n typeof ShippoGetParcelOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_PARCEL\", {\n slug: \"shippo-get-parcel\",\n name: \"Get Parcel\",\n description: \"Tool to retrieve a parcel by its ID. Use when you need to fetch details of an existing parcel object including dimensions, weight, and metadata.\",\n input: ShippoGetParcelInput,\n output: ShippoGetParcelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,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ACN,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-parcel.d.ts
|
|
@@ -34,10 +36,7 @@ declare const ShippoGetParcelOutput: z.ZodObject<{
|
|
|
34
36
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const shippoGetParcel:
|
|
38
|
-
parcel_id: string;
|
|
39
|
-
shippo_api_version?: string | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const shippoGetParcel: AppAction<typeof ShippoGetParcelInput, typeof ShippoGetParcelOutput, typeof shippo.credential>;
|
|
41
40
|
//#endregion
|
|
42
41
|
export { shippoGetParcel };
|
|
43
42
|
//# sourceMappingURL=get-parcel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parcel.d.cts","names":[],"sources":["../../src/actions/get-parcel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-parcel.d.cts","names":[],"sources":["../../src/actions/get-parcel.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAmBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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-parcel.d.ts
|
|
@@ -34,10 +36,7 @@ declare const ShippoGetParcelOutput: z.ZodObject<{
|
|
|
34
36
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const shippoGetParcel:
|
|
38
|
-
parcel_id: string;
|
|
39
|
-
shippo_api_version?: string | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const shippoGetParcel: AppAction<typeof ShippoGetParcelInput, typeof ShippoGetParcelOutput, typeof shippo.credential>;
|
|
41
40
|
//#endregion
|
|
42
41
|
export { shippoGetParcel };
|
|
43
42
|
//# sourceMappingURL=get-parcel.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parcel.d.mts","names":[],"sources":["../../src/actions/get-parcel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-parcel.d.mts","names":[],"sources":["../../src/actions/get-parcel.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAmBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parcel.mjs","names":[],"sources":["../../src/actions/get-parcel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetParcelInput = z.object({\n parcel_id: z.string().describe(\"Object ID of the parcel to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a parcel by ID.\");\nconst ShippoGetParcel_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 ShippoGetParcel_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 ShippoGetParcel_ParcelExtraSchema = z.object({\n COD: ShippoGetParcel_ParcelCODSchema.nullable().optional(),\n insurance: ShippoGetParcel_ParcelInsuranceSchema.nullable().optional(),\n}).passthrough().describe(\"Additional parcel options and features.\");\nexport const ShippoGetParcelOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n extra: ShippoGetParcel_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 parcel details.\");\n\nexport const shippoGetParcel = action(\"SHIPPO_GET_PARCEL\", {\n slug: \"shippo-get-parcel\",\n name: \"Get Parcel\",\n description: \"Tool to retrieve a parcel by its ID. Use when you need to fetch details of an existing parcel object including dimensions, weight, and metadata.\",\n input: ShippoGetParcelInput,\n output: ShippoGetParcelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-parcel.mjs","names":[],"sources":["../../src/actions/get-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 ShippoGetParcelInput = z.object({\n parcel_id: z.string().describe(\"Object ID of the parcel to retrieve.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving a parcel by ID.\");\nconst ShippoGetParcel_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 ShippoGetParcel_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 ShippoGetParcel_ParcelExtraSchema = z.object({\n COD: ShippoGetParcel_ParcelCODSchema.nullable().optional(),\n insurance: ShippoGetParcel_ParcelInsuranceSchema.nullable().optional(),\n}).passthrough().describe(\"Additional parcel options and features.\");\nexport const ShippoGetParcelOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n extra: ShippoGetParcel_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 parcel details.\");\n\nexport const shippoGetParcel: AppAction<\n typeof ShippoGetParcelInput,\n typeof ShippoGetParcelOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_PARCEL\", {\n slug: \"shippo-get-parcel\",\n name: \"Get Parcel\",\n description: \"Tool to retrieve a parcel by its ID. Use when you need to fetch details of an existing parcel object including dimensions, weight, and metadata.\",\n input: ShippoGetParcelInput,\n output: ShippoGetParcelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,kCAAkC,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,wCAAwC,EAAE,OAAO;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAA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C7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+OAA+O,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3S,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rate.cjs","names":["z","action"],"sources":["../../src/actions/get-rate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetRateInput = z.object({\n rate_id: z.string().describe(\"Object ID of the rate to retrieve. This is a unique identifier for the rate.\"),\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 rate by ID.\");\nconst ShippoGetRate_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoGetRate_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoGetRate_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties. These names vary depending on the provider.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'. See servicelevels.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nexport const ShippoGetRateOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider.\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country.\").nullable(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'.\").nullable(),\n messages: z.array(ShippoGetRate_MessageObjectSchema).describe(\"An array containing message objects with code and text information.\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'.\").nullable(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate.\").nullable(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object.\").nullable(),\n arrives_by: z.record(z.string(), z.unknown()).describe(\"Estimated arrival time information.\").nullable().optional(),\n attributes: z.array(ShippoGetRate_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\"),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country.\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the rate object.\").nullable(),\n servicelevel: ShippoGetRate_ServiceLevelSchema.nullable(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'.\").nullable(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time.\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider. Shippo is not able to guarantee any transit times.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation.\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate.\").nullable(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px. Please refer to the provider's Logo Usage Guidelines before using the logo.\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px. Please refer to the provider's Logo Usage Guidelines before using the logo.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the rate retrieval.\");\n\nexport const shippoGetRate = action(\"SHIPPO_GET_RATE\", {\n slug: \"shippo-get-rate\",\n name: \"Get Rate\",\n description: \"Tool to retrieve a specific shipping rate by its ID. Use when you need to fetch detailed rate information including pricing, carrier details, and service level.\",\n input: ShippoGetRateInput,\n output: ShippoGetRateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-rate.cjs","names":["z","action"],"sources":["../../src/actions/get-rate.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 ShippoGetRateInput = z.object({\n rate_id: z.string().describe(\"Object ID of the rate to retrieve. This is a unique identifier for the rate.\"),\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 rate by ID.\");\nconst ShippoGetRate_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoGetRate_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoGetRate_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties. These names vary depending on the provider.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'. See servicelevels.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nexport const ShippoGetRateOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider.\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country.\").nullable(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'.\").nullable(),\n messages: z.array(ShippoGetRate_MessageObjectSchema).describe(\"An array containing message objects with code and text information.\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'.\").nullable(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate.\").nullable(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object.\").nullable(),\n arrives_by: z.record(z.string(), z.unknown()).describe(\"Estimated arrival time information.\").nullable().optional(),\n attributes: z.array(ShippoGetRate_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\"),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country.\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the rate object.\").nullable(),\n servicelevel: ShippoGetRate_ServiceLevelSchema.nullable(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'.\").nullable(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time.\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider. Shippo is not able to guarantee any transit times.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation.\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate.\").nullable(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px. Please refer to the provider's Logo Usage Guidelines before using the logo.\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px. Please refer to the provider's Logo Usage Guidelines before using the logo.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the rate retrieval.\");\n\nexport const shippoGetRate: AppAction<\n typeof ShippoGetRateInput,\n typeof ShippoGetRateOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_RATE\", {\n slug: \"shippo-get-rate\",\n name: \"Get Rate\",\n description: \"Tool to retrieve a specific shipping rate by its ID. Use when you need to fetch detailed rate information including pricing, carrier details, and service level.\",\n input: ShippoGetRateInput,\n output: ShippoGetRateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC3G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,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 +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-rate.d.ts
|
|
@@ -39,10 +41,7 @@ declare const ShippoGetRateOutput: z.ZodObject<{
|
|
|
39
41
|
provider_image_75: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
42
|
provider_image_200: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const shippoGetRate:
|
|
43
|
-
rate_id: string;
|
|
44
|
-
shippo_api_version?: string | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
44
|
+
declare const shippoGetRate: AppAction<typeof ShippoGetRateInput, typeof ShippoGetRateOutput, typeof shippo.credential>;
|
|
46
45
|
//#endregion
|
|
47
46
|
export { shippoGetRate };
|
|
48
47
|
//# sourceMappingURL=get-rate.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rate.d.cts","names":[],"sources":["../../src/actions/get-rate.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-rate.d.cts","names":[],"sources":["../../src/actions/get-rate.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAelB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuBnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,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-rate.d.ts
|
|
@@ -39,10 +41,7 @@ declare const ShippoGetRateOutput: z.ZodObject<{
|
|
|
39
41
|
provider_image_75: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
42
|
provider_image_200: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const shippoGetRate:
|
|
43
|
-
rate_id: string;
|
|
44
|
-
shippo_api_version?: string | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
44
|
+
declare const shippoGetRate: AppAction<typeof ShippoGetRateInput, typeof ShippoGetRateOutput, typeof shippo.credential>;
|
|
46
45
|
//#endregion
|
|
47
46
|
export { shippoGetRate };
|
|
48
47
|
//# sourceMappingURL=get-rate.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rate.d.mts","names":[],"sources":["../../src/actions/get-rate.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-rate.d.mts","names":[],"sources":["../../src/actions/get-rate.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAelB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuBnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rate.mjs","names":[],"sources":["../../src/actions/get-rate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetRateInput = z.object({\n rate_id: z.string().describe(\"Object ID of the rate to retrieve. This is a unique identifier for the rate.\"),\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 rate by ID.\");\nconst ShippoGetRate_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoGetRate_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoGetRate_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties. These names vary depending on the provider.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'. See servicelevels.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nexport const ShippoGetRateOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider.\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country.\").nullable(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'.\").nullable(),\n messages: z.array(ShippoGetRate_MessageObjectSchema).describe(\"An array containing message objects with code and text information.\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'.\").nullable(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate.\").nullable(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object.\").nullable(),\n arrives_by: z.record(z.string(), z.unknown()).describe(\"Estimated arrival time information.\").nullable().optional(),\n attributes: z.array(ShippoGetRate_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\"),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country.\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the rate object.\").nullable(),\n servicelevel: ShippoGetRate_ServiceLevelSchema.nullable(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'.\").nullable(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time.\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider. Shippo is not able to guarantee any transit times.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation.\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate.\").nullable(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px. Please refer to the provider's Logo Usage Guidelines before using the logo.\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px. Please refer to the provider's Logo Usage Guidelines before using the logo.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the rate retrieval.\");\n\nexport const shippoGetRate = action(\"SHIPPO_GET_RATE\", {\n slug: \"shippo-get-rate\",\n name: \"Get Rate\",\n description: \"Tool to retrieve a specific shipping rate by its ID. Use when you need to fetch detailed rate information including pricing, carrier details, and service level.\",\n input: ShippoGetRateInput,\n output: ShippoGetRateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-rate.mjs","names":[],"sources":["../../src/actions/get-rate.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 ShippoGetRateInput = z.object({\n rate_id: z.string().describe(\"Object ID of the rate to retrieve. This is a unique identifier for the rate.\"),\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 rate by ID.\");\nconst ShippoGetRate_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n text: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n source: z.string().describe(\"Source of the message.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the rate response.\");\nconst ShippoGetRate_RateAttributeSchema = z.enum([\"BESTVALUE\", \"CHEAPEST\", \"FASTEST\"]).describe(\"Enum for rate attributes.\");\nconst ShippoGetRate_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Name of the Rate's servicelevel, e.g. 'International Priority' or 'Standard Post'. A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties. These names vary depending on the provider.\").nullable().optional(),\n terms: z.string().describe(\"Further clarification of the service.\").nullable().optional(),\n token: z.string().describe(\"Token of the Rate's servicelevel, e.g. 'usps_priority' or 'fedex_ground'. See servicelevels.\").nullable().optional(),\n}).passthrough().describe(\"Service level information for the rate.\");\nexport const ShippoGetRateOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n zone: z.string().describe(\"The parcel's transit zone token. These tokens can vary depending on the provider.\").nullable().optional(),\n amount: z.string().describe(\"Final Rate price, expressed in the currency used in the sender's country.\").nullable(),\n currency: z.string().describe(\"Currency used in the sender's country, refers to 'amount'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'.\").nullable(),\n messages: z.array(ShippoGetRate_MessageObjectSchema).describe(\"An array containing message objects with code and text information.\").nullable().optional(),\n provider: z.string().describe(\"Carrier offering the rate, e.g., 'FedEx' or 'Deutsche Post DHL'.\").nullable(),\n shipment: z.string().describe(\"Shipment object ID associated with this rate.\").nullable(),\n object_id: z.string().describe(\"Unique identifier of the given Rate object.\").nullable(),\n arrives_by: z.record(z.string(), z.unknown()).describe(\"Estimated arrival time information.\").nullable().optional(),\n attributes: z.array(ShippoGetRate_RateAttributeSchema).describe(\"An array containing specific attributes of this Rate in context of the entire shipment. Attributes can be assigned 'CHEAPEST', 'FASTEST', or 'BESTVALUE'.\"),\n amount_local: z.string().describe(\"Final Rate price, expressed in the currency used in the recipient's country.\").nullable(),\n object_owner: z.string().describe(\"Username of the user who created the rate object.\").nullable(),\n servicelevel: ShippoGetRate_ServiceLevelSchema.nullable(),\n currency_local: z.string().describe(\"Currency used in the recipient's country, refers to 'amount_local'. The official ISO 4217 currency codes are used, e.g. 'USD' or 'EUR'.\").nullable(),\n duration_terms: z.string().describe(\"Further clarification of the transit times. Often, this includes notes that the transit time as given in 'days' is only an average, not a guaranteed time.\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated transit time (duration) in days of the Parcel at the given servicelevel. Please note that this is not binding, but only an average value as given by the provider. Shippo is not able to guarantee any transit times.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of Rate creation.\").nullable(),\n carrier_account: z.string().describe(\"Object ID of the carrier account that has been used to retrieve the rate.\").nullable(),\n provider_image_75: z.string().describe(\"URL to the provider logo with max. dimensions of 75*75px. Please refer to the provider's Logo Usage Guidelines before using the logo.\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to the provider logo with max. dimensions of 200*200px. Please refer to the provider's Logo Usage Guidelines before using the logo.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the rate retrieval.\");\n\nexport const shippoGetRate: AppAction<\n typeof ShippoGetRateInput,\n typeof ShippoGetRateOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_RATE\", {\n slug: \"shippo-get-rate\",\n name: \"Get Rate\",\n description: \"Tool to retrieve a specific shipping rate by its ID. Use when you need to fetch detailed rate information including pricing, carrier details, and service level.\",\n input: ShippoGetRateInput,\n output: ShippoGetRateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqB,EAAE,OAAO;CACzC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC3G,oBA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S;EACpM,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-refund.cjs","names":["z","action"],"sources":["../../src/actions/get-refund.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetRefundInput = z.object({\n refund_id: z.string().describe(\"Object ID of the refund to retrieve. This is a unique identifier returned when creating a refund.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Optional header parameter.\").optional(),\n}).describe(\"Request model for retrieving a refund by its ID.\");\nconst ShippoGetRefund_RefundStatusSchema = z.enum([\"QUEUED\", \"PENDING\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for refund status values.\");\nexport const ShippoGetRefundOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n status: ShippoGetRefund_RefundStatusSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the refund object.\").nullable().optional(),\n transaction: z.string().describe(\"Object ID of the Transaction to be refunded.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the refund object.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of object creation in ISO 8601 format.\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last object update in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a refund retrieved from Shippo.\");\n\nexport const shippoGetRefund = action(\"SHIPPO_GET_REFUND\", {\n slug: \"shippo-get-refund\",\n name: \"Get Refund\",\n description: \"Tool to retrieve a refund by its ID from Shippo. Use when you need to check the status or details of a specific refund transaction. Requires the refund_id which is obtained when creating a refund.\",\n input: ShippoGetRefundInput,\n output: ShippoGetRefundOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-refund.cjs","names":["z","action"],"sources":["../../src/actions/get-refund.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 ShippoGetRefundInput = z.object({\n refund_id: z.string().describe(\"Object ID of the refund to retrieve. This is a unique identifier returned when creating a refund.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Optional header parameter.\").optional(),\n}).describe(\"Request model for retrieving a refund by its ID.\");\nconst ShippoGetRefund_RefundStatusSchema = z.enum([\"QUEUED\", \"PENDING\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for refund status values.\");\nexport const ShippoGetRefundOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n status: ShippoGetRefund_RefundStatusSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the refund object.\").nullable().optional(),\n transaction: z.string().describe(\"Object ID of the Transaction to be refunded.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the refund object.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of object creation in ISO 8601 format.\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last object update in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a refund retrieved from Shippo.\");\n\nexport const shippoGetRefund: AppAction<\n typeof ShippoGetRefundInput,\n typeof ShippoGetRefundOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_REFUND\", {\n slug: \"shippo-get-refund\",\n name: \"Get Refund\",\n description: \"Tool to retrieve a refund by its ID from Shippo. Use when you need to check the status or details of a specific refund transaction. Requires the refund_id which is obtained when creating a refund.\",\n input: ShippoGetRefundInput,\n output: ShippoGetRefundOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAClI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,qCAAqCA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAW;CAAW;AAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC;AACtI,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQ,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,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-refund.d.ts
|
|
@@ -19,10 +21,7 @@ declare const ShippoGetRefundOutput: z.ZodObject<{
|
|
|
19
21
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const shippoGetRefund:
|
|
23
|
-
refund_id: string;
|
|
24
|
-
shippo_api_version?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const shippoGetRefund: AppAction<typeof ShippoGetRefundInput, typeof ShippoGetRefundOutput, typeof shippo.credential>;
|
|
26
25
|
//#endregion
|
|
27
26
|
export { shippoGetRefund };
|
|
28
27
|
//# sourceMappingURL=get-refund.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-refund.d.cts","names":[],"sources":["../../src/actions/get-refund.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-refund.d.cts","names":[],"sources":["../../src/actions/get-refund.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAUrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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-refund.d.ts
|
|
@@ -19,10 +21,7 @@ declare const ShippoGetRefundOutput: z.ZodObject<{
|
|
|
19
21
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const shippoGetRefund:
|
|
23
|
-
refund_id: string;
|
|
24
|
-
shippo_api_version?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const shippoGetRefund: AppAction<typeof ShippoGetRefundInput, typeof ShippoGetRefundOutput, typeof shippo.credential>;
|
|
26
25
|
//#endregion
|
|
27
26
|
export { shippoGetRefund };
|
|
28
27
|
//# sourceMappingURL=get-refund.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-refund.d.mts","names":[],"sources":["../../src/actions/get-refund.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-refund.d.mts","names":[],"sources":["../../src/actions/get-refund.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAUrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-refund.mjs","names":[],"sources":["../../src/actions/get-refund.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetRefundInput = z.object({\n refund_id: z.string().describe(\"Object ID of the refund to retrieve. This is a unique identifier returned when creating a refund.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Optional header parameter.\").optional(),\n}).describe(\"Request model for retrieving a refund by its ID.\");\nconst ShippoGetRefund_RefundStatusSchema = z.enum([\"QUEUED\", \"PENDING\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for refund status values.\");\nexport const ShippoGetRefundOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n status: ShippoGetRefund_RefundStatusSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the refund object.\").nullable().optional(),\n transaction: z.string().describe(\"Object ID of the Transaction to be refunded.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the refund object.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of object creation in ISO 8601 format.\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last object update in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a refund retrieved from Shippo.\");\n\nexport const shippoGetRefund = action(\"SHIPPO_GET_REFUND\", {\n slug: \"shippo-get-refund\",\n name: \"Get Refund\",\n description: \"Tool to retrieve a refund by its ID from Shippo. Use when you need to check the status or details of a specific refund transaction. Requires the refund_id which is obtained when creating a refund.\",\n input: ShippoGetRefundInput,\n output: ShippoGetRefundOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-refund.mjs","names":[],"sources":["../../src/actions/get-refund.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 ShippoGetRefundInput = z.object({\n refund_id: z.string().describe(\"Object ID of the refund to retrieve. This is a unique identifier returned when creating a refund.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Optional header parameter.\").optional(),\n}).describe(\"Request model for retrieving a refund by its ID.\");\nconst ShippoGetRefund_RefundStatusSchema = z.enum([\"QUEUED\", \"PENDING\", \"SUCCESS\", \"ERROR\"]).describe(\"Enum for refund status values.\");\nexport const ShippoGetRefundOutput = z.object({\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n status: ShippoGetRefund_RefundStatusSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the refund object.\").nullable().optional(),\n transaction: z.string().describe(\"Object ID of the Transaction to be refunded.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the refund object.\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of object creation in ISO 8601 format.\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last object update in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a refund retrieved from Shippo.\");\n\nexport const shippoGetRefund: AppAction<\n typeof ShippoGetRefundInput,\n typeof ShippoGetRefundOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_REFUND\", {\n slug: \"shippo-get-refund\",\n name: \"Get Refund\",\n description: \"Tool to retrieve a refund by its ID from Shippo. Use when you need to check the status or details of a specific refund transaction. Requires the refund_id which is obtained when creating a refund.\",\n input: ShippoGetRefundInput,\n output: ShippoGetRefundOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAClI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,qCAAqC,EAAE,KAAK;CAAC;CAAU;CAAW;CAAW;AAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAWtI,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBmC,EAAE,OAAO;EAC5C,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,QAAQ,mCAAmC,SAAS,CAAC,CAAC,SAAS;EAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-shipment.cjs","names":["z","action"],"sources":["../../src/actions/get-shipment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetShipmentInput = z.object({\n shipment_id: z.string().describe(\"Object ID of the shipment 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 shipment by its ID.\");\nconst ShippoGetShipment_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Service level name\").nullable().optional(),\n terms: z.string().describe(\"Service level terms\").nullable().optional(),\n token: z.string().describe(\"Service level token\").nullable().optional(),\n display_name: z.string().describe(\"Display name for the service level\").nullable().optional(),\n extended_token: z.string().describe(\"Extended service level token\").nullable().optional(),\n parent_servicelevel: z.string().describe(\"Parent service level if applicable\").nullable().optional(),\n}).passthrough().describe(\"Service level details for a rate.\");\nconst ShippoGetShipment_RateSchema = z.object({\n test: z.boolean().describe(\"Whether this is a test rate\").nullable().optional(),\n amount: z.string().describe(\"Price of the rate\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n provider: z.string().describe(\"Carrier provider name\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the rate object\").nullable().optional(),\n amount_local: z.string().describe(\"Price in local currency\").nullable().optional(),\n servicelevel: ShippoGetShipment_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Local currency code\").nullable().optional(),\n duration_terms: z.string().describe(\"Description of delivery timeframe\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated delivery days\").nullable().optional(),\n carrier_account: z.string().describe(\"ID of the carrier account used\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to 75x75 carrier logo\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to 200x200 carrier logo\").nullable().optional(),\n}).passthrough().describe(\"Rate object representing a shipping rate option.\");\nconst ShippoGetShipment_ParcelSchema = z.object({\n extra: z.record(z.string(), z.unknown()).describe(\"Additional parcel attributes\").nullable().optional(),\n width: z.string().describe(\"Width dimension\").nullable().optional(),\n height: z.string().describe(\"Height dimension\").nullable().optional(),\n length: z.string().describe(\"Length dimension\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n metadata: z.string().describe(\"Metadata string for the parcel\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for weight\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for dimensions\").nullable().optional(),\n}).passthrough().describe(\"Parcel object representing a package.\");\nconst ShippoGetShipment_MessageSchema = z.object({\n code: z.string().describe(\"Message code\").nullable().optional(),\n source: z.string().describe(\"Source of the message\").nullable().optional(),\n message: z.string().describe(\"Message text\").nullable().optional(),\n}).passthrough().describe(\"Message object containing API notifications.\");\nconst ShippoGetShipment_AddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n name: z.string().describe(\"Name of the person\").nullable().optional(),\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().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country ISO code\").nullable().optional(),\n street1: z.string().describe(\"First street line\").nullable().optional(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n street3: z.string().describe(\"Third street line\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the address object\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the address validation is complete\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether the address is residential\").nullable().optional(),\n validation_results: z.record(z.string(), z.unknown()).describe(\"Address validation results\").nullable().optional(),\n}).passthrough().describe(\"Address object used in shipments.\");\nexport const ShippoGetShipmentOutput = z.object({\n test: z.boolean().describe(\"Whether this is a test shipment\").nullable().optional(),\n extra: z.record(z.string(), z.unknown()).describe(\"Additional shipment attributes\").nullable().optional(),\n rates: z.array(ShippoGetShipment_RateSchema).describe(\"List of available rate objects\"),\n status: z.string().describe(\"Current status of the shipment\").nullable(),\n parcels: z.array(z.union([ShippoGetShipment_ParcelSchema, z.string()])).describe(\"List of parcel objects or parcel IDs\"),\n messages: z.array(ShippoGetShipment_MessageSchema).describe(\"List of messages related to the shipment\"),\n metadata: z.string().describe(\"Metadata string for the shipment\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the shipment\").nullable(),\n address_to: z.union([ShippoGetShipment_AddressSchema, z.string()]),\n address_from: z.union([ShippoGetShipment_AddressSchema, z.string()]),\n object_owner: z.string().describe(\"Owner of the shipment object\").nullable(),\n shipment_date: z.string().describe(\"Date when the shipment will be sent\").nullable().optional(),\n address_return: z.union([ShippoGetShipment_AddressSchema, z.string()]).nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the shipment was created\").nullable(),\n object_updated: z.string().describe(\"Timestamp when the shipment was last updated\").nullable(),\n carrier_accounts: z.array(z.string()).describe(\"List of carrier account IDs\"),\n customs_declaration: z.string().describe(\"Customs declaration ID if applicable\").nullable().optional(),\n}).passthrough().describe(\"Response model for shipment retrieval.\");\n\nexport const shippoGetShipment = action(\"SHIPPO_GET_SHIPMENT\", {\n slug: \"shippo-get-shipment\",\n name: \"Get Shipment\",\n description: \"Tool to retrieve a shipment by its ID. Use when you need to fetch details about a specific shipment including addresses, parcels, rates, and status.\",\n input: ShippoGetShipmentInput,\n output: ShippoGetShipmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,u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O,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,gBAAgBA,IAAAA,EAAE,MAAM,CAAC,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC7F,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;CAC5E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-shipment.cjs","names":["z","action"],"sources":["../../src/actions/get-shipment.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 ShippoGetShipmentInput = z.object({\n shipment_id: z.string().describe(\"Object ID of the shipment 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 shipment by its ID.\");\nconst ShippoGetShipment_ServiceLevelSchema = z.object({\n name: z.string().describe(\"Service level name\").nullable().optional(),\n terms: z.string().describe(\"Service level terms\").nullable().optional(),\n token: z.string().describe(\"Service level token\").nullable().optional(),\n display_name: z.string().describe(\"Display name for the service level\").nullable().optional(),\n extended_token: z.string().describe(\"Extended service level token\").nullable().optional(),\n parent_servicelevel: z.string().describe(\"Parent service level if applicable\").nullable().optional(),\n}).passthrough().describe(\"Service level details for a rate.\");\nconst ShippoGetShipment_RateSchema = z.object({\n test: z.boolean().describe(\"Whether this is a test rate\").nullable().optional(),\n amount: z.string().describe(\"Price of the rate\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n provider: z.string().describe(\"Carrier provider name\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the rate object\").nullable().optional(),\n amount_local: z.string().describe(\"Price in local currency\").nullable().optional(),\n servicelevel: ShippoGetShipment_ServiceLevelSchema.nullable().optional(),\n currency_local: z.string().describe(\"Local currency code\").nullable().optional(),\n duration_terms: z.string().describe(\"Description of delivery timeframe\").nullable().optional(),\n estimated_days: z.number().int().describe(\"Estimated delivery days\").nullable().optional(),\n carrier_account: z.string().describe(\"ID of the carrier account used\").nullable().optional(),\n provider_image_75: z.string().describe(\"URL to 75x75 carrier logo\").nullable().optional(),\n provider_image_200: z.string().describe(\"URL to 200x200 carrier logo\").nullable().optional(),\n}).passthrough().describe(\"Rate object representing a shipping rate option.\");\nconst ShippoGetShipment_ParcelSchema = z.object({\n extra: z.record(z.string(), z.unknown()).describe(\"Additional parcel attributes\").nullable().optional(),\n width: z.string().describe(\"Width dimension\").nullable().optional(),\n height: z.string().describe(\"Height dimension\").nullable().optional(),\n length: z.string().describe(\"Length dimension\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n metadata: z.string().describe(\"Metadata string for the parcel\").nullable().optional(),\n mass_unit: z.string().describe(\"Unit of measurement for weight\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for dimensions\").nullable().optional(),\n}).passthrough().describe(\"Parcel object representing a package.\");\nconst ShippoGetShipment_MessageSchema = z.object({\n code: z.string().describe(\"Message code\").nullable().optional(),\n source: z.string().describe(\"Source of the message\").nullable().optional(),\n message: z.string().describe(\"Message text\").nullable().optional(),\n}).passthrough().describe(\"Message object containing API notifications.\");\nconst ShippoGetShipment_AddressSchema = z.object({\n zip: z.string().describe(\"Postal code\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n name: z.string().describe(\"Name of the person\").nullable().optional(),\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().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country ISO code\").nullable().optional(),\n street1: z.string().describe(\"First street line\").nullable().optional(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n street3: z.string().describe(\"Third street line\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the address object\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the address validation is complete\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether the address is residential\").nullable().optional(),\n validation_results: z.record(z.string(), z.unknown()).describe(\"Address validation results\").nullable().optional(),\n}).passthrough().describe(\"Address object used in shipments.\");\nexport const ShippoGetShipmentOutput = z.object({\n test: z.boolean().describe(\"Whether this is a test shipment\").nullable().optional(),\n extra: z.record(z.string(), z.unknown()).describe(\"Additional shipment attributes\").nullable().optional(),\n rates: z.array(ShippoGetShipment_RateSchema).describe(\"List of available rate objects\"),\n status: z.string().describe(\"Current status of the shipment\").nullable(),\n parcels: z.array(z.union([ShippoGetShipment_ParcelSchema, z.string()])).describe(\"List of parcel objects or parcel IDs\"),\n messages: z.array(ShippoGetShipment_MessageSchema).describe(\"List of messages related to the shipment\"),\n metadata: z.string().describe(\"Metadata string for the shipment\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the shipment\").nullable(),\n address_to: z.union([ShippoGetShipment_AddressSchema, z.string()]),\n address_from: z.union([ShippoGetShipment_AddressSchema, z.string()]),\n object_owner: z.string().describe(\"Owner of the shipment object\").nullable(),\n shipment_date: z.string().describe(\"Date when the shipment will be sent\").nullable().optional(),\n address_return: z.union([ShippoGetShipment_AddressSchema, z.string()]).nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the shipment was created\").nullable(),\n object_updated: z.string().describe(\"Timestamp when the shipment was last updated\").nullable(),\n carrier_accounts: z.array(z.string()).describe(\"List of carrier account IDs\"),\n customs_declaration: z.string().describe(\"Customs declaration ID if applicable\").nullable().optional(),\n}).passthrough().describe(\"Response model for shipment retrieval.\");\n\nexport const shippoGetShipment: AppAction<\n typeof ShippoGetShipmentInput,\n typeof ShippoGetShipmentOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_SHIPMENT\", {\n slug: \"shippo-get-shipment\",\n name: \"Get Shipment\",\n description: \"Tool to retrieve a shipment by its ID. Use when you need to fetch details about a specific shipment including addresses, parcels, rates, and status.\",\n input: ShippoGetShipmentInput,\n output: ShippoGetShipmentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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oBAITC,eAAAA,OAAO,uBAAuB;CAChC,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-shipment.d.ts
|
|
@@ -107,10 +109,7 @@ declare const ShippoGetShipmentOutput: z.ZodObject<{
|
|
|
107
109
|
carrier_accounts: z.ZodArray<z.ZodString>;
|
|
108
110
|
customs_declaration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
111
|
}, z.core.$loose>;
|
|
110
|
-
declare const shippoGetShipment:
|
|
111
|
-
shipment_id: string;
|
|
112
|
-
shippo_api_version?: string | undefined;
|
|
113
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
112
|
+
declare const shippoGetShipment: AppAction<typeof ShippoGetShipmentInput, typeof ShippoGetShipmentOutput, typeof shippo.credential>;
|
|
114
113
|
//#endregion
|
|
115
114
|
export { shippoGetShipment };
|
|
116
115
|
//# sourceMappingURL=get-shipment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-shipment.d.cts","names":[],"sources":["../../src/actions/get-shipment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-shipment.d.cts","names":[],"sources":["../../src/actions/get-shipment.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cA4DtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,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-shipment.d.ts
|
|
@@ -107,10 +109,7 @@ declare const ShippoGetShipmentOutput: z.ZodObject<{
|
|
|
107
109
|
carrier_accounts: z.ZodArray<z.ZodString>;
|
|
108
110
|
customs_declaration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
111
|
}, z.core.$loose>;
|
|
110
|
-
declare const shippoGetShipment:
|
|
111
|
-
shipment_id: string;
|
|
112
|
-
shippo_api_version?: string | undefined;
|
|
113
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
112
|
+
declare const shippoGetShipment: AppAction<typeof ShippoGetShipmentInput, typeof ShippoGetShipmentOutput, typeof shippo.credential>;
|
|
114
113
|
//#endregion
|
|
115
114
|
export { shippoGetShipment };
|
|
116
115
|
//# sourceMappingURL=get-shipment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-shipment.d.mts","names":[],"sources":["../../src/actions/get-shipment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-shipment.d.mts","names":[],"sources":["../../src/actions/get-shipment.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cA4DtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|