@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-webhook.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"Object ID of the webhook to retrieve. This is the unique identifier returned when creating a webhook.\"),\n}).describe(\"Request model for retrieving a specific webhook.\");\nexport const ShippoGetWebhookOutput = z.object({\n url: z.string().describe(\"The registered endpoint URL that receives webhook notifications.\").nullable(),\n event: z.string().describe(\"The event type this webhook is subscribed to (e.g., track_updated, transaction_created, transaction_updated, batch_created, batch_purchased, or all).\").nullable(),\n active: z.boolean().describe(\"Whether the webhook is currently active and receiving notifications.\").nullable(),\n is_test: z.boolean().describe(\"Whether this is a test webhook or a production webhook.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for the webhook subscription. Use this ID to reference or manage the webhook in future API calls.\").nullable(),\n object_owner: z.string().describe(\"Username of the account owner who created this webhook subscription.\").nullable(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the webhook subscription was created.\").nullable(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the webhook subscription was last updated.\").nullable(),\n}).passthrough().describe(\"Response model for a webhook subscription.\");\n\nexport const shippoGetWebhook = action(\"SHIPPO_GET_WEBHOOK\", {\n slug: \"shippo-get-webhook\",\n name: \"Get Webhook\",\n description: \"Tool to retrieve a specific webhook subscription from Shippo. Use when you need to get the details of an existing webhook using its object ID.\",\n input: ShippoGetWebhookInput,\n output: ShippoGetWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook.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 ShippoGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"Object ID of the webhook to retrieve. This is the unique identifier returned when creating a webhook.\"),\n}).describe(\"Request model for retrieving a specific webhook.\");\nexport const ShippoGetWebhookOutput = z.object({\n url: z.string().describe(\"The registered endpoint URL that receives webhook notifications.\").nullable(),\n event: z.string().describe(\"The event type this webhook is subscribed to (e.g., track_updated, transaction_created, transaction_updated, batch_created, batch_purchased, or all).\").nullable(),\n active: z.boolean().describe(\"Whether the webhook is currently active and receiving notifications.\").nullable(),\n is_test: z.boolean().describe(\"Whether this is a test webhook or a production webhook.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for the webhook subscription. Use this ID to reference or manage the webhook in future API calls.\").nullable(),\n object_owner: z.string().describe(\"Username of the account owner who created this webhook subscription.\").nullable(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the webhook subscription was created.\").nullable(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the webhook subscription was last updated.\").nullable(),\n}).passthrough().describe(\"Response model for a webhook subscription.\");\n\nexport const shippoGetWebhook: AppAction<\n typeof ShippoGetWebhookInput,\n typeof ShippoGetWebhookOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_WEBHOOK\", {\n slug: \"shippo-get-webhook\",\n name: \"Get Webhook\",\n description: \"Tool to retrieve a specific webhook subscription from Shippo. Use when you need to get the details of an existing webhook using its object ID.\",\n input: ShippoGetWebhookInput,\n output: ShippoGetWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACzI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;CAC7L,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC/J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC9G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,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-webhook.d.ts
|
|
@@ -14,9 +16,7 @@ declare const ShippoGetWebhookOutput: z.ZodObject<{
|
|
|
14
16
|
object_created: z.ZodNullable<z.ZodString>;
|
|
15
17
|
object_updated: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const shippoGetWebhook:
|
|
18
|
-
webhook_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const shippoGetWebhook: AppAction<typeof ShippoGetWebhookInput, typeof ShippoGetWebhookOutput, typeof shippo.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { shippoGetWebhook };
|
|
22
22
|
//# sourceMappingURL=get-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.d.cts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.d.cts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAWtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,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-webhook.d.ts
|
|
@@ -14,9 +16,7 @@ declare const ShippoGetWebhookOutput: z.ZodObject<{
|
|
|
14
16
|
object_created: z.ZodNullable<z.ZodString>;
|
|
15
17
|
object_updated: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const shippoGetWebhook:
|
|
18
|
-
webhook_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const shippoGetWebhook: AppAction<typeof ShippoGetWebhookInput, typeof ShippoGetWebhookOutput, typeof shippo.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { shippoGetWebhook };
|
|
22
22
|
//# sourceMappingURL=get-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.d.mts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.d.mts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAWtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.mjs","names":[],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"Object ID of the webhook to retrieve. This is the unique identifier returned when creating a webhook.\"),\n}).describe(\"Request model for retrieving a specific webhook.\");\nexport const ShippoGetWebhookOutput = z.object({\n url: z.string().describe(\"The registered endpoint URL that receives webhook notifications.\").nullable(),\n event: z.string().describe(\"The event type this webhook is subscribed to (e.g., track_updated, transaction_created, transaction_updated, batch_created, batch_purchased, or all).\").nullable(),\n active: z.boolean().describe(\"Whether the webhook is currently active and receiving notifications.\").nullable(),\n is_test: z.boolean().describe(\"Whether this is a test webhook or a production webhook.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for the webhook subscription. Use this ID to reference or manage the webhook in future API calls.\").nullable(),\n object_owner: z.string().describe(\"Username of the account owner who created this webhook subscription.\").nullable(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the webhook subscription was created.\").nullable(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the webhook subscription was last updated.\").nullable(),\n}).passthrough().describe(\"Response model for a webhook subscription.\");\n\nexport const shippoGetWebhook = action(\"SHIPPO_GET_WEBHOOK\", {\n slug: \"shippo-get-webhook\",\n name: \"Get Webhook\",\n description: \"Tool to retrieve a specific webhook subscription from Shippo. Use when you need to get the details of an existing webhook using its object ID.\",\n input: ShippoGetWebhookInput,\n output: ShippoGetWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.mjs","names":[],"sources":["../../src/actions/get-webhook.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 ShippoGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"Object ID of the webhook to retrieve. This is the unique identifier returned when creating a webhook.\"),\n}).describe(\"Request model for retrieving a specific webhook.\");\nexport const ShippoGetWebhookOutput = z.object({\n url: z.string().describe(\"The registered endpoint URL that receives webhook notifications.\").nullable(),\n event: z.string().describe(\"The event type this webhook is subscribed to (e.g., track_updated, transaction_created, transaction_updated, batch_created, batch_purchased, or all).\").nullable(),\n active: z.boolean().describe(\"Whether the webhook is currently active and receiving notifications.\").nullable(),\n is_test: z.boolean().describe(\"Whether this is a test webhook or a production webhook.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for the webhook subscription. Use this ID to reference or manage the webhook in future API calls.\").nullable(),\n object_owner: z.string().describe(\"Username of the account owner who created this webhook subscription.\").nullable(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the webhook subscription was created.\").nullable(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the webhook subscription was last updated.\").nullable(),\n}).passthrough().describe(\"Response model for a webhook subscription.\");\n\nexport const shippoGetWebhook: AppAction<\n typeof ShippoGetWebhookInput,\n typeof ShippoGetWebhookOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_GET_WEBHOOK\", {\n slug: \"shippo-get-webhook\",\n name: \"Get Webhook\",\n description: \"Tool to retrieve a specific webhook subscription from Shippo. Use when you need to get the details of an existing webhook using its object ID.\",\n input: ShippoGetWebhookInput,\n output: ShippoGetWebhookOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBmC,EAAE,OAAO,EAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACzI,CAAC,CAAC,CAAC,SAAS,kDAoBH;CACP,QApBoC,EAAE,OAAO;EAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;EAC7L,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC/J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAC9G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-addresses.cjs","names":["z","action"],"sources":["../../src/actions/list-addresses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListAddressesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing addresses with pagination.\");\nconst ShippoListAddresses_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Validation message code\").nullable().optional(),\n text: z.string().describe(\"Validation message text\").nullable().optional(),\n type: z.string().describe(\"Type of validation message\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message\").nullable().optional(),\n}).passthrough().describe(\"Validation message object.\");\nconst ShippoListAddresses_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Boolean indicating if the address is valid\").nullable().optional(),\n messages: z.array(ShippoListAddresses_ValidationMessageSchema).describe(\"List of validation messages\").nullable().optional(),\n}).passthrough().describe(\"Validation results for an address.\");\nconst ShippoListAddresses_AddressSchema = z.object({\n zip: z.string().describe(\"Postal code (required for purchase)\").nullable().optional(),\n city: z.string().describe(\"City name (required for purchase)\").nullable().optional(),\n name: z.string().describe(\"First and last name (required for purchase)\").nullable().optional(),\n test: z.boolean().describe(\"Boolean indicating if this is a test mode address\").nullable().optional(),\n email: z.string().describe(\"RFC3696/5321-compliant email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State/province (required for some countries)\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO country code (always required)\").nullable().optional(),\n street1: z.string().describe(\"First street line, max 35 characters (required for purchase)\").nullable().optional(),\n street2: z.string().describe(\"Second street line, max 35 characters\").nullable().optional(),\n street3: z.string().describe(\"Third street line (USPS international, UPS only)\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata, up to 100 characters\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address\").nullable().optional(),\n street_no: z.string().describe(\"Building street number\").nullable().optional(),\n is_complete: z.boolean().describe(\"Boolean indicating if all required values are present\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the creator\").nullable().optional(),\n is_residential: z.boolean().describe(\"Boolean indicating residential status\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the address was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n validation_results: ShippoListAddresses_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Address object returned by the Shippo API.\");\nexport const ShippoListAddressesOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListAddresses_AddressSchema).describe(\"Array of address objects\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of addresses.\");\n\nexport const shippoListAddresses = action(\"SHIPPO_LIST_ADDRESSES\", {\n slug: \"shippo-list-addresses\",\n name: \"List Addresses\",\n description: \"Tool to list all addresses in the Shippo account with pagination support. Use when you need to retrieve stored addresses for shipment creation or management.\",\n input: ShippoListAddressesInput,\n output: ShippoListAddressesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-addresses.cjs","names":["z","action"],"sources":["../../src/actions/list-addresses.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 ShippoListAddressesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing addresses with pagination.\");\nconst ShippoListAddresses_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Validation message code\").nullable().optional(),\n text: z.string().describe(\"Validation message text\").nullable().optional(),\n type: z.string().describe(\"Type of validation message\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message\").nullable().optional(),\n}).passthrough().describe(\"Validation message object.\");\nconst ShippoListAddresses_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Boolean indicating if the address is valid\").nullable().optional(),\n messages: z.array(ShippoListAddresses_ValidationMessageSchema).describe(\"List of validation messages\").nullable().optional(),\n}).passthrough().describe(\"Validation results for an address.\");\nconst ShippoListAddresses_AddressSchema = z.object({\n zip: z.string().describe(\"Postal code (required for purchase)\").nullable().optional(),\n city: z.string().describe(\"City name (required for purchase)\").nullable().optional(),\n name: z.string().describe(\"First and last name (required for purchase)\").nullable().optional(),\n test: z.boolean().describe(\"Boolean indicating if this is a test mode address\").nullable().optional(),\n email: z.string().describe(\"RFC3696/5321-compliant email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State/province (required for some countries)\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO country code (always required)\").nullable().optional(),\n street1: z.string().describe(\"First street line, max 35 characters (required for purchase)\").nullable().optional(),\n street2: z.string().describe(\"Second street line, max 35 characters\").nullable().optional(),\n street3: z.string().describe(\"Third street line (USPS international, UPS only)\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata, up to 100 characters\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address\").nullable().optional(),\n street_no: z.string().describe(\"Building street number\").nullable().optional(),\n is_complete: z.boolean().describe(\"Boolean indicating if all required values are present\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the creator\").nullable().optional(),\n is_residential: z.boolean().describe(\"Boolean indicating residential status\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the address was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n validation_results: ShippoListAddresses_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Address object returned by the Shippo API.\");\nexport const ShippoListAddressesOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListAddresses_AddressSchema).describe(\"Array of address objects\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of addresses.\");\n\nexport const shippoListAddresses: AppAction<\n typeof ShippoListAddressesInput,\n typeof ShippoListAddressesOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_ADDRESSES\", {\n slug: \"shippo-list-addresses\",\n name: \"List Addresses\",\n description: \"Tool to list all addresses in the Shippo account with pagination support. Use when you need to retrieve stored addresses for shipment creation or management.\",\n input: ShippoListAddressesInput,\n output: ShippoListAddressesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS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C,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/list-addresses.d.ts
|
|
@@ -41,11 +43,7 @@ declare const ShippoListAddressesOutput: z.ZodObject<{
|
|
|
41
43
|
}, z.core.$loose>>>>;
|
|
42
44
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const shippoListAddresses:
|
|
45
|
-
page?: number | undefined;
|
|
46
|
-
results?: number | undefined;
|
|
47
|
-
SHIPPO_API_VERSION?: string | undefined;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const shippoListAddresses: AppAction<typeof ShippoListAddressesInput, typeof ShippoListAddressesOutput, typeof shippo.credential>;
|
|
49
47
|
//#endregion
|
|
50
48
|
export { shippoListAddresses };
|
|
51
49
|
//# sourceMappingURL=list-addresses.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-addresses.d.cts","names":[],"sources":["../../src/actions/list-addresses.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-addresses.d.cts","names":[],"sources":["../../src/actions/list-addresses.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAsCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,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/list-addresses.d.ts
|
|
@@ -41,11 +43,7 @@ declare const ShippoListAddressesOutput: z.ZodObject<{
|
|
|
41
43
|
}, z.core.$loose>>>>;
|
|
42
44
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const shippoListAddresses:
|
|
45
|
-
page?: number | undefined;
|
|
46
|
-
results?: number | undefined;
|
|
47
|
-
SHIPPO_API_VERSION?: string | undefined;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const shippoListAddresses: AppAction<typeof ShippoListAddressesInput, typeof ShippoListAddressesOutput, typeof shippo.credential>;
|
|
49
47
|
//#endregion
|
|
50
48
|
export { shippoListAddresses };
|
|
51
49
|
//# sourceMappingURL=list-addresses.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-addresses.d.mts","names":[],"sources":["../../src/actions/list-addresses.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-addresses.d.mts","names":[],"sources":["../../src/actions/list-addresses.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAsCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-addresses.mjs","names":[],"sources":["../../src/actions/list-addresses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListAddressesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing addresses with pagination.\");\nconst ShippoListAddresses_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Validation message code\").nullable().optional(),\n text: z.string().describe(\"Validation message text\").nullable().optional(),\n type: z.string().describe(\"Type of validation message\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message\").nullable().optional(),\n}).passthrough().describe(\"Validation message object.\");\nconst ShippoListAddresses_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Boolean indicating if the address is valid\").nullable().optional(),\n messages: z.array(ShippoListAddresses_ValidationMessageSchema).describe(\"List of validation messages\").nullable().optional(),\n}).passthrough().describe(\"Validation results for an address.\");\nconst ShippoListAddresses_AddressSchema = z.object({\n zip: z.string().describe(\"Postal code (required for purchase)\").nullable().optional(),\n city: z.string().describe(\"City name (required for purchase)\").nullable().optional(),\n name: z.string().describe(\"First and last name (required for purchase)\").nullable().optional(),\n test: z.boolean().describe(\"Boolean indicating if this is a test mode address\").nullable().optional(),\n email: z.string().describe(\"RFC3696/5321-compliant email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State/province (required for some countries)\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO country code (always required)\").nullable().optional(),\n street1: z.string().describe(\"First street line, max 35 characters (required for purchase)\").nullable().optional(),\n street2: z.string().describe(\"Second street line, max 35 characters\").nullable().optional(),\n street3: z.string().describe(\"Third street line (USPS international, UPS only)\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata, up to 100 characters\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address\").nullable().optional(),\n street_no: z.string().describe(\"Building street number\").nullable().optional(),\n is_complete: z.boolean().describe(\"Boolean indicating if all required values are present\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the creator\").nullable().optional(),\n is_residential: z.boolean().describe(\"Boolean indicating residential status\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the address was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n validation_results: ShippoListAddresses_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Address object returned by the Shippo API.\");\nexport const ShippoListAddressesOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListAddresses_AddressSchema).describe(\"Array of address objects\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of addresses.\");\n\nexport const shippoListAddresses = action(\"SHIPPO_LIST_ADDRESSES\", {\n slug: \"shippo-list-addresses\",\n name: \"List Addresses\",\n description: \"Tool to list all addresses in the Shippo account with pagination support. Use when you need to retrieve stored addresses for shipment creation or management.\",\n input: ShippoListAddressesInput,\n output: ShippoListAddressesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-addresses.mjs","names":[],"sources":["../../src/actions/list-addresses.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 ShippoListAddressesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing addresses with pagination.\");\nconst ShippoListAddresses_ValidationMessageSchema = z.object({\n code: z.string().describe(\"Validation message code\").nullable().optional(),\n text: z.string().describe(\"Validation message text\").nullable().optional(),\n type: z.string().describe(\"Type of validation message\").nullable().optional(),\n source: z.string().describe(\"Source of the validation message\").nullable().optional(),\n}).passthrough().describe(\"Validation message object.\");\nconst ShippoListAddresses_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Boolean indicating if the address is valid\").nullable().optional(),\n messages: z.array(ShippoListAddresses_ValidationMessageSchema).describe(\"List of validation messages\").nullable().optional(),\n}).passthrough().describe(\"Validation results for an address.\");\nconst ShippoListAddresses_AddressSchema = z.object({\n zip: z.string().describe(\"Postal code (required for purchase)\").nullable().optional(),\n city: z.string().describe(\"City name (required for purchase)\").nullable().optional(),\n name: z.string().describe(\"First and last name (required for purchase)\").nullable().optional(),\n test: z.boolean().describe(\"Boolean indicating if this is a test mode address\").nullable().optional(),\n email: z.string().describe(\"RFC3696/5321-compliant email address\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n state: z.string().describe(\"State/province (required for some countries)\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO country code (always required)\").nullable().optional(),\n street1: z.string().describe(\"First street line, max 35 characters (required for purchase)\").nullable().optional(),\n street2: z.string().describe(\"Second street line, max 35 characters\").nullable().optional(),\n street3: z.string().describe(\"Third street line (USPS international, UPS only)\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata, up to 100 characters\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address\").nullable().optional(),\n street_no: z.string().describe(\"Building street number\").nullable().optional(),\n is_complete: z.boolean().describe(\"Boolean indicating if all required values are present\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the creator\").nullable().optional(),\n is_residential: z.boolean().describe(\"Boolean indicating residential status\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the address was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n validation_results: ShippoListAddresses_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Address object returned by the Shippo API.\");\nexport const ShippoListAddressesOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListAddresses_AddressSchema).describe(\"Array of address objects\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of addresses.\");\n\nexport const shippoListAddresses: AppAction<\n typeof ShippoListAddressesInput,\n typeof ShippoListAddressesOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_ADDRESSES\", {\n slug: \"shippo-list-addresses\",\n name: \"List Addresses\",\n description: \"Tool to list all addresses in the Shippo account with pagination support. Use when you need to retrieve stored addresses for shipment creation or management.\",\n input: ShippoListAddressesInput,\n output: ShippoListAddressesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CA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M,iCAAiC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-carrier-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-carrier-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCarrierAccountsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing carrier accounts with pagination.\");\nconst ShippoListCarrierAccounts_CarrierImagesSchema = z.object({\n \"75\": z.string().describe(\"URL to carrier logo at 75px size\").nullable().optional(),\n \"200\": z.string().describe(\"URL to carrier logo at 200px size\").nullable().optional(),\n}).passthrough().describe(\"Carrier logo images at different sizes.\");\nconst ShippoListCarrierAccounts_CarrierAccountSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'usps', 'fedex', 'ups')\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object\").nullable().optional(),\n account_id: z.string().describe(\"The account ID for the carrier account (may be masked for security)\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters for the account (may be masked for security)\").nullable().optional(),\n carrier_name: z.string().describe(\"Human-readable carrier name\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the carrier account object\").nullable().optional(),\n carrier_images: ShippoListCarrierAccounts_CarrierImagesSchema.nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account\").nullable().optional(),\n}).passthrough().describe(\"Carrier account object returned by the Shippo API.\");\nexport const ShippoListCarrierAccountsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListCarrierAccounts_CarrierAccountSchema).describe(\"Array of carrier account objects\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of carrier accounts.\");\n\nexport const shippoListCarrierAccounts = action(\"SHIPPO_LIST_CARRIER_ACCOUNTS\", {\n slug: \"shippo-list-carrier-accounts\",\n name: \"List Carrier Accounts\",\n description: \"Tool to list all carrier accounts configured in the Shippo account with pagination support. Use when you need to retrieve carrier accounts for shipment creation or management.\",\n input: ShippoListCarrierAccountsInput,\n output: ShippoListCarrierAccountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-carrier-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-carrier-accounts.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 ShippoListCarrierAccountsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing carrier accounts with pagination.\");\nconst ShippoListCarrierAccounts_CarrierImagesSchema = z.object({\n \"75\": z.string().describe(\"URL to carrier logo at 75px size\").nullable().optional(),\n \"200\": z.string().describe(\"URL to carrier logo at 200px size\").nullable().optional(),\n}).passthrough().describe(\"Carrier logo images at different sizes.\");\nconst ShippoListCarrierAccounts_CarrierAccountSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'usps', 'fedex', 'ups')\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object\").nullable().optional(),\n account_id: z.string().describe(\"The account ID for the carrier account (may be masked for security)\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters for the account (may be masked for security)\").nullable().optional(),\n carrier_name: z.string().describe(\"Human-readable carrier name\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the carrier account object\").nullable().optional(),\n carrier_images: ShippoListCarrierAccounts_CarrierImagesSchema.nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account\").nullable().optional(),\n}).passthrough().describe(\"Carrier account object returned by the Shippo API.\");\nexport const ShippoListCarrierAccountsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListCarrierAccounts_CarrierAccountSchema).describe(\"Array of carrier account objects\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of carrier accounts.\");\n\nexport const shippoListCarrierAccounts: AppAction<\n typeof ShippoListCarrierAccountsInput,\n typeof ShippoListCarrierAccountsOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_CARRIER_ACCOUNTS\", {\n slug: \"shippo-list-carrier-accounts\",\n name: \"List Carrier Accounts\",\n description: \"Tool to list all carrier accounts configured in the Shippo account with pagination support. Use when you need to retrieve carrier accounts for shipment creation or management.\",\n input: ShippoListCarrierAccountsInput,\n output: ShippoListCarrierAccountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF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,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/list-carrier-accounts.d.ts
|
|
@@ -28,11 +30,7 @@ declare const ShippoListCarrierAccountsOutput: z.ZodObject<{
|
|
|
28
30
|
}, z.core.$loose>>>>;
|
|
29
31
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const shippoListCarrierAccounts:
|
|
32
|
-
page?: number | undefined;
|
|
33
|
-
results?: number | undefined;
|
|
34
|
-
SHIPPO_API_VERSION?: string | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const shippoListCarrierAccounts: AppAction<typeof ShippoListCarrierAccountsInput, typeof ShippoListCarrierAccountsOutput, typeof shippo.credential>;
|
|
36
34
|
//#endregion
|
|
37
35
|
export { shippoListCarrierAccounts };
|
|
38
36
|
//# sourceMappingURL=list-carrier-accounts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-carrier-accounts.d.cts","names":[],"sources":["../../src/actions/list-carrier-accounts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-carrier-accounts.d.cts","names":[],"sources":["../../src/actions/list-carrier-accounts.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAwB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shippo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-carrier-accounts.d.ts
|
|
@@ -28,11 +30,7 @@ declare const ShippoListCarrierAccountsOutput: z.ZodObject<{
|
|
|
28
30
|
}, z.core.$loose>>>>;
|
|
29
31
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const shippoListCarrierAccounts:
|
|
32
|
-
page?: number | undefined;
|
|
33
|
-
results?: number | undefined;
|
|
34
|
-
SHIPPO_API_VERSION?: string | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const shippoListCarrierAccounts: AppAction<typeof ShippoListCarrierAccountsInput, typeof ShippoListCarrierAccountsOutput, typeof shippo.credential>;
|
|
36
34
|
//#endregion
|
|
37
35
|
export { shippoListCarrierAccounts };
|
|
38
36
|
//# sourceMappingURL=list-carrier-accounts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-carrier-accounts.d.mts","names":[],"sources":["../../src/actions/list-carrier-accounts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-carrier-accounts.d.mts","names":[],"sources":["../../src/actions/list-carrier-accounts.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAwB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-carrier-accounts.mjs","names":[],"sources":["../../src/actions/list-carrier-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCarrierAccountsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing carrier accounts with pagination.\");\nconst ShippoListCarrierAccounts_CarrierImagesSchema = z.object({\n \"75\": z.string().describe(\"URL to carrier logo at 75px size\").nullable().optional(),\n \"200\": z.string().describe(\"URL to carrier logo at 200px size\").nullable().optional(),\n}).passthrough().describe(\"Carrier logo images at different sizes.\");\nconst ShippoListCarrierAccounts_CarrierAccountSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'usps', 'fedex', 'ups')\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object\").nullable().optional(),\n account_id: z.string().describe(\"The account ID for the carrier account (may be masked for security)\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters for the account (may be masked for security)\").nullable().optional(),\n carrier_name: z.string().describe(\"Human-readable carrier name\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the carrier account object\").nullable().optional(),\n carrier_images: ShippoListCarrierAccounts_CarrierImagesSchema.nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account\").nullable().optional(),\n}).passthrough().describe(\"Carrier account object returned by the Shippo API.\");\nexport const ShippoListCarrierAccountsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListCarrierAccounts_CarrierAccountSchema).describe(\"Array of carrier account objects\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of carrier accounts.\");\n\nexport const shippoListCarrierAccounts = action(\"SHIPPO_LIST_CARRIER_ACCOUNTS\", {\n slug: \"shippo-list-carrier-accounts\",\n name: \"List Carrier Accounts\",\n description: \"Tool to list all carrier accounts configured in the Shippo account with pagination support. Use when you need to retrieve carrier accounts for shipment creation or management.\",\n input: ShippoListCarrierAccountsInput,\n output: ShippoListCarrierAccountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-carrier-accounts.mjs","names":[],"sources":["../../src/actions/list-carrier-accounts.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 ShippoListCarrierAccountsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing carrier accounts with pagination.\");\nconst ShippoListCarrierAccounts_CarrierImagesSchema = z.object({\n \"75\": z.string().describe(\"URL to carrier logo at 75px size\").nullable().optional(),\n \"200\": z.string().describe(\"URL to carrier logo at 200px size\").nullable().optional(),\n}).passthrough().describe(\"Carrier logo images at different sizes.\");\nconst ShippoListCarrierAccounts_CarrierAccountSchema = z.object({\n test: z.boolean().describe(\"Indicates whether the carrier account is in test mode\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the carrier account is active\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name (e.g., 'usps', 'fedex', 'ups')\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the carrier account object\").nullable().optional(),\n account_id: z.string().describe(\"The account ID for the carrier account (may be masked for security)\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters for the account (may be masked for security)\").nullable().optional(),\n carrier_name: z.string().describe(\"Human-readable carrier name\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the carrier account object\").nullable().optional(),\n carrier_images: ShippoListCarrierAccounts_CarrierImagesSchema.nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the carrier account was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates if this is a Shippo-managed carrier account\").nullable().optional(),\n}).passthrough().describe(\"Carrier account object returned by the Shippo API.\");\nexport const ShippoListCarrierAccountsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListCarrierAccounts_CarrierAccountSchema).describe(\"Array of carrier account objects\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of carrier accounts.\");\n\nexport const shippoListCarrierAccounts: AppAction<\n typeof ShippoListCarrierAccountsInput,\n typeof ShippoListCarrierAccountsOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_CARRIER_ACCOUNTS\", {\n slug: \"shippo-list-carrier-accounts\",\n name: \"List Carrier Accounts\",\n description: \"Tool to list all carrier accounts configured in the Shippo account with pagination support. Use when you need to retrieve carrier accounts for shipment creation or management.\",\n input: ShippoListCarrierAccountsInput,\n output: ShippoListCarrierAccountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,i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,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgB,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAClF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAO9E,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-carrier-parcel-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-carrier-parcel-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCarrierParcelTemplatesInput = z.object({\n carrier: z.string().describe(\"Filter templates by specific carrier name (e.g., 'fedex', 'usps', 'ups')\").optional(),\n include: z.enum([\"all\", \"user\", \"enabled\"]).describe(\"Filter templates by type: 'all' returns all templates, 'user' returns only user-created templates, 'enabled' returns only enabled templates\").optional(),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n});\nconst ShippoListCarrierParcelTemplates_DistanceUnitSchema = z.enum([\"cm\", \"in\", \"ft\", \"m\", \"mm\", \"yd\"]);\nconst ShippoListCarrierParcelTemplates_CarrierParcelTemplateSchema = z.object({\n name: z.string().describe(\"The name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"The unique string representation of the carrier parcel template\").nullable().optional(),\n width: z.string().describe(\"The width of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n height: z.string().describe(\"The height of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n length: z.string().describe(\"The length of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n carrier: z.string().describe(\"The name of the carrier that provides this parcel template\").nullable().optional(),\n distance_unit: ShippoListCarrierParcelTemplates_DistanceUnitSchema.nullable().optional(),\n is_variable_dimensions: z.boolean().describe(\"True if the carrier parcel template allows custom dimensions, such as USPS Softpack\").nullable().optional(),\n}).passthrough();\nexport const ShippoListCarrierParcelTemplatesOutput = z.object({\n templates: z.array(ShippoListCarrierParcelTemplates_CarrierParcelTemplateSchema).describe(\"List of carrier parcel templates available for creating shipments\"),\n}).passthrough();\n\nexport const shippoListCarrierParcelTemplates = action(\"SHIPPO_LIST_CARRIER_PARCEL_TEMPLATES\", {\n slug: \"shippo-list-carrier-parcel-templates\",\n name: \"List Carrier Parcel Templates\",\n description: \"Tool to list all carrier parcel templates available for creating shipments. Use when you need to retrieve standardized parcel dimensions provided by carriers like FedEx, USPS, UPS, etc.\",\n input: ShippoListCarrierParcelTemplatesInput,\n output: ShippoListCarrierParcelTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-carrier-parcel-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-carrier-parcel-templates.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 ShippoListCarrierParcelTemplatesInput = z.object({\n carrier: z.string().describe(\"Filter templates by specific carrier name (e.g., 'fedex', 'usps', 'ups')\").optional(),\n include: z.enum([\"all\", \"user\", \"enabled\"]).describe(\"Filter templates by type: 'all' returns all templates, 'user' returns only user-created templates, 'enabled' returns only enabled templates\").optional(),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n});\nconst ShippoListCarrierParcelTemplates_DistanceUnitSchema = z.enum([\"cm\", \"in\", \"ft\", \"m\", \"mm\", \"yd\"]);\nconst ShippoListCarrierParcelTemplates_CarrierParcelTemplateSchema = z.object({\n name: z.string().describe(\"The name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"The unique string representation of the carrier parcel template\").nullable().optional(),\n width: z.string().describe(\"The width of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n height: z.string().describe(\"The height of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n length: z.string().describe(\"The length of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n carrier: z.string().describe(\"The name of the carrier that provides this parcel template\").nullable().optional(),\n distance_unit: ShippoListCarrierParcelTemplates_DistanceUnitSchema.nullable().optional(),\n is_variable_dimensions: z.boolean().describe(\"True if the carrier parcel template allows custom dimensions, such as USPS Softpack\").nullable().optional(),\n}).passthrough();\nexport const ShippoListCarrierParcelTemplatesOutput = z.object({\n templates: z.array(ShippoListCarrierParcelTemplates_CarrierParcelTemplateSchema).describe(\"List of carrier parcel templates available for creating shipments\"),\n}).passthrough();\n\nexport const shippoListCarrierParcelTemplates: AppAction<\n typeof ShippoListCarrierParcelTemplatesInput,\n typeof ShippoListCarrierParcelTemplatesOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_CARRIER_PARCEL_TEMPLATES\", {\n slug: \"shippo-list-carrier-parcel-templates\",\n name: \"List Carrier Parcel Templates\",\n description: \"Tool to list all carrier parcel templates available for creating shipments. Use when you need to retrieve standardized parcel dimensions provided by carriers like FedEx, USPS, UPS, etc.\",\n input: ShippoListCarrierParcelTemplatesInput,\n output: ShippoListCarrierParcelTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAS,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC7M,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC;AACD,MAAM,sDAAsDA,IAAAA,EAAE,KAAK;CAAC;CAAM;CAAM;CAAM;CAAK;CAAM;AAAI,CAAC;AACtG,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,eAAe,oDAAoD,SAAS,CAAC,CAAC,SAAS;CACvF,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,WAAWA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,mEAAmE,EAC/J,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mCAITC,eAAAA,OAAO,wCAAwC;CACjD,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/list-carrier-parcel-templates.d.ts
|
|
@@ -29,11 +31,7 @@ declare const ShippoListCarrierParcelTemplatesOutput: z.ZodObject<{
|
|
|
29
31
|
is_variable_dimensions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
32
|
}, z.core.$loose>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const shippoListCarrierParcelTemplates:
|
|
33
|
-
carrier?: string | undefined;
|
|
34
|
-
include?: "user" | "all" | "enabled" | undefined;
|
|
35
|
-
shippo_api_version?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const shippoListCarrierParcelTemplates: AppAction<typeof ShippoListCarrierParcelTemplatesInput, typeof ShippoListCarrierParcelTemplatesOutput, typeof shippo.credential>;
|
|
37
35
|
//#endregion
|
|
38
36
|
export { shippoListCarrierParcelTemplates };
|
|
39
37
|
//# sourceMappingURL=list-carrier-parcel-templates.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-carrier-parcel-templates.d.cts","names":[],"sources":["../../src/actions/list-carrier-parcel-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-carrier-parcel-templates.d.cts","names":[],"sources":["../../src/actions/list-carrier-parcel-templates.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,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/list-carrier-parcel-templates.d.ts
|
|
@@ -29,11 +31,7 @@ declare const ShippoListCarrierParcelTemplatesOutput: z.ZodObject<{
|
|
|
29
31
|
is_variable_dimensions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
32
|
}, z.core.$loose>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const shippoListCarrierParcelTemplates:
|
|
33
|
-
carrier?: string | undefined;
|
|
34
|
-
include?: "user" | "all" | "enabled" | undefined;
|
|
35
|
-
shippo_api_version?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const shippoListCarrierParcelTemplates: AppAction<typeof ShippoListCarrierParcelTemplatesInput, typeof ShippoListCarrierParcelTemplatesOutput, typeof shippo.credential>;
|
|
37
35
|
//#endregion
|
|
38
36
|
export { shippoListCarrierParcelTemplates };
|
|
39
37
|
//# sourceMappingURL=list-carrier-parcel-templates.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-carrier-parcel-templates.d.mts","names":[],"sources":["../../src/actions/list-carrier-parcel-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-carrier-parcel-templates.d.mts","names":[],"sources":["../../src/actions/list-carrier-parcel-templates.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-carrier-parcel-templates.mjs","names":[],"sources":["../../src/actions/list-carrier-parcel-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCarrierParcelTemplatesInput = z.object({\n carrier: z.string().describe(\"Filter templates by specific carrier name (e.g., 'fedex', 'usps', 'ups')\").optional(),\n include: z.enum([\"all\", \"user\", \"enabled\"]).describe(\"Filter templates by type: 'all' returns all templates, 'user' returns only user-created templates, 'enabled' returns only enabled templates\").optional(),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n});\nconst ShippoListCarrierParcelTemplates_DistanceUnitSchema = z.enum([\"cm\", \"in\", \"ft\", \"m\", \"mm\", \"yd\"]);\nconst ShippoListCarrierParcelTemplates_CarrierParcelTemplateSchema = z.object({\n name: z.string().describe(\"The name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"The unique string representation of the carrier parcel template\").nullable().optional(),\n width: z.string().describe(\"The width of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n height: z.string().describe(\"The height of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n length: z.string().describe(\"The length of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n carrier: z.string().describe(\"The name of the carrier that provides this parcel template\").nullable().optional(),\n distance_unit: ShippoListCarrierParcelTemplates_DistanceUnitSchema.nullable().optional(),\n is_variable_dimensions: z.boolean().describe(\"True if the carrier parcel template allows custom dimensions, such as USPS Softpack\").nullable().optional(),\n}).passthrough();\nexport const ShippoListCarrierParcelTemplatesOutput = z.object({\n templates: z.array(ShippoListCarrierParcelTemplates_CarrierParcelTemplateSchema).describe(\"List of carrier parcel templates available for creating shipments\"),\n}).passthrough();\n\nexport const shippoListCarrierParcelTemplates = action(\"SHIPPO_LIST_CARRIER_PARCEL_TEMPLATES\", {\n slug: \"shippo-list-carrier-parcel-templates\",\n name: \"List Carrier Parcel Templates\",\n description: \"Tool to list all carrier parcel templates available for creating shipments. Use when you need to retrieve standardized parcel dimensions provided by carriers like FedEx, USPS, UPS, etc.\",\n input: ShippoListCarrierParcelTemplatesInput,\n output: ShippoListCarrierParcelTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-carrier-parcel-templates.mjs","names":[],"sources":["../../src/actions/list-carrier-parcel-templates.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 ShippoListCarrierParcelTemplatesInput = z.object({\n carrier: z.string().describe(\"Filter templates by specific carrier name (e.g., 'fedex', 'usps', 'ups')\").optional(),\n include: z.enum([\"all\", \"user\", \"enabled\"]).describe(\"Filter templates by type: 'all' returns all templates, 'user' returns only user-created templates, 'enabled' returns only enabled templates\").optional(),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n});\nconst ShippoListCarrierParcelTemplates_DistanceUnitSchema = z.enum([\"cm\", \"in\", \"ft\", \"m\", \"mm\", \"yd\"]);\nconst ShippoListCarrierParcelTemplates_CarrierParcelTemplateSchema = z.object({\n name: z.string().describe(\"The name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"The unique string representation of the carrier parcel template\").nullable().optional(),\n width: z.string().describe(\"The width of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n height: z.string().describe(\"The height of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n length: z.string().describe(\"The length of the package, in units specified by the distance_unit attribute\").nullable().optional(),\n carrier: z.string().describe(\"The name of the carrier that provides this parcel template\").nullable().optional(),\n distance_unit: ShippoListCarrierParcelTemplates_DistanceUnitSchema.nullable().optional(),\n is_variable_dimensions: z.boolean().describe(\"True if the carrier parcel template allows custom dimensions, such as USPS Softpack\").nullable().optional(),\n}).passthrough();\nexport const ShippoListCarrierParcelTemplatesOutput = z.object({\n templates: z.array(ShippoListCarrierParcelTemplates_CarrierParcelTemplateSchema).describe(\"List of carrier parcel templates available for creating shipments\"),\n}).passthrough();\n\nexport const shippoListCarrierParcelTemplates: AppAction<\n typeof ShippoListCarrierParcelTemplatesInput,\n typeof ShippoListCarrierParcelTemplatesOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_CARRIER_PARCEL_TEMPLATES\", {\n slug: \"shippo-list-carrier-parcel-templates\",\n name: \"List Carrier Parcel Templates\",\n description: \"Tool to list all carrier parcel templates available for creating shipments. Use when you need to retrieve standardized parcel dimensions provided by carriers like FedEx, USPS, UPS, etc.\",\n input: ShippoListCarrierParcelTemplatesInput,\n output: ShippoListCarrierParcelTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,SAAS,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAS,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC7M,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC;AACD,MAAM,sDAAsD,EAAE,KAAK;CAAC;CAAM;CAAM;CAAM;CAAK;CAAM;AAAI,CAAC;AACtG,MAAM,+DAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,eAAe,oDAAoD,SAAS,CAAC,CAAC,SAAS;CACvF,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,mCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO,EAC7D,WAAW,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,mEAAmE,EAC/J,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customs-declarations.cjs","names":["z","action"],"sources":["../../src/actions/list-customs-declarations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoListCustomsDeclarationsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing customs declarations with pagination.\");\nconst ShippoListCustomsDeclarations_DutiesPayorAddressSchema = z.object({\n zip: z.string().describe(\"Postal code of the party to be billed for duties\").nullable().optional(),\n name: z.string().describe(\"Name of the party to be billed for duties\").nullable().optional(),\n country: z.string().describe(\"Country ISO code of account number to be billed\").nullable().optional(),\n}).passthrough().describe(\"Address of the party to be billed for duties.\");\nconst ShippoListCustomsDeclarations_DutiesPayorSchema = z.object({\n type: z.string().describe(\"Party to be billed for duties (SENDER, RECIPIENT, THIRD_PARTY)\").nullable().optional(),\n account: z.string().describe(\"Account number to be billed for duties\").nullable().optional(),\n address: ShippoListCustomsDeclarations_DutiesPayorAddressSchema.nullable().optional(),\n}).passthrough().describe(\"Specifies who will pay the duties for the shipment.\");\nconst ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema = z.object({\n currency: z.string().describe(\"Currency for the invoiced charges amounts incurred on the end consumer\").nullable().optional(),\n other_fees: z.string().describe(\"Other fees paid by the buyer\").nullable().optional(),\n total_taxes: z.string().describe(\"Total taxes paid by the buyer\").nullable().optional(),\n total_duties: z.string().describe(\"Total duties paid by the buyer\").nullable().optional(),\n total_shipping: z.string().describe(\"Total shipping paid by the buyer\").nullable().optional(),\n}).passthrough().describe(\"Additional invoiced charges to be shown on the Customs Declaration Commercial Invoice.\");\nconst ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema = z.object({\n tax_id: z.record(z.string(), z.unknown()).describe(\"Tax identification details\").nullable().optional(),\n eori_number: z.string().describe(\"Economic Operators' Registration and Identification (EORI) number\").nullable().optional(),\n}).passthrough().describe(\"Additional exporter identification that may be required to ship in certain countries.\");\nconst ShippoListCustomsDeclarations_CustomsDeclarationSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Object IDs of CustomsItem objects\").nullable().optional(),\n notes: z.string().describe(\"Additional notes to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN reference of the shipment\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information (EEL or PFC code)\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference of the shipment\").nullable().optional(),\n license: z.string().describe(\"License reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA)\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata, up to 100 characters\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number)\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n duties_payor: ShippoListCustomsDeclarations_DutiesPayorSchema.nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the object\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (e.g., VALID, INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n invoiced_charges: ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema.nullable().optional(),\n is_vat_collected: z.boolean().describe(\"Indicates whether the shipment's destination VAT has been collected\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.boolean().describe(\"Indicates if a commercial invoice is included\").nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN, ABANDON)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods of the shipment\").nullable().optional(),\n exporter_identification: ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema.nullable().optional(),\n}).passthrough().describe(\"Customs declaration object returned by the Shippo API.\");\nexport const ShippoListCustomsDeclarationsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListCustomsDeclarations_CustomsDeclarationSchema).describe(\"Array of customs declaration objects\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of customs declarations.\");\n\nexport const shippoListCustomsDeclarations = action(\"SHIPPO_LIST_CUSTOMS_DECLARATIONS\", {\n slug: \"shippo-list-customs-declarations\",\n name: \"List Customs Declarations\",\n description: \"Tool to list all customs declarations in the Shippo account with pagination support. Use when you need to retrieve customs declarations for international shipments.\",\n input: ShippoListCustomsDeclarationsInput,\n output: ShippoListCustomsDeclarationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAA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s","names":["z","action"],"sources":["../../src/actions/list-customs-declarations.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 ShippoListCustomsDeclarationsInput = z.object({\n page: z.number().int().default(1).describe(\"The page number you want to select\").optional(),\n results: z.number().int().default(25).describe(\"The number of results to return per page (max 100)\").optional(),\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request model for listing customs declarations with pagination.\");\nconst ShippoListCustomsDeclarations_DutiesPayorAddressSchema = z.object({\n zip: z.string().describe(\"Postal code of the party to be billed for duties\").nullable().optional(),\n name: z.string().describe(\"Name of the party to be billed for duties\").nullable().optional(),\n country: z.string().describe(\"Country ISO code of account number to be billed\").nullable().optional(),\n}).passthrough().describe(\"Address of the party to be billed for duties.\");\nconst ShippoListCustomsDeclarations_DutiesPayorSchema = z.object({\n type: z.string().describe(\"Party to be billed for duties (SENDER, RECIPIENT, THIRD_PARTY)\").nullable().optional(),\n account: z.string().describe(\"Account number to be billed for duties\").nullable().optional(),\n address: ShippoListCustomsDeclarations_DutiesPayorAddressSchema.nullable().optional(),\n}).passthrough().describe(\"Specifies who will pay the duties for the shipment.\");\nconst ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema = z.object({\n currency: z.string().describe(\"Currency for the invoiced charges amounts incurred on the end consumer\").nullable().optional(),\n other_fees: z.string().describe(\"Other fees paid by the buyer\").nullable().optional(),\n total_taxes: z.string().describe(\"Total taxes paid by the buyer\").nullable().optional(),\n total_duties: z.string().describe(\"Total duties paid by the buyer\").nullable().optional(),\n total_shipping: z.string().describe(\"Total shipping paid by the buyer\").nullable().optional(),\n}).passthrough().describe(\"Additional invoiced charges to be shown on the Customs Declaration Commercial Invoice.\");\nconst ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema = z.object({\n tax_id: z.record(z.string(), z.unknown()).describe(\"Tax identification details\").nullable().optional(),\n eori_number: z.string().describe(\"Economic Operators' Registration and Identification (EORI) number\").nullable().optional(),\n}).passthrough().describe(\"Additional exporter identification that may be required to ship in certain countries.\");\nconst ShippoListCustomsDeclarations_CustomsDeclarationSchema = z.object({\n test: z.boolean().describe(\"Boolean indicating if this is a test mode customs declaration\").nullable().optional(),\n items: z.array(z.string()).describe(\"Object IDs of CustomsItem objects\").nullable().optional(),\n notes: z.string().describe(\"Additional notes to be included in the customs declaration\").nullable().optional(),\n aes_itn: z.string().describe(\"AES / ITN reference of the shipment\").nullable().optional(),\n certify: z.boolean().describe(\"Expresses that the certify_signer has provided all information truthfully\").nullable().optional(),\n eel_pfc: z.string().describe(\"Export information (EEL or PFC code)\").nullable().optional(),\n invoice: z.string().describe(\"Invoice reference of the shipment\").nullable().optional(),\n license: z.string().describe(\"License reference of the shipment\").nullable().optional(),\n incoterm: z.string().describe(\"The incoterm reference of the shipment (e.g., DDU, DDP, FCA)\").nullable().optional(),\n metadata: z.string().describe(\"Additional metadata, up to 100 characters\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the customs declaration\").nullable().optional(),\n disclaimer: z.string().describe(\"Disclaimer for the shipment and customs information\").nullable().optional(),\n b13a_number: z.string().describe(\"B13A number (Proof of Report, Summary ID, or Exemption Number)\").nullable().optional(),\n certificate: z.string().describe(\"Certificate reference of the shipment\").nullable().optional(),\n duties_payor: ShippoListCustomsDeclarations_DutiesPayorSchema.nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the object\").nullable().optional(),\n object_state: z.string().describe(\"State of the customs declaration object (e.g., VALID, INVALID)\").nullable().optional(),\n contents_type: z.string().describe(\"Type of contents being shipped (e.g., MERCHANDISE, DOCUMENTS, GIFT, SAMPLE)\").nullable().optional(),\n certify_signer: z.string().describe(\"Name of the person responsible for the validity of all information provided\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the customs declaration was created\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n invoiced_charges: ShippoListCustomsDeclarations_CustomsInvoicedChargesSchema.nullable().optional(),\n is_vat_collected: z.boolean().describe(\"Indicates whether the shipment's destination VAT has been collected\").nullable().optional(),\n b13a_filing_option: z.string().describe(\"B13A filing option for Canadian exports\").nullable().optional(),\n commercial_invoice: z.boolean().describe(\"Indicates if a commercial invoice is included\").nullable().optional(),\n exporter_reference: z.string().describe(\"Exporter reference of an export shipment\").nullable().optional(),\n importer_reference: z.string().describe(\"Importer reference of an import shipment\").nullable().optional(),\n non_delivery_option: z.string().describe(\"Action to take if delivery fails (e.g., RETURN, ABANDON)\").nullable().optional(),\n contents_explanation: z.string().describe(\"Explanation of the type of goods of the shipment\").nullable().optional(),\n exporter_identification: ShippoListCustomsDeclarations_CustomsExporterIdentificationSchema.nullable().optional(),\n}).passthrough().describe(\"Customs declaration object returned by the Shippo API.\");\nexport const ShippoListCustomsDeclarationsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results, null if no more pages\").nullable().optional(),\n results: z.array(ShippoListCustomsDeclarations_CustomsDeclarationSchema).describe(\"Array of customs declaration objects\").nullable().optional(),\n previous: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n}).passthrough().describe(\"Response containing paginated list of customs declarations.\");\n\nexport const shippoListCustomsDeclarations: AppAction<\n typeof ShippoListCustomsDeclarationsInput,\n typeof ShippoListCustomsDeclarationsOutput,\n typeof shippo.credential\n> = action(\"SHIPPO_LIST_CUSTOMS_DECLARATIONS\", {\n slug: \"shippo-list-customs-declarations\",\n name: \"List Customs Declarations\",\n description: \"Tool to list all customs declarations in the Shippo account with pagination support. Use when you need to retrieve customs declarations for international shipments.\",\n input: ShippoListCustomsDeclarationsInput,\n output: ShippoListCustomsDeclarationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAA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AAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shippo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-customs-declarations.d.ts
|
|
@@ -59,11 +61,7 @@ declare const ShippoListCustomsDeclarationsOutput: z.ZodObject<{
|
|
|
59
61
|
}, z.core.$loose>>>>;
|
|
60
62
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
63
|
}, z.core.$loose>;
|
|
62
|
-
declare const shippoListCustomsDeclarations:
|
|
63
|
-
page?: number | undefined;
|
|
64
|
-
results?: number | undefined;
|
|
65
|
-
SHIPPO_API_VERSION?: string | undefined;
|
|
66
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
64
|
+
declare const shippoListCustomsDeclarations: AppAction<typeof ShippoListCustomsDeclarationsInput, typeof ShippoListCustomsDeclarationsOutput, typeof shippo.credential>;
|
|
67
65
|
//#endregion
|
|
68
66
|
export { shippoListCustomsDeclarations };
|
|
69
67
|
//# sourceMappingURL=list-customs-declarations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customs-declarations.d.cts","names":[],"sources":["../../src/actions/list-customs-declarations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-customs-declarations.d.cts","names":[],"sources":["../../src/actions/list-customs-declarations.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cA0DlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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/list-customs-declarations.d.ts
|
|
@@ -59,11 +61,7 @@ declare const ShippoListCustomsDeclarationsOutput: z.ZodObject<{
|
|
|
59
61
|
}, z.core.$loose>>>>;
|
|
60
62
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
63
|
}, z.core.$loose>;
|
|
62
|
-
declare const shippoListCustomsDeclarations:
|
|
63
|
-
page?: number | undefined;
|
|
64
|
-
results?: number | undefined;
|
|
65
|
-
SHIPPO_API_VERSION?: string | undefined;
|
|
66
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
64
|
+
declare const shippoListCustomsDeclarations: AppAction<typeof ShippoListCustomsDeclarationsInput, typeof ShippoListCustomsDeclarationsOutput, typeof shippo.credential>;
|
|
67
65
|
//#endregion
|
|
68
66
|
export { shippoListCustomsDeclarations };
|
|
69
67
|
//# sourceMappingURL=list-customs-declarations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customs-declarations.d.mts","names":[],"sources":["../../src/actions/list-customs-declarations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-customs-declarations.d.mts","names":[],"sources":["../../src/actions/list-customs-declarations.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cA0DlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,MAAA,CAAO,UAAA"}
|