@keystrokehq/shippo 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-address.cjs +3 -3
- package/dist/actions/create-address.cjs.map +1 -1
- package/dist/actions/create-address.d.cts +3 -3
- package/dist/actions/create-address.d.mts +3 -3
- package/dist/actions/create-address.mjs +3 -3
- package/dist/actions/create-address.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +4 -4
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +6 -4
- package/dist/actions/create-batch.d.mts +6 -4
- package/dist/actions/create-batch.mjs +4 -4
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-carrier-account.cjs +2 -2
- package/dist/actions/create-carrier-account.cjs.map +1 -1
- package/dist/actions/create-carrier-account.d.cts +2 -2
- package/dist/actions/create-carrier-account.d.mts +2 -2
- package/dist/actions/create-carrier-account.mjs +2 -2
- package/dist/actions/create-carrier-account.mjs.map +1 -1
- package/dist/actions/create-customs-item.cjs +1 -1
- package/dist/actions/create-customs-item.cjs.map +1 -1
- package/dist/actions/create-customs-item.d.cts +1 -1
- package/dist/actions/create-customs-item.d.mts +1 -1
- package/dist/actions/create-customs-item.mjs +1 -1
- package/dist/actions/create-customs-item.mjs.map +1 -1
- package/dist/actions/create-live-rate.cjs +6 -6
- package/dist/actions/create-live-rate.cjs.map +1 -1
- package/dist/actions/create-live-rate.d.cts +10 -6
- package/dist/actions/create-live-rate.d.mts +10 -6
- package/dist/actions/create-live-rate.mjs +6 -6
- package/dist/actions/create-live-rate.mjs.map +1 -1
- package/dist/actions/create-manifest.cjs +2 -2
- package/dist/actions/create-manifest.cjs.map +1 -1
- package/dist/actions/create-manifest.d.cts +2 -2
- package/dist/actions/create-manifest.d.mts +2 -2
- package/dist/actions/create-manifest.mjs +2 -2
- package/dist/actions/create-manifest.mjs.map +1 -1
- package/dist/actions/create-merchant-address.cjs +3 -3
- package/dist/actions/create-merchant-address.cjs.map +1 -1
- package/dist/actions/create-merchant-address.d.cts +3 -3
- package/dist/actions/create-merchant-address.d.mts +3 -3
- package/dist/actions/create-merchant-address.mjs +3 -3
- package/dist/actions/create-merchant-address.mjs.map +1 -1
- package/dist/actions/create-merchant-batch.cjs +6 -6
- package/dist/actions/create-merchant-batch.cjs.map +1 -1
- package/dist/actions/create-merchant-batch.d.cts +9 -8
- package/dist/actions/create-merchant-batch.d.mts +9 -8
- package/dist/actions/create-merchant-batch.mjs +6 -6
- package/dist/actions/create-merchant-batch.mjs.map +1 -1
- package/dist/actions/create-merchant-carrier-account.cjs +2 -2
- package/dist/actions/create-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/create-merchant-carrier-account.d.cts +2 -2
- package/dist/actions/create-merchant-carrier-account.d.mts +2 -2
- package/dist/actions/create-merchant-carrier-account.mjs +2 -2
- package/dist/actions/create-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.cjs +2 -2
- package/dist/actions/create-merchant-customs-declaration.cjs.map +1 -1
- package/dist/actions/create-merchant-customs-declaration.d.cts +4 -3
- package/dist/actions/create-merchant-customs-declaration.d.mts +4 -3
- package/dist/actions/create-merchant-customs-declaration.mjs +2 -2
- package/dist/actions/create-merchant-customs-declaration.mjs.map +1 -1
- package/dist/actions/create-merchant-customs-item.cjs +1 -1
- package/dist/actions/create-merchant-customs-item.cjs.map +1 -1
- package/dist/actions/create-merchant-customs-item.d.cts +2 -2
- package/dist/actions/create-merchant-customs-item.d.mts +2 -2
- package/dist/actions/create-merchant-customs-item.mjs +1 -1
- package/dist/actions/create-merchant-customs-item.mjs.map +1 -1
- package/dist/actions/create-merchant-order.cjs +4 -4
- package/dist/actions/create-merchant-order.cjs.map +1 -1
- package/dist/actions/create-merchant-order.d.cts +6 -5
- package/dist/actions/create-merchant-order.d.mts +6 -5
- package/dist/actions/create-merchant-order.mjs +4 -4
- package/dist/actions/create-merchant-order.mjs.map +1 -1
- package/dist/actions/create-merchant-parcel.cjs +4 -4
- package/dist/actions/create-merchant-parcel.cjs.map +1 -1
- package/dist/actions/create-merchant-parcel.d.cts +6 -6
- package/dist/actions/create-merchant-parcel.d.mts +6 -6
- package/dist/actions/create-merchant-parcel.mjs +4 -4
- package/dist/actions/create-merchant-parcel.mjs.map +1 -1
- package/dist/actions/create-merchant-refund.cjs +1 -1
- package/dist/actions/create-merchant-refund.cjs.map +1 -1
- package/dist/actions/create-merchant-refund.d.cts +1 -1
- package/dist/actions/create-merchant-refund.d.mts +1 -1
- package/dist/actions/create-merchant-refund.mjs +1 -1
- package/dist/actions/create-merchant-refund.mjs.map +1 -1
- package/dist/actions/create-merchant-shipment.cjs +14 -14
- package/dist/actions/create-merchant-shipment.cjs.map +1 -1
- package/dist/actions/create-merchant-shipment.d.cts +21 -20
- package/dist/actions/create-merchant-shipment.d.mts +21 -20
- package/dist/actions/create-merchant-shipment.mjs +14 -14
- package/dist/actions/create-merchant-shipment.mjs.map +1 -1
- package/dist/actions/create-merchant-transaction.cjs +2 -2
- package/dist/actions/create-merchant-transaction.cjs.map +1 -1
- package/dist/actions/create-merchant-transaction.d.cts +3 -3
- package/dist/actions/create-merchant-transaction.d.mts +3 -3
- package/dist/actions/create-merchant-transaction.mjs +2 -2
- package/dist/actions/create-merchant-transaction.mjs.map +1 -1
- package/dist/actions/create-order.cjs +4 -4
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +6 -5
- package/dist/actions/create-order.d.mts +6 -5
- package/dist/actions/create-order.mjs +4 -4
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/create-parcel.cjs +4 -4
- package/dist/actions/create-parcel.cjs.map +1 -1
- package/dist/actions/create-parcel.d.cts +6 -6
- package/dist/actions/create-parcel.d.mts +6 -6
- package/dist/actions/create-parcel.mjs +4 -4
- package/dist/actions/create-parcel.mjs.map +1 -1
- package/dist/actions/create-refund.cjs +1 -1
- package/dist/actions/create-refund.cjs.map +1 -1
- package/dist/actions/create-refund.d.cts +1 -1
- package/dist/actions/create-refund.d.mts +1 -1
- package/dist/actions/create-refund.mjs +1 -1
- package/dist/actions/create-refund.mjs.map +1 -1
- package/dist/actions/create-service-group.cjs +3 -3
- package/dist/actions/create-service-group.cjs.map +1 -1
- package/dist/actions/create-service-group.d.cts +4 -3
- package/dist/actions/create-service-group.d.mts +4 -3
- package/dist/actions/create-service-group.mjs +3 -3
- package/dist/actions/create-service-group.mjs.map +1 -1
- package/dist/actions/create-shipment.cjs +10 -10
- package/dist/actions/create-shipment.cjs.map +1 -1
- package/dist/actions/create-shipment.d.cts +18 -17
- package/dist/actions/create-shipment.d.cts.map +1 -1
- package/dist/actions/create-shipment.d.mts +18 -17
- package/dist/actions/create-shipment.d.mts.map +1 -1
- package/dist/actions/create-shipment.mjs +10 -10
- package/dist/actions/create-shipment.mjs.map +1 -1
- package/dist/actions/create-track.cjs +5 -5
- package/dist/actions/create-track.cjs.map +1 -1
- package/dist/actions/create-track.d.cts +8 -8
- package/dist/actions/create-track.d.mts +8 -8
- package/dist/actions/create-track.mjs +5 -5
- package/dist/actions/create-track.mjs.map +1 -1
- package/dist/actions/create-transaction.cjs +3 -3
- package/dist/actions/create-transaction.cjs.map +1 -1
- package/dist/actions/create-transaction.d.cts +5 -5
- package/dist/actions/create-transaction.d.mts +5 -5
- package/dist/actions/create-transaction.mjs +3 -3
- package/dist/actions/create-transaction.mjs.map +1 -1
- package/dist/actions/create-user-parcel-template.cjs +2 -2
- package/dist/actions/create-user-parcel-template.cjs.map +1 -1
- package/dist/actions/create-user-parcel-template.d.cts +2 -2
- package/dist/actions/create-user-parcel-template.d.mts +2 -2
- package/dist/actions/create-user-parcel-template.mjs +2 -2
- package/dist/actions/create-user-parcel-template.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -1
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +5 -5
- package/dist/actions/create-webhook.d.mts +5 -5
- package/dist/actions/create-webhook.mjs +1 -1
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-default-parcel-template.cjs +1 -1
- package/dist/actions/delete-default-parcel-template.cjs.map +1 -1
- package/dist/actions/delete-default-parcel-template.d.cts +1 -1
- package/dist/actions/delete-default-parcel-template.d.mts +1 -1
- package/dist/actions/delete-default-parcel-template.mjs +1 -1
- package/dist/actions/delete-default-parcel-template.mjs.map +1 -1
- package/dist/actions/delete-user-parcel-template.cjs +1 -1
- package/dist/actions/delete-user-parcel-template.cjs.map +1 -1
- package/dist/actions/delete-user-parcel-template.d.cts +1 -1
- package/dist/actions/delete-user-parcel-template.d.mts +1 -1
- package/dist/actions/delete-user-parcel-template.mjs +1 -1
- package/dist/actions/delete-user-parcel-template.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-address.cjs +3 -3
- package/dist/actions/get-address.cjs.map +1 -1
- package/dist/actions/get-address.d.cts +3 -3
- package/dist/actions/get-address.d.mts +3 -3
- package/dist/actions/get-address.mjs +3 -3
- package/dist/actions/get-address.mjs.map +1 -1
- package/dist/actions/get-carrier-account.cjs +2 -2
- package/dist/actions/get-carrier-account.cjs.map +1 -1
- package/dist/actions/get-carrier-account.d.cts +2 -2
- package/dist/actions/get-carrier-account.d.mts +2 -2
- package/dist/actions/get-carrier-account.mjs +2 -2
- package/dist/actions/get-carrier-account.mjs.map +1 -1
- package/dist/actions/get-carrier-parcel-template.cjs +1 -1
- package/dist/actions/get-carrier-parcel-template.cjs.map +1 -1
- package/dist/actions/get-carrier-parcel-template.d.cts +2 -2
- package/dist/actions/get-carrier-parcel-template.d.mts +2 -2
- package/dist/actions/get-carrier-parcel-template.mjs +1 -1
- package/dist/actions/get-carrier-parcel-template.mjs.map +1 -1
- package/dist/actions/get-carrier-registration-status.cjs +1 -1
- package/dist/actions/get-carrier-registration-status.cjs.map +1 -1
- package/dist/actions/get-carrier-registration-status.d.cts +1 -1
- package/dist/actions/get-carrier-registration-status.d.mts +1 -1
- package/dist/actions/get-carrier-registration-status.mjs +1 -1
- package/dist/actions/get-carrier-registration-status.mjs.map +1 -1
- package/dist/actions/get-customs-declaration.cjs +4 -4
- package/dist/actions/get-customs-declaration.cjs.map +1 -1
- package/dist/actions/get-customs-declaration.d.cts +4 -4
- package/dist/actions/get-customs-declaration.d.mts +4 -4
- package/dist/actions/get-customs-declaration.mjs +4 -4
- package/dist/actions/get-customs-declaration.mjs.map +1 -1
- package/dist/actions/get-customs-item.cjs +1 -1
- package/dist/actions/get-customs-item.cjs.map +1 -1
- package/dist/actions/get-customs-item.d.cts +1 -1
- package/dist/actions/get-customs-item.d.mts +1 -1
- package/dist/actions/get-customs-item.mjs +1 -1
- package/dist/actions/get-customs-item.mjs.map +1 -1
- package/dist/actions/get-default-parcel-template.cjs +2 -2
- package/dist/actions/get-default-parcel-template.cjs.map +1 -1
- package/dist/actions/get-default-parcel-template.d.cts +2 -2
- package/dist/actions/get-default-parcel-template.d.mts +2 -2
- package/dist/actions/get-default-parcel-template.mjs +2 -2
- package/dist/actions/get-default-parcel-template.mjs.map +1 -1
- package/dist/actions/get-merchant-address.cjs +3 -3
- package/dist/actions/get-merchant-address.cjs.map +1 -1
- package/dist/actions/get-merchant-address.d.cts +3 -3
- package/dist/actions/get-merchant-address.d.mts +3 -3
- package/dist/actions/get-merchant-address.mjs +3 -3
- package/dist/actions/get-merchant-address.mjs.map +1 -1
- package/dist/actions/get-merchant-batch.cjs +3 -3
- package/dist/actions/get-merchant-batch.cjs.map +1 -1
- package/dist/actions/get-merchant-batch.d.cts +5 -5
- package/dist/actions/get-merchant-batch.d.mts +5 -5
- package/dist/actions/get-merchant-batch.mjs +3 -3
- package/dist/actions/get-merchant-batch.mjs.map +1 -1
- package/dist/actions/get-merchant-carrier-account.cjs +2 -2
- package/dist/actions/get-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/get-merchant-carrier-account.d.cts +2 -2
- package/dist/actions/get-merchant-carrier-account.d.mts +2 -2
- package/dist/actions/get-merchant-carrier-account.mjs +2 -2
- package/dist/actions/get-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.cjs +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.cjs.map +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.d.cts +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.d.mts +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.mjs +1 -1
- package/dist/actions/get-merchant-carrier-registration-status.mjs.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.cjs +1 -1
- package/dist/actions/get-merchant-customs-declaration.cjs.map +1 -1
- package/dist/actions/get-merchant-customs-declaration.d.cts +1 -1
- package/dist/actions/get-merchant-customs-declaration.d.mts +1 -1
- package/dist/actions/get-merchant-customs-declaration.mjs +1 -1
- package/dist/actions/get-merchant-customs-declaration.mjs.map +1 -1
- package/dist/actions/get-merchant-customs-item.cjs +1 -1
- package/dist/actions/get-merchant-customs-item.cjs.map +1 -1
- package/dist/actions/get-merchant-customs-item.d.cts +1 -1
- package/dist/actions/get-merchant-customs-item.d.mts +1 -1
- package/dist/actions/get-merchant-customs-item.mjs +1 -1
- package/dist/actions/get-merchant-customs-item.mjs.map +1 -1
- package/dist/actions/get-merchant-manifest.cjs +1 -1
- package/dist/actions/get-merchant-manifest.cjs.map +1 -1
- package/dist/actions/get-merchant-manifest.d.cts +1 -1
- package/dist/actions/get-merchant-manifest.d.mts +1 -1
- package/dist/actions/get-merchant-manifest.mjs +1 -1
- package/dist/actions/get-merchant-manifest.mjs.map +1 -1
- package/dist/actions/get-merchant-order.cjs +3 -3
- package/dist/actions/get-merchant-order.cjs.map +1 -1
- package/dist/actions/get-merchant-order.d.cts +4 -4
- package/dist/actions/get-merchant-order.d.mts +4 -4
- package/dist/actions/get-merchant-order.mjs +3 -3
- package/dist/actions/get-merchant-order.mjs.map +1 -1
- package/dist/actions/get-merchant-parcel.cjs +4 -4
- package/dist/actions/get-merchant-parcel.cjs.map +1 -1
- package/dist/actions/get-merchant-parcel.d.cts +4 -4
- package/dist/actions/get-merchant-parcel.d.mts +4 -4
- package/dist/actions/get-merchant-parcel.mjs +4 -4
- package/dist/actions/get-merchant-parcel.mjs.map +1 -1
- package/dist/actions/get-merchant-rate.cjs +3 -3
- package/dist/actions/get-merchant-rate.cjs.map +1 -1
- package/dist/actions/get-merchant-rate.d.cts +3 -3
- package/dist/actions/get-merchant-rate.d.mts +3 -3
- package/dist/actions/get-merchant-rate.mjs +3 -3
- package/dist/actions/get-merchant-rate.mjs.map +1 -1
- package/dist/actions/get-merchant-refund.cjs +1 -1
- package/dist/actions/get-merchant-refund.cjs.map +1 -1
- package/dist/actions/get-merchant-refund.d.cts +1 -1
- package/dist/actions/get-merchant-refund.d.mts +1 -1
- package/dist/actions/get-merchant-refund.mjs +1 -1
- package/dist/actions/get-merchant-refund.mjs.map +1 -1
- package/dist/actions/get-merchant-shipment.cjs +14 -14
- package/dist/actions/get-merchant-shipment.cjs.map +1 -1
- package/dist/actions/get-merchant-shipment.d.cts +19 -19
- package/dist/actions/get-merchant-shipment.d.mts +19 -19
- package/dist/actions/get-merchant-shipment.mjs +14 -14
- package/dist/actions/get-merchant-shipment.mjs.map +1 -1
- package/dist/actions/get-merchant-track.cjs +6 -6
- package/dist/actions/get-merchant-track.cjs.map +1 -1
- package/dist/actions/get-merchant-track.d.cts +8 -8
- package/dist/actions/get-merchant-track.d.mts +8 -8
- package/dist/actions/get-merchant-track.mjs +6 -6
- package/dist/actions/get-merchant-track.mjs.map +1 -1
- package/dist/actions/get-merchant-transaction.cjs +2 -2
- package/dist/actions/get-merchant-transaction.cjs.map +1 -1
- package/dist/actions/get-merchant-transaction.d.cts +3 -3
- package/dist/actions/get-merchant-transaction.d.mts +3 -3
- package/dist/actions/get-merchant-transaction.mjs +2 -2
- package/dist/actions/get-merchant-transaction.mjs.map +1 -1
- package/dist/actions/get-merchant.cjs +1 -1
- package/dist/actions/get-merchant.cjs.map +1 -1
- package/dist/actions/get-merchant.d.cts +1 -1
- package/dist/actions/get-merchant.d.mts +1 -1
- package/dist/actions/get-merchant.mjs +1 -1
- package/dist/actions/get-merchant.mjs.map +1 -1
- package/dist/actions/get-order.cjs +5 -5
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +6 -6
- package/dist/actions/get-order.d.mts +6 -6
- package/dist/actions/get-order.mjs +5 -5
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-parcel.cjs +4 -4
- package/dist/actions/get-parcel.cjs.map +1 -1
- package/dist/actions/get-parcel.d.cts +4 -4
- package/dist/actions/get-parcel.d.mts +4 -4
- package/dist/actions/get-parcel.mjs +4 -4
- package/dist/actions/get-parcel.mjs.map +1 -1
- package/dist/actions/get-rate.cjs +3 -3
- package/dist/actions/get-rate.cjs.map +1 -1
- package/dist/actions/get-rate.d.cts +3 -3
- package/dist/actions/get-rate.d.mts +3 -3
- package/dist/actions/get-rate.mjs +3 -3
- package/dist/actions/get-rate.mjs.map +1 -1
- package/dist/actions/get-refund.cjs +1 -1
- package/dist/actions/get-refund.cjs.map +1 -1
- package/dist/actions/get-refund.d.cts +1 -1
- package/dist/actions/get-refund.d.mts +1 -1
- package/dist/actions/get-refund.mjs +1 -1
- package/dist/actions/get-refund.mjs.map +1 -1
- package/dist/actions/get-shipment.cjs +9 -9
- package/dist/actions/get-shipment.cjs.map +1 -1
- package/dist/actions/get-shipment.d.cts +13 -13
- package/dist/actions/get-shipment.d.mts +13 -13
- package/dist/actions/get-shipment.mjs +9 -9
- package/dist/actions/get-shipment.mjs.map +1 -1
- package/dist/actions/get-shippo-account.cjs +1 -1
- package/dist/actions/get-shippo-account.cjs.map +1 -1
- package/dist/actions/get-shippo-account.d.cts +1 -1
- package/dist/actions/get-shippo-account.d.mts +1 -1
- package/dist/actions/get-shippo-account.mjs +1 -1
- package/dist/actions/get-shippo-account.mjs.map +1 -1
- package/dist/actions/get-track.cjs +6 -6
- package/dist/actions/get-track.cjs.map +1 -1
- package/dist/actions/get-track.d.cts +8 -8
- package/dist/actions/get-track.d.mts +8 -8
- package/dist/actions/get-track.mjs +6 -6
- package/dist/actions/get-track.mjs.map +1 -1
- package/dist/actions/get-transaction.cjs +2 -2
- package/dist/actions/get-transaction.cjs.map +1 -1
- package/dist/actions/get-transaction.d.cts +2 -2
- package/dist/actions/get-transaction.d.mts +2 -2
- package/dist/actions/get-transaction.mjs +2 -2
- package/dist/actions/get-transaction.mjs.map +1 -1
- package/dist/actions/get-user-parcel-template.cjs +2 -2
- package/dist/actions/get-user-parcel-template.cjs.map +1 -1
- package/dist/actions/get-user-parcel-template.d.cts +2 -2
- package/dist/actions/get-user-parcel-template.d.mts +2 -2
- package/dist/actions/get-user-parcel-template.mjs +2 -2
- package/dist/actions/get-user-parcel-template.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -1
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +1 -1
- package/dist/actions/get-webhook.d.mts +1 -1
- package/dist/actions/get-webhook.mjs +1 -1
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-addresses.cjs +4 -4
- package/dist/actions/list-addresses.cjs.map +1 -1
- package/dist/actions/list-addresses.d.cts +4 -4
- package/dist/actions/list-addresses.d.mts +4 -4
- package/dist/actions/list-addresses.mjs +4 -4
- package/dist/actions/list-addresses.mjs.map +1 -1
- package/dist/actions/list-carrier-accounts.cjs +4 -4
- package/dist/actions/list-carrier-accounts.cjs.map +1 -1
- package/dist/actions/list-carrier-accounts.d.cts +4 -4
- package/dist/actions/list-carrier-accounts.d.mts +4 -4
- package/dist/actions/list-carrier-accounts.mjs +4 -4
- package/dist/actions/list-carrier-accounts.mjs.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.cjs +2 -2
- package/dist/actions/list-carrier-parcel-templates.cjs.map +1 -1
- package/dist/actions/list-carrier-parcel-templates.d.cts +3 -3
- package/dist/actions/list-carrier-parcel-templates.d.mts +3 -3
- package/dist/actions/list-carrier-parcel-templates.mjs +2 -2
- package/dist/actions/list-carrier-parcel-templates.mjs.map +1 -1
- package/dist/actions/list-customs-declarations.cjs +7 -7
- package/dist/actions/list-customs-declarations.cjs.map +1 -1
- package/dist/actions/list-customs-declarations.d.cts +7 -7
- package/dist/actions/list-customs-declarations.d.mts +7 -7
- package/dist/actions/list-customs-declarations.mjs +7 -7
- package/dist/actions/list-customs-declarations.mjs.map +1 -1
- package/dist/actions/list-customs-items.cjs +2 -2
- package/dist/actions/list-customs-items.cjs.map +1 -1
- package/dist/actions/list-customs-items.d.cts +2 -2
- package/dist/actions/list-customs-items.d.mts +2 -2
- package/dist/actions/list-customs-items.mjs +2 -2
- package/dist/actions/list-customs-items.mjs.map +1 -1
- package/dist/actions/list-manifests.cjs +2 -2
- package/dist/actions/list-manifests.cjs.map +1 -1
- package/dist/actions/list-manifests.d.cts +2 -2
- package/dist/actions/list-manifests.d.mts +2 -2
- package/dist/actions/list-manifests.mjs +2 -2
- package/dist/actions/list-manifests.mjs.map +1 -1
- package/dist/actions/list-merchant-addresses.cjs +4 -4
- package/dist/actions/list-merchant-addresses.cjs.map +1 -1
- package/dist/actions/list-merchant-addresses.d.cts +4 -4
- package/dist/actions/list-merchant-addresses.d.mts +4 -4
- package/dist/actions/list-merchant-addresses.mjs +4 -4
- package/dist/actions/list-merchant-addresses.mjs.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.cjs +3 -3
- package/dist/actions/list-merchant-carrier-accounts.cjs.map +1 -1
- package/dist/actions/list-merchant-carrier-accounts.d.cts +3 -3
- package/dist/actions/list-merchant-carrier-accounts.d.mts +3 -3
- package/dist/actions/list-merchant-carrier-accounts.mjs +3 -3
- package/dist/actions/list-merchant-carrier-accounts.mjs.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.cjs +2 -2
- package/dist/actions/list-merchant-customs-declarations.cjs.map +1 -1
- package/dist/actions/list-merchant-customs-declarations.d.cts +2 -2
- package/dist/actions/list-merchant-customs-declarations.d.mts +2 -2
- package/dist/actions/list-merchant-customs-declarations.mjs +2 -2
- package/dist/actions/list-merchant-customs-declarations.mjs.map +1 -1
- package/dist/actions/list-merchant-customs-items.cjs +2 -2
- package/dist/actions/list-merchant-customs-items.cjs.map +1 -1
- package/dist/actions/list-merchant-customs-items.d.cts +2 -2
- package/dist/actions/list-merchant-customs-items.d.mts +2 -2
- package/dist/actions/list-merchant-customs-items.mjs +2 -2
- package/dist/actions/list-merchant-customs-items.mjs.map +1 -1
- package/dist/actions/list-merchant-manifests.cjs +3 -3
- package/dist/actions/list-merchant-manifests.cjs.map +1 -1
- package/dist/actions/list-merchant-manifests.d.cts +3 -3
- package/dist/actions/list-merchant-manifests.d.mts +3 -3
- package/dist/actions/list-merchant-manifests.mjs +3 -3
- package/dist/actions/list-merchant-manifests.mjs.map +1 -1
- package/dist/actions/list-merchant-parcels.cjs +3 -3
- package/dist/actions/list-merchant-parcels.cjs.map +1 -1
- package/dist/actions/list-merchant-parcels.d.cts +3 -3
- package/dist/actions/list-merchant-parcels.d.mts +3 -3
- package/dist/actions/list-merchant-parcels.mjs +3 -3
- package/dist/actions/list-merchant-parcels.mjs.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.cjs +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.cjs.map +1 -1
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.cts +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.mjs +4 -4
- package/dist/actions/list-merchant-shipment-rates-by-currency.mjs.map +1 -1
- package/dist/actions/list-merchant-shipments.cjs +10 -10
- package/dist/actions/list-merchant-shipments.cjs.map +1 -1
- package/dist/actions/list-merchant-shipments.d.cts +13 -13
- package/dist/actions/list-merchant-shipments.d.mts +13 -13
- package/dist/actions/list-merchant-shipments.mjs +10 -10
- package/dist/actions/list-merchant-shipments.mjs.map +1 -1
- package/dist/actions/list-merchant-transactions.cjs +3 -3
- package/dist/actions/list-merchant-transactions.cjs.map +1 -1
- package/dist/actions/list-merchant-transactions.d.cts +3 -3
- package/dist/actions/list-merchant-transactions.d.mts +3 -3
- package/dist/actions/list-merchant-transactions.mjs +3 -3
- package/dist/actions/list-merchant-transactions.mjs.map +1 -1
- package/dist/actions/list-merchants.cjs +2 -2
- package/dist/actions/list-merchants.cjs.map +1 -1
- package/dist/actions/list-merchants.d.cts +2 -2
- package/dist/actions/list-merchants.d.mts +2 -2
- package/dist/actions/list-merchants.mjs +2 -2
- package/dist/actions/list-merchants.mjs.map +1 -1
- package/dist/actions/list-orders.cjs +6 -6
- package/dist/actions/list-orders.cjs.map +1 -1
- package/dist/actions/list-orders.d.cts +7 -7
- package/dist/actions/list-orders.d.mts +7 -7
- package/dist/actions/list-orders.mjs +6 -6
- package/dist/actions/list-orders.mjs.map +1 -1
- package/dist/actions/list-refunds.cjs +2 -2
- package/dist/actions/list-refunds.cjs.map +1 -1
- package/dist/actions/list-refunds.d.cts +2 -2
- package/dist/actions/list-refunds.d.mts +2 -2
- package/dist/actions/list-refunds.mjs +2 -2
- package/dist/actions/list-refunds.mjs.map +1 -1
- package/dist/actions/list-service-groups.cjs +3 -3
- package/dist/actions/list-service-groups.cjs.map +1 -1
- package/dist/actions/list-service-groups.d.cts +3 -3
- package/dist/actions/list-service-groups.d.mts +3 -3
- package/dist/actions/list-service-groups.mjs +3 -3
- package/dist/actions/list-service-groups.mjs.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.cjs +4 -4
- package/dist/actions/list-shipment-rates-by-currency.cjs.map +1 -1
- package/dist/actions/list-shipment-rates-by-currency.d.cts +4 -4
- package/dist/actions/list-shipment-rates-by-currency.d.mts +4 -4
- package/dist/actions/list-shipment-rates-by-currency.mjs +4 -4
- package/dist/actions/list-shipment-rates-by-currency.mjs.map +1 -1
- package/dist/actions/list-shipment-rates.cjs +4 -4
- package/dist/actions/list-shipment-rates.cjs.map +1 -1
- package/dist/actions/list-shipment-rates.d.cts +4 -4
- package/dist/actions/list-shipment-rates.d.mts +4 -4
- package/dist/actions/list-shipment-rates.mjs +4 -4
- package/dist/actions/list-shipment-rates.mjs.map +1 -1
- package/dist/actions/list-shipments.cjs +9 -9
- package/dist/actions/list-shipments.cjs.map +1 -1
- package/dist/actions/list-shipments.d.cts +13 -13
- package/dist/actions/list-shipments.d.mts +13 -13
- package/dist/actions/list-shipments.mjs +9 -9
- package/dist/actions/list-shipments.mjs.map +1 -1
- package/dist/actions/list-shippo-accounts.cjs +2 -2
- package/dist/actions/list-shippo-accounts.cjs.map +1 -1
- package/dist/actions/list-shippo-accounts.d.cts +2 -2
- package/dist/actions/list-shippo-accounts.d.mts +2 -2
- package/dist/actions/list-shippo-accounts.mjs +2 -2
- package/dist/actions/list-shippo-accounts.mjs.map +1 -1
- package/dist/actions/list-user-parcel-templates.cjs +3 -3
- package/dist/actions/list-user-parcel-templates.cjs.map +1 -1
- package/dist/actions/list-user-parcel-templates.d.cts +3 -3
- package/dist/actions/list-user-parcel-templates.d.mts +3 -3
- package/dist/actions/list-user-parcel-templates.mjs +3 -3
- package/dist/actions/list-user-parcel-templates.mjs.map +1 -1
- package/dist/actions/purchase-merchant-batch.cjs +4 -4
- package/dist/actions/purchase-merchant-batch.cjs.map +1 -1
- package/dist/actions/purchase-merchant-batch.d.cts +4 -4
- package/dist/actions/purchase-merchant-batch.d.mts +4 -4
- package/dist/actions/purchase-merchant-batch.mjs +4 -4
- package/dist/actions/purchase-merchant-batch.mjs.map +1 -1
- package/dist/actions/remove-shipments-from-batch.cjs +5 -5
- package/dist/actions/remove-shipments-from-batch.cjs.map +1 -1
- package/dist/actions/remove-shipments-from-batch.d.cts +5 -5
- package/dist/actions/remove-shipments-from-batch.d.mts +5 -5
- package/dist/actions/remove-shipments-from-batch.mjs +5 -5
- package/dist/actions/remove-shipments-from-batch.mjs.map +1 -1
- package/dist/actions/update-carrier-account.cjs +3 -3
- package/dist/actions/update-carrier-account.cjs.map +1 -1
- package/dist/actions/update-carrier-account.d.cts +4 -4
- package/dist/actions/update-carrier-account.d.mts +4 -4
- package/dist/actions/update-carrier-account.mjs +3 -3
- package/dist/actions/update-carrier-account.mjs.map +1 -1
- package/dist/actions/update-default-parcel-template.cjs +3 -3
- package/dist/actions/update-default-parcel-template.cjs.map +1 -1
- package/dist/actions/update-default-parcel-template.d.cts +3 -3
- package/dist/actions/update-default-parcel-template.d.mts +3 -3
- package/dist/actions/update-default-parcel-template.mjs +3 -3
- package/dist/actions/update-default-parcel-template.mjs.map +1 -1
- package/dist/actions/update-merchant-carrier-account.cjs +2 -2
- package/dist/actions/update-merchant-carrier-account.cjs.map +1 -1
- package/dist/actions/update-merchant-carrier-account.d.cts +2 -2
- package/dist/actions/update-merchant-carrier-account.d.mts +2 -2
- package/dist/actions/update-merchant-carrier-account.mjs +2 -2
- package/dist/actions/update-merchant-carrier-account.mjs.map +1 -1
- package/dist/actions/update-merchant.cjs +1 -1
- package/dist/actions/update-merchant.cjs.map +1 -1
- package/dist/actions/update-merchant.d.cts +1 -1
- package/dist/actions/update-merchant.d.mts +1 -1
- package/dist/actions/update-merchant.mjs +1 -1
- package/dist/actions/update-merchant.mjs.map +1 -1
- package/dist/actions/update-service-group.cjs +3 -3
- package/dist/actions/update-service-group.cjs.map +1 -1
- package/dist/actions/update-service-group.d.cts +4 -3
- package/dist/actions/update-service-group.d.mts +4 -3
- package/dist/actions/update-service-group.mjs +3 -3
- package/dist/actions/update-service-group.mjs.map +1 -1
- package/dist/actions/update-user-parcel-template.cjs +2 -2
- package/dist/actions/update-user-parcel-template.cjs.map +1 -1
- package/dist/actions/update-user-parcel-template.d.cts +2 -2
- package/dist/actions/update-user-parcel-template.d.mts +2 -2
- package/dist/actions/update-user-parcel-template.mjs +2 -2
- package/dist/actions/update-user-parcel-template.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -1
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +5 -5
- package/dist/actions/update-webhook.d.mts +5 -5
- package/dist/actions/update-webhook.mjs +1 -1
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/validate-address.cjs +3 -3
- package/dist/actions/validate-address.cjs.map +1 -1
- package/dist/actions/validate-address.d.cts +3 -3
- package/dist/actions/validate-address.d.mts +3 -3
- package/dist/actions/validate-address.mjs +3 -3
- package/dist/actions/validate-address.mjs.map +1 -1
- package/dist/actions/validate-merchant-address.cjs +3 -3
- package/dist/actions/validate-merchant-address.cjs.map +1 -1
- package/dist/actions/validate-merchant-address.d.cts +3 -3
- package/dist/actions/validate-merchant-address.d.mts +3 -3
- package/dist/actions/validate-merchant-address.mjs +3 -3
- package/dist/actions/validate-merchant-address.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-transaction.mjs","names":[],"sources":["../../src/actions/create-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateTransactionInput = z.object({\n rate: z.string().describe(\"Object ID of the Rate object for which a label should be obtained. Use this field when you already have a rate ID from a shipment. Required if shipment, carrier_account, and servicelevel_token are not provided. Note that only rates not older than 7 days can be purchased.\").optional(),\n async: z.boolean().describe(\"Whether to process the transaction asynchronously. Set to false for synchronous processing (wait for label creation), or true for async (transaction will be queued). Default is false.\").optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the transaction object.\").optional(),\n shipment: z.union([z.string(), z.
|
|
1
|
+
{"version":3,"file":"create-transaction.mjs","names":[],"sources":["../../src/actions/create-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateTransactionInput = z.object({\n rate: z.string().describe(\"Object ID of the Rate object for which a label should be obtained. Use this field when you already have a rate ID from a shipment. Required if shipment, carrier_account, and servicelevel_token are not provided. Note that only rates not older than 7 days can be purchased.\").optional(),\n async: z.boolean().describe(\"Whether to process the transaction asynchronously. Set to false for synchronous processing (wait for label creation), or true for async (transaction will be queued). Default is false.\").optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with any additional information you want to attach to the transaction object.\").optional(),\n shipment: z.union([z.string(), z.record(z.string(), z.unknown())]).optional(),\n carrier_account: z.string().describe(\"Object ID of the carrier account to be used for this transaction. Required when using shipment field instead of rate. Must be used together with shipment and servicelevel_token.\").optional(),\n label_file_type: z.enum([\"PDF\", \"PDF_4x6\", \"PNG\", \"ZPLII\"]).describe(\"File format for the shipping label.\").optional(),\n servicelevel_token: z.string().describe(\"Service level token for the carrier. Required when using shipment field. Must be used together with shipment and carrier_account. Examples include 'usps_priority', 'fedex_ground', 'ups_next_day_air'.\").optional(),\n shippo_api_version: z.string().describe(\"Optional API version string to use for this request. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for creating a shipping label transaction.\");\nconst ShippoCreateTransaction_TransactionStatusSchema = z.enum([\"WAITING\", \"QUEUED\", \"SUCCESS\", \"ERROR\", \"REFUNDED\", \"REFUNDPENDING\", \"REFUNDREJECTED\"]).describe(\"Status of the transaction.\");\nconst ShippoCreateTransaction_MessageObjectSchema = z.object({\n code: z.string().describe(\"An identifier for the corresponding message (not always available).\").nullable().optional(),\n message: z.string().describe(\"A publishable message containing further information.\").nullable().optional(),\n}).passthrough().describe(\"Message object in the transaction response.\");\nconst ShippoCreateTransaction_ObjectStateSchema = z.enum([\"VALID\", \"INVALID\"]).describe(\"Validity state of the object.\");\nexport const ShippoCreateTransactionOutput = z.object({\n eta: z.string().describe(\"The estimated time of arrival according to the carrier.\").nullable().optional(),\n rate: z.string().describe(\"ID of the Rate object for which a label has been obtained. Note that only rates not older than 7 days can be purchased.\").nullable().optional(),\n test: z.boolean().describe(\"Indicates whether the object has been created in test mode.\").nullable().optional(),\n status: ShippoCreateTransaction_TransactionStatusSchema.nullable().optional(),\n messages: z.array(ShippoCreateTransaction_MessageObjectSchema).describe(\"An array containing message objects with code and message information. Provides additional details or warnings about the transaction.\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters with additional information attached to the object.\").nullable().optional(),\n label_url: z.string().describe(\"A URL pointing directly to the label in the format you've set in your settings. Only returned if the transaction has been processed successfully.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the transaction object.\").nullable().optional(),\n qr_code_url: z.string().describe(\"A URL pointing directly to the QR code in PNG format. Only returned if requested using qr_code_requested flag and the carrier provides such an option.\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the transaction object.\").nullable().optional(),\n object_state: ShippoCreateTransaction_ObjectStateSchema.nullable().optional(),\n object_created: z.string().describe(\"Date and time of transaction creation in ISO 8601 format.\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last transaction update in ISO 8601 format.\").nullable().optional(),\n tracking_number: z.string().describe(\"The carrier-specific tracking number that can be used to track the shipment. Only returned if the rate is for a trackable shipment and the transaction has been processed successfully.\").nullable().optional(),\n tracking_status: z.string().describe(\"Indicates the high level status of the shipment: 'UNKNOWN', 'DELIVERED', 'TRANSIT', 'FAILURE', 'RETURNED'.\").nullable().optional(),\n tracking_url_provider: z.string().describe(\"A link to track this item on the carrier-provided tracking website. Only returned if tracking is available and the carrier provides such a service.\").nullable().optional(),\n commercial_invoice_url: z.string().describe(\"A URL pointing to the commercial invoice as a 8.5x11 inch PDF file. Only returned if the transaction has been processed successfully and the shipment is international.\").nullable().optional(),\n}).passthrough().describe(\"Response model for created transaction.\");\n\nexport const shippoCreateTransaction = action(\"SHIPPO_CREATE_TRANSACTION\", {\n slug: \"shippo-create-transaction\",\n name: \"Create Transaction\",\n description: \"Tool to create a shipping label transaction with Shippo. Use when you need to purchase a shipping label either from an existing rate ID or by specifying shipment details directly.\",\n input: ShippoCreateTransactionInput,\n output: ShippoCreateTransactionOutput,\n});\n"],"mappings":"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"}
|
|
@@ -16,7 +16,7 @@ const ShippoCreateUserParcelTemplate_CarrierParcelTemplateInfoSchema = zod.z.obj
|
|
|
16
16
|
carrier: zod.z.string().describe("Carrier name.").nullable().optional(),
|
|
17
17
|
distance_unit: zod.z.string().describe("Unit for distance measurements.").nullable().optional(),
|
|
18
18
|
is_variable_dimensions: zod.z.boolean().describe("Whether the template allows variable dimensions.").nullable().optional()
|
|
19
|
-
}).describe("Carrier parcel template information embedded in user parcel template response.");
|
|
19
|
+
}).passthrough().describe("Carrier parcel template information embedded in user parcel template response.");
|
|
20
20
|
const ShippoCreateUserParcelTemplateOutput = zod.z.object({
|
|
21
21
|
name: zod.z.string().describe("Name of the user parcel template.").nullable().optional(),
|
|
22
22
|
width: zod.z.string().describe("Width of the parcel.").nullable().optional(),
|
|
@@ -30,7 +30,7 @@ const ShippoCreateUserParcelTemplateOutput = zod.z.object({
|
|
|
30
30
|
distance_unit: zod.z.string().describe("Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).").nullable().optional(),
|
|
31
31
|
object_created: zod.z.string().describe("ISO 8601 timestamp when the user parcel template was created.").nullable().optional(),
|
|
32
32
|
object_updated: zod.z.string().describe("ISO 8601 timestamp when the user parcel template was last updated.").nullable().optional()
|
|
33
|
-
}).describe("Response containing the created user parcel template details.");
|
|
33
|
+
}).passthrough().describe("Response containing the created user parcel template details.");
|
|
34
34
|
const shippoCreateUserParcelTemplate = require_action.action("SHIPPO_CREATE_USER_PARCEL_TEMPLATE", {
|
|
35
35
|
slug: "shippo-create-user-parcel-template",
|
|
36
36
|
name: "Create User Parcel Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-parcel-template.cjs","names":["z","action"],"sources":["../../src/actions/create-user-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateUserParcelTemplateInput = z.object({\n weight: z.string().describe(\"Weight of the parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").optional(),\n template: z.string().describe(\"A carrier parcel template token to use as a basis for this user parcel template. When provided, dimensions will be copied from the carrier preset.\").optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms, 'oz' for ounces, 'g' for grams).\").optional(),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request to create a new user parcel template in Shippo.\");\nconst ShippoCreateUserParcelTemplate_CarrierParcelTemplateInfoSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template.\").nullable().optional(),\n token: z.string().describe(\"Token of the carrier parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n carrier: z.string().describe(\"Carrier name.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit for distance measurements.\").nullable().optional(),\n is_variable_dimensions: z.boolean().describe(\"Whether the template allows variable dimensions.\").nullable().optional(),\n}).describe(\"Carrier parcel template information embedded in user parcel template response.\");\nexport const ShippoCreateUserParcelTemplateOutput = z.object({\n name: z.string().describe(\"Name of the user parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel.\").nullable().optional(),\n template: ShippoCreateUserParcelTemplate_CarrierParcelTemplateInfoSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the user parcel template object.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms).\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the user parcel template object.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the user parcel template was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the user parcel template was last updated.\").nullable().optional(),\n}).describe(\"Response containing the created user parcel template details.\");\n\nexport const shippoCreateUserParcelTemplate = action(\"SHIPPO_CREATE_USER_PARCEL_TEMPLATE\", {\n slug: \"shippo-create-user-parcel-template\",\n name: \"Create User Parcel Template\",\n description: \"Tool to create a new user parcel template in Shippo with preset dimensions and weight specifications. Use when you need to define reusable package configurations for shipping rate calculations or label generation. User parcel templates can be based on carrier templates with custom weights.\",\n input: ShippoCreateUserParcelTemplateInput,\n output: ShippoCreateUserParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC7L,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACzJ,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iEAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,gFAAgF;
|
|
1
|
+
{"version":3,"file":"create-user-parcel-template.cjs","names":["z","action"],"sources":["../../src/actions/create-user-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateUserParcelTemplateInput = z.object({\n weight: z.string().describe(\"Weight of the parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").optional(),\n template: z.string().describe(\"A carrier parcel template token to use as a basis for this user parcel template. When provided, dimensions will be copied from the carrier preset.\").optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms, 'oz' for ounces, 'g' for grams).\").optional(),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request to create a new user parcel template in Shippo.\");\nconst ShippoCreateUserParcelTemplate_CarrierParcelTemplateInfoSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template.\").nullable().optional(),\n token: z.string().describe(\"Token of the carrier parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n carrier: z.string().describe(\"Carrier name.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit for distance measurements.\").nullable().optional(),\n is_variable_dimensions: z.boolean().describe(\"Whether the template allows variable dimensions.\").nullable().optional(),\n}).passthrough().describe(\"Carrier parcel template information embedded in user parcel template response.\");\nexport const ShippoCreateUserParcelTemplateOutput = z.object({\n name: z.string().describe(\"Name of the user parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel.\").nullable().optional(),\n template: ShippoCreateUserParcelTemplate_CarrierParcelTemplateInfoSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the user parcel template object.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms).\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the user parcel template object.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the user parcel template was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the user parcel template was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created user parcel template details.\");\n\nexport const shippoCreateUserParcelTemplate = action(\"SHIPPO_CREATE_USER_PARCEL_TEMPLATE\", {\n slug: \"shippo-create-user-parcel-template\",\n name: \"Create User Parcel Template\",\n description: \"Tool to create a new user parcel template in Shippo with preset dimensions and weight specifications. Use when you need to define reusable package configurations for shipping rate calculations or label generation. User parcel templates can be based on carrier templates with custom weights.\",\n input: ShippoCreateUserParcelTemplateInput,\n output: ShippoCreateUserParcelTemplateOutput,\n});\n"],"mappings":"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"}
|
|
@@ -22,14 +22,14 @@ declare const ShippoCreateUserParcelTemplateOutput: z.ZodObject<{
|
|
|
22
22
|
carrier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
is_variable_dimensions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
weight_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const shippoCreateUserParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
weight?: string | undefined;
|
|
35
35
|
template?: string | undefined;
|
|
@@ -22,14 +22,14 @@ declare const ShippoCreateUserParcelTemplateOutput: z.ZodObject<{
|
|
|
22
22
|
carrier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
is_variable_dimensions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
weight_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const shippoCreateUserParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
weight?: string | undefined;
|
|
35
35
|
template?: string | undefined;
|
|
@@ -16,7 +16,7 @@ const ShippoCreateUserParcelTemplate_CarrierParcelTemplateInfoSchema = z.object(
|
|
|
16
16
|
carrier: z.string().describe("Carrier name.").nullable().optional(),
|
|
17
17
|
distance_unit: z.string().describe("Unit for distance measurements.").nullable().optional(),
|
|
18
18
|
is_variable_dimensions: z.boolean().describe("Whether the template allows variable dimensions.").nullable().optional()
|
|
19
|
-
}).describe("Carrier parcel template information embedded in user parcel template response.");
|
|
19
|
+
}).passthrough().describe("Carrier parcel template information embedded in user parcel template response.");
|
|
20
20
|
const shippoCreateUserParcelTemplate = action("SHIPPO_CREATE_USER_PARCEL_TEMPLATE", {
|
|
21
21
|
slug: "shippo-create-user-parcel-template",
|
|
22
22
|
name: "Create User Parcel Template",
|
|
@@ -35,7 +35,7 @@ const shippoCreateUserParcelTemplate = action("SHIPPO_CREATE_USER_PARCEL_TEMPLAT
|
|
|
35
35
|
distance_unit: z.string().describe("Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).").nullable().optional(),
|
|
36
36
|
object_created: z.string().describe("ISO 8601 timestamp when the user parcel template was created.").nullable().optional(),
|
|
37
37
|
object_updated: z.string().describe("ISO 8601 timestamp when the user parcel template was last updated.").nullable().optional()
|
|
38
|
-
}).describe("Response containing the created user parcel template details.")
|
|
38
|
+
}).passthrough().describe("Response containing the created user parcel template details.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { shippoCreateUserParcelTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-parcel-template.mjs","names":[],"sources":["../../src/actions/create-user-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateUserParcelTemplateInput = z.object({\n weight: z.string().describe(\"Weight of the parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").optional(),\n template: z.string().describe(\"A carrier parcel template token to use as a basis for this user parcel template. When provided, dimensions will be copied from the carrier preset.\").optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms, 'oz' for ounces, 'g' for grams).\").optional(),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request to create a new user parcel template in Shippo.\");\nconst ShippoCreateUserParcelTemplate_CarrierParcelTemplateInfoSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template.\").nullable().optional(),\n token: z.string().describe(\"Token of the carrier parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n carrier: z.string().describe(\"Carrier name.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit for distance measurements.\").nullable().optional(),\n is_variable_dimensions: z.boolean().describe(\"Whether the template allows variable dimensions.\").nullable().optional(),\n}).describe(\"Carrier parcel template information embedded in user parcel template response.\");\nexport const ShippoCreateUserParcelTemplateOutput = z.object({\n name: z.string().describe(\"Name of the user parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel.\").nullable().optional(),\n template: ShippoCreateUserParcelTemplate_CarrierParcelTemplateInfoSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the user parcel template object.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms).\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the user parcel template object.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the user parcel template was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the user parcel template was last updated.\").nullable().optional(),\n}).describe(\"Response containing the created user parcel template details.\");\n\nexport const shippoCreateUserParcelTemplate = action(\"SHIPPO_CREATE_USER_PARCEL_TEMPLATE\", {\n slug: \"shippo-create-user-parcel-template\",\n name: \"Create User Parcel Template\",\n description: \"Tool to create a new user parcel template in Shippo with preset dimensions and weight specifications. Use when you need to define reusable package configurations for shipping rate calculations or label generation. User parcel templates can be based on carrier templates with custom weights.\",\n input: ShippoCreateUserParcelTemplateInput,\n output: ShippoCreateUserParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC7L,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACzJ,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iEAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,gFAAgF;
|
|
1
|
+
{"version":3,"file":"create-user-parcel-template.mjs","names":[],"sources":["../../src/actions/create-user-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateUserParcelTemplateInput = z.object({\n weight: z.string().describe(\"Weight of the parcel. Up to six digits in front and four digits after the decimal separator are accepted.\").optional(),\n template: z.string().describe(\"A carrier parcel template token to use as a basis for this user parcel template. When provided, dimensions will be copied from the carrier preset.\").optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms, 'oz' for ounces, 'g' for grams).\").optional(),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request to create a new user parcel template in Shippo.\");\nconst ShippoCreateUserParcelTemplate_CarrierParcelTemplateInfoSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template.\").nullable().optional(),\n token: z.string().describe(\"Token of the carrier parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n carrier: z.string().describe(\"Carrier name.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit for distance measurements.\").nullable().optional(),\n is_variable_dimensions: z.boolean().describe(\"Whether the template allows variable dimensions.\").nullable().optional(),\n}).passthrough().describe(\"Carrier parcel template information embedded in user parcel template response.\");\nexport const ShippoCreateUserParcelTemplateOutput = z.object({\n name: z.string().describe(\"Name of the user parcel template.\").nullable().optional(),\n width: z.string().describe(\"Width of the parcel.\").nullable().optional(),\n height: z.string().describe(\"Height of the parcel.\").nullable().optional(),\n length: z.string().describe(\"Length of the parcel.\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel.\").nullable().optional(),\n template: ShippoCreateUserParcelTemplate_CarrierParcelTemplateInfoSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the user parcel template object.\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for weight (e.g., 'lb' for pounds, 'kg' for kilograms).\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the user parcel template object.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters).\").nullable().optional(),\n object_created: z.string().describe(\"ISO 8601 timestamp when the user parcel template was created.\").nullable().optional(),\n object_updated: z.string().describe(\"ISO 8601 timestamp when the user parcel template was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created user parcel template details.\");\n\nexport const shippoCreateUserParcelTemplate = action(\"SHIPPO_CREATE_USER_PARCEL_TEMPLATE\", {\n slug: \"shippo-create-user-parcel-template\",\n name: \"Create User Parcel Template\",\n description: \"Tool to create a new user parcel template in Shippo with preset dimensions and weight specifications. Use when you need to define reusable package configurations for shipping rate calculations or label generation. User parcel templates can be based on carrier templates with custom weights.\",\n input: ShippoCreateUserParcelTemplateInput,\n output: ShippoCreateUserParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC7L,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACzJ,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iEAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAAgF;AAgB1G,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QApBkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,UAAU,+DAA+D,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ const ShippoCreateWebhookOutput = zod.z.object({
|
|
|
22
22
|
object_owner: zod.z.string().describe("Email address of the account owner who created this webhook subscription.").nullable(),
|
|
23
23
|
object_created: zod.z.string().describe("ISO 8601 timestamp when the webhook subscription was created.").nullable(),
|
|
24
24
|
object_updated: zod.z.string().describe("ISO 8601 timestamp when the webhook subscription was last updated.").nullable()
|
|
25
|
-
}).describe("Response schema for the created webhook subscription.");
|
|
25
|
+
}).passthrough().describe("Response schema for the created webhook subscription.");
|
|
26
26
|
const shippoCreateWebhook = require_action.action("SHIPPO_CREATE_WEBHOOK", {
|
|
27
27
|
slug: "shippo-create-webhook",
|
|
28
28
|
name: "Create Shippo Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateWebhookInput = z.object({\n url: z.string().describe(\"The client-owned URL where webhook notifications will be sent. Must be less than 200 characters and use HTTPS protocol for security.\"),\n event: z.enum([\"track_updated\", \"transaction_created\", \"transaction_updated\", \"batch_created\", \"batch_purchased\", \"all\"]).describe(\"The event type to subscribe to. Use 'track_updated' for tracking updates, 'transaction_created' or 'transaction_updated' for transaction events, 'batch_created' or 'batch_purchased' for batch events, or 'all' as a catch-all for all events.\"),\n is_test: z.boolean().describe(\"Whether this is a test webhook. Set to true for testing purposes. Defaults to false if not specified.\").optional(),\n}).describe(\"Request parameters for creating a new webhook subscription in Shippo.\");\nexport const ShippoCreateWebhookOutput = z.object({\n url: z.string().describe(\"The registered endpoint URL that will receive webhook notifications.\").nullable(),\n event: z.string().describe(\"The event type this webhook is subscribed to.\").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().optional(),\n object_id: z.string().describe(\"Unique identifier (GUID) for the webhook subscription. Use this ID to reference or manage the webhook in future API calls.\").nullable(),\n object_owner: z.string().describe(\"Email address 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}).describe(\"Response schema for the created webhook subscription.\");\n\nexport const shippoCreateWebhook = action(\"SHIPPO_CREATE_WEBHOOK\", {\n slug: \"shippo-create-webhook\",\n name: \"Create Shippo Webhook\",\n description: \"Tool to create a new webhook subscription in Shippo. Use when you need to register an endpoint to receive real-time notifications for shipping events such as tracking updates, transaction creation, or batch processing. Webhooks enable automated workflows by pushing event data to your application as events occur.\",\n input: ShippoCreateWebhookInput,\n output: ShippoCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;CAC/J,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAuB;EAAuB;EAAiB;EAAmB;CAAK,CAAC,CAAC,CAAC,SAAS,iPAAiP;CACpX,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CACtK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,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,SAAS,uDAAuD;
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateWebhookInput = z.object({\n url: z.string().describe(\"The client-owned URL where webhook notifications will be sent. Must be less than 200 characters and use HTTPS protocol for security.\"),\n event: z.enum([\"track_updated\", \"transaction_created\", \"transaction_updated\", \"batch_created\", \"batch_purchased\", \"all\"]).describe(\"The event type to subscribe to. Use 'track_updated' for tracking updates, 'transaction_created' or 'transaction_updated' for transaction events, 'batch_created' or 'batch_purchased' for batch events, or 'all' as a catch-all for all events.\"),\n is_test: z.boolean().describe(\"Whether this is a test webhook. Set to true for testing purposes. Defaults to false if not specified.\").optional(),\n}).describe(\"Request parameters for creating a new webhook subscription in Shippo.\");\nexport const ShippoCreateWebhookOutput = z.object({\n url: z.string().describe(\"The registered endpoint URL that will receive webhook notifications.\").nullable(),\n event: z.string().describe(\"The event type this webhook is subscribed to.\").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().optional(),\n object_id: z.string().describe(\"Unique identifier (GUID) for the webhook subscription. Use this ID to reference or manage the webhook in future API calls.\").nullable(),\n object_owner: z.string().describe(\"Email address 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 schema for the created webhook subscription.\");\n\nexport const shippoCreateWebhook = action(\"SHIPPO_CREATE_WEBHOOK\", {\n slug: \"shippo-create-webhook\",\n name: \"Create Shippo Webhook\",\n description: \"Tool to create a new webhook subscription in Shippo. Use when you need to register an endpoint to receive real-time notifications for shipping events such as tracking updates, transaction creation, or batch processing. Webhooks enable automated workflows by pushing event data to your application as events occur.\",\n input: ShippoCreateWebhookInput,\n output: ShippoCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;CAC/J,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAuB;EAAuB;EAAiB;EAAmB;CAAK,CAAC,CAAC,CAAC,SAAS,iPAAiP;CACpX,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CACtK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,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,uDAAuD;AAEjF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,12 +4,12 @@ import { z } from "zod";
|
|
|
4
4
|
declare const ShippoCreateWebhookInput: z.ZodObject<{
|
|
5
5
|
url: z.ZodString;
|
|
6
6
|
event: z.ZodEnum<{
|
|
7
|
-
|
|
8
|
-
batch_created: "batch_created";
|
|
7
|
+
track_updated: "track_updated";
|
|
9
8
|
transaction_created: "transaction_created";
|
|
10
9
|
transaction_updated: "transaction_updated";
|
|
11
|
-
|
|
10
|
+
batch_created: "batch_created";
|
|
12
11
|
batch_purchased: "batch_purchased";
|
|
12
|
+
all: "all";
|
|
13
13
|
}>;
|
|
14
14
|
is_test: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
}, z.core.$strip>;
|
|
@@ -22,10 +22,10 @@ declare const ShippoCreateWebhookOutput: z.ZodObject<{
|
|
|
22
22
|
object_owner: z.ZodNullable<z.ZodString>;
|
|
23
23
|
object_created: z.ZodNullable<z.ZodString>;
|
|
24
24
|
object_updated: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const shippoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
url: string;
|
|
28
|
-
event: "
|
|
28
|
+
event: "track_updated" | "transaction_created" | "transaction_updated" | "batch_created" | "batch_purchased" | "all";
|
|
29
29
|
is_test?: boolean | undefined;
|
|
30
30
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
31
|
//#endregion
|
|
@@ -4,12 +4,12 @@ import { z } from "zod";
|
|
|
4
4
|
declare const ShippoCreateWebhookInput: z.ZodObject<{
|
|
5
5
|
url: z.ZodString;
|
|
6
6
|
event: z.ZodEnum<{
|
|
7
|
-
|
|
8
|
-
batch_created: "batch_created";
|
|
7
|
+
track_updated: "track_updated";
|
|
9
8
|
transaction_created: "transaction_created";
|
|
10
9
|
transaction_updated: "transaction_updated";
|
|
11
|
-
|
|
10
|
+
batch_created: "batch_created";
|
|
12
11
|
batch_purchased: "batch_purchased";
|
|
12
|
+
all: "all";
|
|
13
13
|
}>;
|
|
14
14
|
is_test: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
}, z.core.$strip>;
|
|
@@ -22,10 +22,10 @@ declare const ShippoCreateWebhookOutput: z.ZodObject<{
|
|
|
22
22
|
object_owner: z.ZodNullable<z.ZodString>;
|
|
23
23
|
object_created: z.ZodNullable<z.ZodString>;
|
|
24
24
|
object_updated: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const shippoCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
url: string;
|
|
28
|
-
event: "
|
|
28
|
+
event: "track_updated" | "transaction_created" | "transaction_updated" | "batch_created" | "batch_purchased" | "all";
|
|
29
29
|
is_test?: boolean | undefined;
|
|
30
30
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
31
|
//#endregion
|
|
@@ -25,7 +25,7 @@ const shippoCreateWebhook = action("SHIPPO_CREATE_WEBHOOK", {
|
|
|
25
25
|
object_owner: z.string().describe("Email address of the account owner who created this webhook subscription.").nullable(),
|
|
26
26
|
object_created: z.string().describe("ISO 8601 timestamp when the webhook subscription was created.").nullable(),
|
|
27
27
|
object_updated: z.string().describe("ISO 8601 timestamp when the webhook subscription was last updated.").nullable()
|
|
28
|
-
}).describe("Response schema for the created webhook subscription.")
|
|
28
|
+
}).passthrough().describe("Response schema for the created webhook subscription.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { shippoCreateWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateWebhookInput = z.object({\n url: z.string().describe(\"The client-owned URL where webhook notifications will be sent. Must be less than 200 characters and use HTTPS protocol for security.\"),\n event: z.enum([\"track_updated\", \"transaction_created\", \"transaction_updated\", \"batch_created\", \"batch_purchased\", \"all\"]).describe(\"The event type to subscribe to. Use 'track_updated' for tracking updates, 'transaction_created' or 'transaction_updated' for transaction events, 'batch_created' or 'batch_purchased' for batch events, or 'all' as a catch-all for all events.\"),\n is_test: z.boolean().describe(\"Whether this is a test webhook. Set to true for testing purposes. Defaults to false if not specified.\").optional(),\n}).describe(\"Request parameters for creating a new webhook subscription in Shippo.\");\nexport const ShippoCreateWebhookOutput = z.object({\n url: z.string().describe(\"The registered endpoint URL that will receive webhook notifications.\").nullable(),\n event: z.string().describe(\"The event type this webhook is subscribed to.\").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().optional(),\n object_id: z.string().describe(\"Unique identifier (GUID) for the webhook subscription. Use this ID to reference or manage the webhook in future API calls.\").nullable(),\n object_owner: z.string().describe(\"Email address 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}).describe(\"Response schema for the created webhook subscription.\");\n\nexport const shippoCreateWebhook = action(\"SHIPPO_CREATE_WEBHOOK\", {\n slug: \"shippo-create-webhook\",\n name: \"Create Shippo Webhook\",\n description: \"Tool to create a new webhook subscription in Shippo. Use when you need to register an endpoint to receive real-time notifications for shipping events such as tracking updates, transaction creation, or batch processing. Webhooks enable automated workflows by pushing event data to your application as events occur.\",\n input: ShippoCreateWebhookInput,\n output: ShippoCreateWebhookOutput,\n});\n"],"mappings":";;AAoBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;EAC/J,OAAO,EAAE,KAAK;GAAC;GAAiB;GAAuB;GAAuB;GAAiB;GAAmB;EAAK,CAAC,CAAC,CAAC,SAAS,iPAAiP;EACpX,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,uEAgBH;CACP,QAhBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC1G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EACtK,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACxH,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,SAAS,
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoCreateWebhookInput = z.object({\n url: z.string().describe(\"The client-owned URL where webhook notifications will be sent. Must be less than 200 characters and use HTTPS protocol for security.\"),\n event: z.enum([\"track_updated\", \"transaction_created\", \"transaction_updated\", \"batch_created\", \"batch_purchased\", \"all\"]).describe(\"The event type to subscribe to. Use 'track_updated' for tracking updates, 'transaction_created' or 'transaction_updated' for transaction events, 'batch_created' or 'batch_purchased' for batch events, or 'all' as a catch-all for all events.\"),\n is_test: z.boolean().describe(\"Whether this is a test webhook. Set to true for testing purposes. Defaults to false if not specified.\").optional(),\n}).describe(\"Request parameters for creating a new webhook subscription in Shippo.\");\nexport const ShippoCreateWebhookOutput = z.object({\n url: z.string().describe(\"The registered endpoint URL that will receive webhook notifications.\").nullable(),\n event: z.string().describe(\"The event type this webhook is subscribed to.\").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().optional(),\n object_id: z.string().describe(\"Unique identifier (GUID) for the webhook subscription. Use this ID to reference or manage the webhook in future API calls.\").nullable(),\n object_owner: z.string().describe(\"Email address 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 schema for the created webhook subscription.\");\n\nexport const shippoCreateWebhook = action(\"SHIPPO_CREATE_WEBHOOK\", {\n slug: \"shippo-create-webhook\",\n name: \"Create Shippo Webhook\",\n description: \"Tool to create a new webhook subscription in Shippo. Use when you need to register an endpoint to receive real-time notifications for shipping events such as tracking updates, transaction creation, or batch processing. Webhooks enable automated workflows by pushing event data to your application as events occur.\",\n input: ShippoCreateWebhookInput,\n output: ShippoCreateWebhookOutput,\n});\n"],"mappings":";;AAoBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;EAC/J,OAAO,EAAE,KAAK;GAAC;GAAiB;GAAuB;GAAuB;GAAiB;GAAmB;EAAK,CAAC,CAAC,CAAC,SAAS,iPAAiP;EACpX,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,uEAgBH;CACP,QAhBuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC1G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EACtK,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACxH,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,uDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-default-parcel-template.ts
|
|
4
4
|
const ShippoDeleteDefaultParcelTemplateInput = zod.z.object({ SHIPPO_API_VERSION: zod.z.string().describe("String used to pick a non-default API version to use").optional() }).describe("Request parameters for deleting the default parcel template.");
|
|
5
|
-
const ShippoDeleteDefaultParcelTemplateOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating successful deletion.").nullable() }).describe("Response containing deletion confirmation message.");
|
|
5
|
+
const ShippoDeleteDefaultParcelTemplateOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating successful deletion.").nullable() }).passthrough().describe("Response containing deletion confirmation message.");
|
|
6
6
|
const shippoDeleteDefaultParcelTemplate = require_action.action("SHIPPO_DELETE_DEFAULT_PARCEL_TEMPLATE", {
|
|
7
7
|
slug: "shippo-delete-default-parcel-template",
|
|
8
8
|
name: "Delete Default Parcel Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-default-parcel-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteDefaultParcelTemplateInput = z.object({\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request parameters for deleting the default parcel template.\");\nexport const ShippoDeleteDefaultParcelTemplateOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion.\").nullable(),\n}).describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteDefaultParcelTemplate = action(\"SHIPPO_DELETE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-delete-default-parcel-template\",\n name: \"Delete Default Parcel Template\",\n description: \"Tool to clear the current default parcel template. Use when you need to remove the default parcel template configuration for live rates at checkout.\",\n input: ShippoDeleteDefaultParcelTemplateInput,\n output: ShippoDeleteDefaultParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"delete-default-parcel-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteDefaultParcelTemplateInput = z.object({\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request parameters for deleting the default parcel template.\");\nexport const ShippoDeleteDefaultParcelTemplateOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion.\").nullable(),\n}).passthrough().describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteDefaultParcelTemplate = action(\"SHIPPO_DELETE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-delete-default-parcel-template\",\n name: \"Delete Default Parcel Template\",\n description: \"Tool to clear the current default parcel template. Use when you need to remove the default parcel template configuration for live rates at checkout.\",\n input: ShippoDeleteDefaultParcelTemplateInput,\n output: ShippoDeleteDefaultParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const ShippoDeleteDefaultParcelTemplateInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const ShippoDeleteDefaultParcelTemplateOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const shippoDeleteDefaultParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
SHIPPO_API_VERSION?: string | undefined;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const ShippoDeleteDefaultParcelTemplateInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const ShippoDeleteDefaultParcelTemplateOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const shippoDeleteDefaultParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
SHIPPO_API_VERSION?: string | undefined;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const shippoDeleteDefaultParcelTemplate = action("SHIPPO_DELETE_DEFAULT_PARCEL_T
|
|
|
5
5
|
name: "Delete Default Parcel Template",
|
|
6
6
|
description: "Tool to clear the current default parcel template. Use when you need to remove the default parcel template configuration for live rates at checkout.",
|
|
7
7
|
input: z.object({ SHIPPO_API_VERSION: z.string().describe("String used to pick a non-default API version to use").optional() }).describe("Request parameters for deleting the default parcel template."),
|
|
8
|
-
output: z.object({ message: z.string().describe("Confirmation message indicating successful deletion.").nullable() }).describe("Response containing deletion confirmation message.")
|
|
8
|
+
output: z.object({ message: z.string().describe("Confirmation message indicating successful deletion.").nullable() }).passthrough().describe("Response containing deletion confirmation message.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { shippoDeleteDefaultParcelTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-default-parcel-template.mjs","names":[],"sources":["../../src/actions/delete-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteDefaultParcelTemplateInput = z.object({\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request parameters for deleting the default parcel template.\");\nexport const ShippoDeleteDefaultParcelTemplateOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion.\").nullable(),\n}).describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteDefaultParcelTemplate = action(\"SHIPPO_DELETE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-delete-default-parcel-template\",\n name: \"Delete Default Parcel Template\",\n description: \"Tool to clear the current default parcel template. Use when you need to remove the default parcel template configuration for live rates at checkout.\",\n input: ShippoDeleteDefaultParcelTemplateInput,\n output: ShippoDeleteDefaultParcelTemplateOutput,\n});\n"],"mappings":";;AAWA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoD,EAAE,OAAO,EAC7D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,SAAS,8DASH;CACP,QATqD,EAAE,OAAO,EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-default-parcel-template.mjs","names":[],"sources":["../../src/actions/delete-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteDefaultParcelTemplateInput = z.object({\n SHIPPO_API_VERSION: z.string().describe(\"String used to pick a non-default API version to use\").optional(),\n}).describe(\"Request parameters for deleting the default parcel template.\");\nexport const ShippoDeleteDefaultParcelTemplateOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion.\").nullable(),\n}).passthrough().describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteDefaultParcelTemplate = action(\"SHIPPO_DELETE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-delete-default-parcel-template\",\n name: \"Delete Default Parcel Template\",\n description: \"Tool to clear the current default parcel template. Use when you need to remove the default parcel template configuration for live rates at checkout.\",\n input: ShippoDeleteDefaultParcelTemplateInput,\n output: ShippoDeleteDefaultParcelTemplateOutput,\n});\n"],"mappings":";;AAWA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoD,EAAE,OAAO,EAC7D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,SAAS,8DASH;CACP,QATqD,EAAE,OAAO,EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ShippoDeleteUserParcelTemplateInput = zod.z.object({
|
|
|
5
5
|
shippo_api_version: zod.z.string().describe("String used to pick a non-default API version to use. If not specified, the default API version will be used.").optional(),
|
|
6
6
|
user_parcel_template_object_id: zod.z.string().describe("Object ID of the user parcel template to delete. This is the unique identifier returned when the template was created or listed.")
|
|
7
7
|
}).describe("Request parameters for deleting a user parcel template.");
|
|
8
|
-
const ShippoDeleteUserParcelTemplateOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating successful deletion.").nullable() }).describe("Response containing deletion confirmation message.");
|
|
8
|
+
const ShippoDeleteUserParcelTemplateOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating successful deletion.").nullable() }).passthrough().describe("Response containing deletion confirmation message.");
|
|
9
9
|
const shippoDeleteUserParcelTemplate = require_action.action("SHIPPO_DELETE_USER_PARCEL_TEMPLATE", {
|
|
10
10
|
slug: "shippo-delete-user-parcel-template",
|
|
11
11
|
name: "Delete User Parcel Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user-parcel-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-user-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteUserParcelTemplateInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n user_parcel_template_object_id: z.string().describe(\"Object ID of the user parcel template to delete. This is the unique identifier returned when the template was created or listed.\"),\n}).describe(\"Request parameters for deleting a user parcel template.\");\nexport const ShippoDeleteUserParcelTemplateOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion.\").nullable(),\n}).describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteUserParcelTemplate = action(\"SHIPPO_DELETE_USER_PARCEL_TEMPLATE\", {\n slug: \"shippo-delete-user-parcel-template\",\n name: \"Delete User Parcel Template\",\n description: \"Tool to delete a user-created parcel template. Use when you need to remove a custom parcel template that is no longer needed.\",\n input: ShippoDeleteUserParcelTemplateInput,\n output: ShippoDeleteUserParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAClK,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI;AACxL,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"delete-user-parcel-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-user-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteUserParcelTemplateInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n user_parcel_template_object_id: z.string().describe(\"Object ID of the user parcel template to delete. This is the unique identifier returned when the template was created or listed.\"),\n}).describe(\"Request parameters for deleting a user parcel template.\");\nexport const ShippoDeleteUserParcelTemplateOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion.\").nullable(),\n}).passthrough().describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteUserParcelTemplate = action(\"SHIPPO_DELETE_USER_PARCEL_TEMPLATE\", {\n slug: \"shippo-delete-user-parcel-template\",\n name: \"Delete User Parcel Template\",\n description: \"Tool to delete a user-created parcel template. Use when you need to remove a custom parcel template that is no longer needed.\",\n input: ShippoDeleteUserParcelTemplateInput,\n output: ShippoDeleteUserParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAClK,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI;AACxL,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const ShippoDeleteUserParcelTemplateInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const ShippoDeleteUserParcelTemplateOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const shippoDeleteUserParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
user_parcel_template_object_id: string;
|
|
13
13
|
shippo_api_version?: string | undefined;
|
|
@@ -7,7 +7,7 @@ declare const ShippoDeleteUserParcelTemplateInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const ShippoDeleteUserParcelTemplateOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const shippoDeleteUserParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
user_parcel_template_object_id: string;
|
|
13
13
|
shippo_api_version?: string | undefined;
|
|
@@ -8,7 +8,7 @@ const shippoDeleteUserParcelTemplate = action("SHIPPO_DELETE_USER_PARCEL_TEMPLAT
|
|
|
8
8
|
shippo_api_version: z.string().describe("String used to pick a non-default API version to use. If not specified, the default API version will be used.").optional(),
|
|
9
9
|
user_parcel_template_object_id: z.string().describe("Object ID of the user parcel template to delete. This is the unique identifier returned when the template was created or listed.")
|
|
10
10
|
}).describe("Request parameters for deleting a user parcel template."),
|
|
11
|
-
output: z.object({ message: z.string().describe("Confirmation message indicating successful deletion.").nullable() }).describe("Response containing deletion confirmation message.")
|
|
11
|
+
output: z.object({ message: z.string().describe("Confirmation message indicating successful deletion.").nullable() }).passthrough().describe("Response containing deletion confirmation message.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { shippoDeleteUserParcelTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user-parcel-template.mjs","names":[],"sources":["../../src/actions/delete-user-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteUserParcelTemplateInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n user_parcel_template_object_id: z.string().describe(\"Object ID of the user parcel template to delete. This is the unique identifier returned when the template was created or listed.\"),\n}).describe(\"Request parameters for deleting a user parcel template.\");\nexport const ShippoDeleteUserParcelTemplateOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion.\").nullable(),\n}).describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteUserParcelTemplate = action(\"SHIPPO_DELETE_USER_PARCEL_TEMPLATE\", {\n slug: \"shippo-delete-user-parcel-template\",\n name: \"Delete User Parcel Template\",\n description: \"Tool to delete a user-created parcel template. Use when you need to remove a custom parcel template that is no longer needed.\",\n input: ShippoDeleteUserParcelTemplateInput,\n output: ShippoDeleteUserParcelTemplateOutput,\n});\n"],"mappings":";;AAYA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZiD,EAAE,OAAO;EAC1D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EAClK,gCAAgC,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI;CACxL,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-user-parcel-template.mjs","names":[],"sources":["../../src/actions/delete-user-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteUserParcelTemplateInput = z.object({\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n user_parcel_template_object_id: z.string().describe(\"Object ID of the user parcel template to delete. This is the unique identifier returned when the template was created or listed.\"),\n}).describe(\"Request parameters for deleting a user parcel template.\");\nexport const ShippoDeleteUserParcelTemplateOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion.\").nullable(),\n}).passthrough().describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteUserParcelTemplate = action(\"SHIPPO_DELETE_USER_PARCEL_TEMPLATE\", {\n slug: \"shippo-delete-user-parcel-template\",\n name: \"Delete User Parcel Template\",\n description: \"Tool to delete a user-created parcel template. Use when you need to remove a custom parcel template that is no longer needed.\",\n input: ShippoDeleteUserParcelTemplateInput,\n output: ShippoDeleteUserParcelTemplateOutput,\n});\n"],"mappings":";;AAYA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZiD,EAAE,OAAO;EAC1D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EAClK,gCAAgC,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI;CACxL,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ShippoDeleteWebhookInput = zod.z.object({
|
|
|
5
5
|
webhook_id: zod.z.string().describe("Object ID of the webhook to delete. This is the unique identifier returned when creating a webhook."),
|
|
6
6
|
shippo_api_version: zod.z.string().describe("String used to pick a non-default API version to use. Leave empty to use the default version.").optional()
|
|
7
7
|
}).describe("Request parameters for deleting a webhook.");
|
|
8
|
-
const ShippoDeleteWebhookOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating successful deletion of the webhook.").nullable() }).describe("Response containing deletion confirmation message.");
|
|
8
|
+
const ShippoDeleteWebhookOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating successful deletion of the webhook.").nullable() }).passthrough().describe("Response containing deletion confirmation message.");
|
|
9
9
|
const shippoDeleteWebhook = require_action.action("SHIPPO_DELETE_WEBHOOK", {
|
|
10
10
|
slug: "shippo-delete-webhook",
|
|
11
11
|
name: "Delete Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Object ID of the webhook to delete. This is the unique identifier returned when creating a webhook.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for deleting a webhook.\");\nexport const ShippoDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion of the webhook.\").nullable(),\n}).describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteWebhook = action(\"SHIPPO_DELETE_WEBHOOK\", {\n slug: \"shippo-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a specific webhook from Shippo. Use when you need to remove a webhook that is no longer needed or needs to be reconfigured.\",\n input: ShippoDeleteWebhookInput,\n output: ShippoDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CACrI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Object ID of the webhook to delete. This is the unique identifier returned when creating a webhook.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for deleting a webhook.\");\nexport const ShippoDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion of the webhook.\").nullable(),\n}).passthrough().describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteWebhook = action(\"SHIPPO_DELETE_WEBHOOK\", {\n slug: \"shippo-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a specific webhook from Shippo. Use when you need to remove a webhook that is no longer needed or needs to be reconfigured.\",\n input: ShippoDeleteWebhookInput,\n output: ShippoDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CACrI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const ShippoDeleteWebhookInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const ShippoDeleteWebhookOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const shippoDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
webhook_id: string;
|
|
13
13
|
shippo_api_version?: string | undefined;
|
|
@@ -7,7 +7,7 @@ declare const ShippoDeleteWebhookInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const ShippoDeleteWebhookOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const shippoDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
webhook_id: string;
|
|
13
13
|
shippo_api_version?: string | undefined;
|
|
@@ -8,7 +8,7 @@ const shippoDeleteWebhook = action("SHIPPO_DELETE_WEBHOOK", {
|
|
|
8
8
|
webhook_id: z.string().describe("Object ID of the webhook to delete. This is the unique identifier returned when creating a webhook."),
|
|
9
9
|
shippo_api_version: z.string().describe("String used to pick a non-default API version to use. Leave empty to use the default version.").optional()
|
|
10
10
|
}).describe("Request parameters for deleting a webhook."),
|
|
11
|
-
output: z.object({ message: z.string().describe("Confirmation message indicating successful deletion of the webhook.").nullable() }).describe("Response containing deletion confirmation message.")
|
|
11
|
+
output: z.object({ message: z.string().describe("Confirmation message indicating successful deletion of the webhook.").nullable() }).passthrough().describe("Response containing deletion confirmation message.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { shippoDeleteWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Object ID of the webhook to delete. This is the unique identifier returned when creating a webhook.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for deleting a webhook.\");\nexport const ShippoDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion of the webhook.\").nullable(),\n}).describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteWebhook = action(\"SHIPPO_DELETE_WEBHOOK\", {\n slug: \"shippo-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a specific webhook from Shippo. Use when you need to remove a webhook that is no longer needed or needs to be reconfigured.\",\n input: ShippoDeleteWebhookInput,\n output: ShippoDeleteWebhookOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO;EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;EACrI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,4CASH;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Object ID of the webhook to delete. This is the unique identifier returned when creating a webhook.\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. Leave empty to use the default version.\").optional(),\n}).describe(\"Request parameters for deleting a webhook.\");\nexport const ShippoDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful deletion of the webhook.\").nullable(),\n}).passthrough().describe(\"Response containing deletion confirmation message.\");\n\nexport const shippoDeleteWebhook = action(\"SHIPPO_DELETE_WEBHOOK\", {\n slug: \"shippo-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a specific webhook from Shippo. Use when you need to remove a webhook that is no longer needed or needs to be reconfigured.\",\n input: ShippoDeleteWebhookInput,\n output: ShippoDeleteWebhookOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO;EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;EACrI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,4CASH;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -10,11 +10,11 @@ const ShippoGetAddress_ValidationMessageSchema = zod.z.object({
|
|
|
10
10
|
text: zod.z.string().describe("Validation message text").nullable().optional(),
|
|
11
11
|
type: zod.z.string().describe("Type of validation message").nullable().optional(),
|
|
12
12
|
source: zod.z.string().describe("Source of the validation message").nullable().optional()
|
|
13
|
-
}).describe("Model for a single validation message.");
|
|
13
|
+
}).passthrough().describe("Model for a single validation message.");
|
|
14
14
|
const ShippoGetAddress_ValidationResultsSchema = zod.z.object({
|
|
15
15
|
is_valid: zod.z.boolean().describe("Whether the address is valid").nullable().optional(),
|
|
16
16
|
messages: zod.z.array(ShippoGetAddress_ValidationMessageSchema).describe("Validation messages").nullable().optional()
|
|
17
|
-
}).describe("Model for address validation results.");
|
|
17
|
+
}).passthrough().describe("Model for address validation results.");
|
|
18
18
|
const ShippoGetAddressOutput = zod.z.object({
|
|
19
19
|
zip: zod.z.string().describe("Postal code or ZIP code").nullable().optional(),
|
|
20
20
|
city: zod.z.string().describe("City name").nullable().optional(),
|
|
@@ -37,7 +37,7 @@ const ShippoGetAddressOutput = zod.z.object({
|
|
|
37
37
|
object_created: zod.z.string().describe("Date and time of address object creation").nullable().optional(),
|
|
38
38
|
object_updated: zod.z.string().describe("Date and time of last address object update").nullable().optional(),
|
|
39
39
|
validation_results: ShippoGetAddress_ValidationResultsSchema.nullable().optional()
|
|
40
|
-
}).describe("Response model for an address.");
|
|
40
|
+
}).passthrough().describe("Response model for an address.");
|
|
41
41
|
const shippoGetAddress = require_action.action("SHIPPO_GET_ADDRESS", {
|
|
42
42
|
slug: "shippo-get-address",
|
|
43
43
|
name: "Get Address",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-address.cjs","names":["z","action"],"sources":["../../src/actions/get-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving an address.\");\nconst ShippoGetAddress_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}).describe(\"Model for a single validation message.\");\nconst ShippoGetAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Whether the address is valid\").nullable().optional(),\n messages: z.array(ShippoGetAddress_ValidationMessageSchema).describe(\"Validation messages\").nullable().optional(),\n}).describe(\"Model for address validation results.\");\nexport const ShippoGetAddressOutput = z.object({\n zip: z.string().describe(\"Postal code or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Name of the person or business\").nullable().optional(),\n test: z.boolean().describe(\"Whether this is a test address object\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State, province, or region code\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable(),\n street1: z.string().describe(\"First street line\").nullable().optional(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n street3: z.string().describe(\"Third street line\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with custom metadata\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object\").nullable(),\n street_no: z.string().describe(\"Street number\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the address is complete and ready for use\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the address object\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether the address is residential\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of address object creation\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last address object update\").nullable().optional(),\n validation_results: ShippoGetAddress_ValidationResultsSchema.nullable().optional(),\n}).describe(\"Response model for an address.\");\n\nexport const shippoGetAddress = action(\"SHIPPO_GET_ADDRESS\", {\n slug: \"shippo-get-address\",\n name: \"Get Address\",\n description: \"Tool to retrieve a previously created address from Shippo. Use when you need to get the details of an existing address using its object ID.\",\n input: ShippoGetAddressInput,\n output: ShippoGetAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,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,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-address.cjs","names":["z","action"],"sources":["../../src/actions/get-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoGetAddressInput = z.object({\n address_id: z.string().describe(\"Object ID of the address to retrieve\"),\n shippo_api_version: z.string().describe(\"String used to pick a non-default API version to use. If not specified, the default API version will be used.\").optional(),\n}).describe(\"Request model for retrieving an address.\");\nconst ShippoGetAddress_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(\"Model for a single validation message.\");\nconst ShippoGetAddress_ValidationResultsSchema = z.object({\n is_valid: z.boolean().describe(\"Whether the address is valid\").nullable().optional(),\n messages: z.array(ShippoGetAddress_ValidationMessageSchema).describe(\"Validation messages\").nullable().optional(),\n}).passthrough().describe(\"Model for address validation results.\");\nexport const ShippoGetAddressOutput = z.object({\n zip: z.string().describe(\"Postal code or ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Name of the person or business\").nullable().optional(),\n test: z.boolean().describe(\"Whether this is a test address object\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State, province, or region code\").nullable().optional(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable(),\n street1: z.string().describe(\"First street line\").nullable().optional(),\n street2: z.string().describe(\"Second street line\").nullable().optional(),\n street3: z.string().describe(\"Third street line\").nullable().optional(),\n metadata: z.string().describe(\"A string of up to 100 characters that can be filled with custom metadata\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for the address object\").nullable(),\n street_no: z.string().describe(\"Street number\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the address is complete and ready for use\").nullable().optional(),\n object_owner: z.string().describe(\"Username of the user who created the address object\").nullable().optional(),\n is_residential: z.boolean().describe(\"Whether the address is residential\").nullable().optional(),\n object_created: z.string().describe(\"Date and time of address object creation\").nullable().optional(),\n object_updated: z.string().describe(\"Date and time of last address object update\").nullable().optional(),\n validation_results: ShippoGetAddress_ValidationResultsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for an address.\");\n\nexport const shippoGetAddress = action(\"SHIPPO_GET_ADDRESS\", {\n slug: \"shippo-get-address\",\n name: \"Get Address\",\n description: \"Tool to retrieve a previously created address from Shippo. Use when you need to get the details of an existing address using its object ID.\",\n input: ShippoGetAddressInput,\n output: ShippoGetAddressOutput,\n});\n"],"mappings":"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"}
|
|
@@ -33,9 +33,9 @@ declare const ShippoGetAddressOutput: z.ZodObject<{
|
|
|
33
33
|
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const shippoGetAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
address_id: string;
|
|
41
41
|
shippo_api_version?: string | undefined;
|