@keystrokehq/shippo 0.1.2 → 0.1.4
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 +16 -4
- package/dist/actions/create-address.d.mts +16 -4
- 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 +19 -5
- package/dist/actions/create-batch.d.mts +19 -5
- 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 +15 -3
- package/dist/actions/create-carrier-account.d.mts +15 -3
- 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 +14 -2
- package/dist/actions/create-customs-item.d.mts +14 -2
- 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 +23 -7
- package/dist/actions/create-live-rate.d.mts +23 -7
- 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 +15 -3
- package/dist/actions/create-manifest.d.mts +15 -3
- 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 +16 -4
- package/dist/actions/create-merchant-address.d.mts +16 -4
- 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 +22 -9
- package/dist/actions/create-merchant-batch.d.mts +22 -9
- 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 +15 -3
- package/dist/actions/create-merchant-carrier-account.d.mts +15 -3
- 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 +17 -4
- package/dist/actions/create-merchant-customs-declaration.d.mts +17 -4
- 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 +15 -3
- package/dist/actions/create-merchant-customs-item.d.mts +15 -3
- 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 +19 -6
- package/dist/actions/create-merchant-order.d.mts +19 -6
- 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 +19 -7
- package/dist/actions/create-merchant-parcel.d.mts +19 -7
- 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 +14 -2
- package/dist/actions/create-merchant-refund.d.mts +14 -2
- 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 +34 -21
- package/dist/actions/create-merchant-shipment.d.mts +34 -21
- 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 +17 -5
- package/dist/actions/create-merchant-transaction.d.mts +17 -5
- 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 +19 -6
- package/dist/actions/create-order.d.mts +19 -6
- 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 +19 -7
- package/dist/actions/create-parcel.d.mts +19 -7
- 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 +14 -2
- package/dist/actions/create-refund.d.mts +14 -2
- 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 +17 -4
- package/dist/actions/create-service-group.d.mts +17 -4
- 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 +31 -18
- package/dist/actions/create-shipment.d.cts.map +1 -1
- package/dist/actions/create-shipment.d.mts +31 -18
- 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 +21 -9
- package/dist/actions/create-track.d.mts +21 -9
- 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 +19 -7
- package/dist/actions/create-transaction.d.cts.map +1 -1
- package/dist/actions/create-transaction.d.mts +19 -7
- package/dist/actions/create-transaction.d.mts.map +1 -1
- 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 +15 -3
- package/dist/actions/create-user-parcel-template.d.mts +15 -3
- 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 +18 -6
- package/dist/actions/create-webhook.d.mts +18 -6
- 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 +14 -2
- package/dist/actions/delete-default-parcel-template.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/delete-user-parcel-template.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/delete-webhook.d.mts +14 -2
- 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 +16 -4
- package/dist/actions/get-address.d.mts +16 -4
- 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 +15 -3
- package/dist/actions/get-carrier-account.d.mts +15 -3
- 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 +15 -3
- package/dist/actions/get-carrier-parcel-template.d.mts +15 -3
- 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 +14 -2
- package/dist/actions/get-carrier-registration-status.d.mts +14 -2
- 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 +17 -5
- package/dist/actions/get-customs-declaration.d.mts +17 -5
- 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 +14 -2
- package/dist/actions/get-customs-item.d.mts +14 -2
- 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 +15 -3
- package/dist/actions/get-default-parcel-template.d.mts +15 -3
- 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 +16 -4
- package/dist/actions/get-merchant-address.d.mts +16 -4
- 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 +18 -6
- package/dist/actions/get-merchant-batch.d.mts +18 -6
- 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 +15 -3
- package/dist/actions/get-merchant-carrier-account.d.mts +15 -3
- 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 +14 -2
- package/dist/actions/get-merchant-carrier-registration-status.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/get-merchant-customs-declaration.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/get-merchant-customs-item.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/get-merchant-manifest.d.mts +14 -2
- 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 +17 -5
- package/dist/actions/get-merchant-order.d.mts +17 -5
- 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 +17 -5
- package/dist/actions/get-merchant-parcel.d.mts +17 -5
- 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 +16 -4
- package/dist/actions/get-merchant-rate.d.mts +16 -4
- 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 +14 -2
- package/dist/actions/get-merchant-refund.d.mts +14 -2
- 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 +32 -20
- package/dist/actions/get-merchant-shipment.d.mts +32 -20
- 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 +21 -9
- package/dist/actions/get-merchant-track.d.mts +21 -9
- 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 +17 -5
- package/dist/actions/get-merchant-transaction.d.mts +17 -5
- 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 +14 -2
- package/dist/actions/get-merchant.d.mts +14 -2
- 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 +19 -7
- package/dist/actions/get-order.d.mts +19 -7
- 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 +17 -5
- package/dist/actions/get-parcel.d.mts +17 -5
- 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 +16 -4
- package/dist/actions/get-rate.d.mts +16 -4
- 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 +14 -2
- package/dist/actions/get-refund.d.mts +14 -2
- 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 +26 -14
- package/dist/actions/get-shipment.d.mts +26 -14
- 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 +14 -2
- package/dist/actions/get-shippo-account.d.mts +14 -2
- 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 +21 -9
- package/dist/actions/get-track.d.mts +21 -9
- 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 +15 -3
- package/dist/actions/get-transaction.d.mts +15 -3
- 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 +15 -3
- package/dist/actions/get-user-parcel-template.d.mts +15 -3
- 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 +14 -2
- package/dist/actions/get-webhook.d.mts +14 -2
- 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 +17 -5
- package/dist/actions/list-addresses.d.mts +17 -5
- 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 +17 -5
- package/dist/actions/list-carrier-accounts.d.mts +17 -5
- 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 +16 -4
- package/dist/actions/list-carrier-parcel-templates.d.mts +16 -4
- 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 +20 -8
- package/dist/actions/list-customs-declarations.d.mts +20 -8
- 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 +15 -3
- package/dist/actions/list-customs-items.d.mts +15 -3
- 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 +15 -3
- package/dist/actions/list-manifests.d.mts +15 -3
- 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 +17 -5
- package/dist/actions/list-merchant-addresses.d.mts +17 -5
- 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 +16 -4
- package/dist/actions/list-merchant-carrier-accounts.d.mts +16 -4
- 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 +15 -3
- package/dist/actions/list-merchant-customs-declarations.d.mts +15 -3
- 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 +15 -3
- package/dist/actions/list-merchant-customs-items.d.mts +15 -3
- 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 +16 -4
- package/dist/actions/list-merchant-manifests.d.mts +16 -4
- 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 +16 -4
- package/dist/actions/list-merchant-parcels.d.mts +16 -4
- 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 +17 -5
- package/dist/actions/list-merchant-shipment-rates-by-currency.d.mts +17 -5
- 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 +26 -14
- package/dist/actions/list-merchant-shipments.d.mts +26 -14
- 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 +16 -4
- package/dist/actions/list-merchant-transactions.d.mts +16 -4
- 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 +15 -3
- package/dist/actions/list-merchants.d.mts +15 -3
- 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 +20 -8
- package/dist/actions/list-orders.d.mts +20 -8
- 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 +15 -3
- package/dist/actions/list-refunds.d.mts +15 -3
- 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 +16 -4
- package/dist/actions/list-service-groups.d.mts +16 -4
- 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 +17 -5
- package/dist/actions/list-shipment-rates-by-currency.d.mts +17 -5
- 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 +17 -5
- package/dist/actions/list-shipment-rates.d.mts +17 -5
- 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 +26 -14
- package/dist/actions/list-shipments.d.mts +26 -14
- 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 +15 -3
- package/dist/actions/list-shippo-accounts.d.mts +15 -3
- 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 +16 -4
- package/dist/actions/list-user-parcel-templates.d.mts +16 -4
- 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 +17 -5
- package/dist/actions/purchase-merchant-batch.d.mts +17 -5
- 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 +18 -6
- package/dist/actions/remove-shipments-from-batch.d.mts +18 -6
- 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 +17 -5
- package/dist/actions/update-carrier-account.d.cts.map +1 -1
- package/dist/actions/update-carrier-account.d.mts +17 -5
- package/dist/actions/update-carrier-account.d.mts.map +1 -1
- 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 +16 -4
- package/dist/actions/update-default-parcel-template.d.mts +16 -4
- 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 +15 -3
- package/dist/actions/update-merchant-carrier-account.d.mts +15 -3
- 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 +14 -2
- package/dist/actions/update-merchant.d.mts +14 -2
- 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 +17 -4
- package/dist/actions/update-service-group.d.mts +17 -4
- 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 +15 -3
- package/dist/actions/update-user-parcel-template.d.mts +15 -3
- 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 +18 -6
- package/dist/actions/update-webhook.d.mts +18 -6
- 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 +16 -4
- package/dist/actions/validate-address.d.mts +16 -4
- 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 +16 -4
- package/dist/actions/validate-merchant-address.d.mts +16 -4
- package/dist/actions/validate-merchant-address.mjs +3 -3
- package/dist/actions/validate-merchant-address.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-carrier-account.d.mts","names":[],"sources":["../../src/actions/update-carrier-account.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYhC,0BAAA,gCAA0B,wBAAA
|
|
1
|
+
{"version":3,"file":"update-carrier-account.d.mts","names":[],"sources":["../../src/actions/update-carrier-account.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -8,7 +8,7 @@ const shippoUpdateCarrierAccount = action("SHIPPO_UPDATE_CARRIER_ACCOUNT", {
|
|
|
8
8
|
active: z.boolean().describe("Whether the carrier account should be active or inactive. Set to true to enable, false to disable.").optional(),
|
|
9
9
|
carrier: z.string().describe("The carrier name/identifier (e.g., 'usps', 'ups', 'fedex', 'dhl_express', 'lso'). This field is required."),
|
|
10
10
|
account_id: z.string().describe("The carrier account identifier. This field is required."),
|
|
11
|
-
parameters: z.
|
|
11
|
+
parameters: z.record(z.string(), z.unknown()).describe("Optional carrier-specific parameters as key-value pairs. The structure varies by carrier.").optional(),
|
|
12
12
|
carrier_account_id: z.string().describe("Object ID of the carrier account to update (e.g., '2bf70116c96f40159b54c16f022586c7')."),
|
|
13
13
|
shippo_api_version: z.string().describe("Optional string to specify a non-default API version to use for this request.").optional()
|
|
14
14
|
}).describe("Request model for updating an existing carrier account in Shippo."),
|
|
@@ -19,10 +19,10 @@ const shippoUpdateCarrierAccount = action("SHIPPO_UPDATE_CARRIER_ACCOUNT", {
|
|
|
19
19
|
metadata: z.string().describe("Custom metadata associated with the carrier account.").nullable().optional(),
|
|
20
20
|
object_id: z.string().describe("Unique identifier for this carrier account object.").nullable().optional(),
|
|
21
21
|
account_id: z.string().describe("The carrier account identifier.").nullable(),
|
|
22
|
-
parameters: z.
|
|
22
|
+
parameters: z.record(z.string(), z.unknown()).describe("Carrier-specific parameters as key-value pairs.").nullable().optional(),
|
|
23
23
|
object_owner: z.string().describe("The owner of this carrier account object.").nullable().optional(),
|
|
24
24
|
is_shippo_account: z.boolean().describe("Indicates whether this is a Shippo-provided account.").nullable().optional()
|
|
25
|
-
}).describe("Response model containing the updated carrier account details.")
|
|
25
|
+
}).passthrough().describe("Response model containing the updated carrier account details.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { shippoUpdateCarrierAccount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-carrier-account.mjs","names":[],"sources":["../../src/actions/update-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'usps', 'ups', 'fedex', 'dhl_express', 'lso'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.
|
|
1
|
+
{"version":3,"file":"update-carrier-account.mjs","names":[],"sources":["../../src/actions/update-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'usps', 'ups', 'fedex', 'dhl_express', 'lso'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"Optional carrier-specific parameters as key-value pairs. The structure varies by carrier.\").optional(),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '2bf70116c96f40159b54c16f022586c7').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing carrier account in Shippo.\");\nexport const ShippoUpdateCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier.\").nullable(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters as key-value pairs.\").nullable().optional(),\n object_owner: z.string().describe(\"The owner of this carrier account object.\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates whether this is a Shippo-provided account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated carrier account details.\");\n\nexport const shippoUpdateCarrierAccount = action(\"SHIPPO_UPDATE_CARRIER_ACCOUNT\", {\n slug: \"shippo-update-carrier-account\",\n name: \"Update Carrier Account\",\n description: \"Tool to update an existing carrier account in Shippo. Use when you need to modify carrier account settings such as activation status, account credentials, or carrier-specific parameters.\",\n input: ShippoUpdateCarrierAccountInput,\n output: ShippoUpdateCarrierAccountOutput,\n});\n"],"mappings":";;AAwBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB6C,EAAE,OAAO;EACtD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACxI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACzF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAC7J,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;EAChI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,mEAiBH;CACP,QAjB8C,EAAE,OAAO;EACvD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ const ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = zod.z.object({
|
|
|
16
16
|
distance_unit: zod.z.string().describe("Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)").nullable().optional(),
|
|
17
17
|
provider_name: zod.z.string().describe("Name of the carrier provider").nullable().optional(),
|
|
18
18
|
is_variable_dimensions: zod.z.union([zod.z.string(), zod.z.boolean()]).nullable().optional()
|
|
19
|
-
}).describe("Carrier parcel template details.");
|
|
19
|
+
}).passthrough().describe("Carrier parcel template details.");
|
|
20
20
|
const ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = zod.z.object({
|
|
21
21
|
name: zod.z.string().describe("Name of the parcel template").nullable().optional(),
|
|
22
22
|
width: zod.z.string().describe("Width dimension of the parcel").nullable().optional(),
|
|
@@ -31,8 +31,8 @@ const ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = zod.z.objec
|
|
|
31
31
|
distance_unit: zod.z.string().describe("Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)").nullable().optional(),
|
|
32
32
|
object_created: zod.z.string().describe("Timestamp when the parcel template was created").nullable().optional(),
|
|
33
33
|
object_updated: zod.z.string().describe("Timestamp when the parcel template was last updated").nullable().optional()
|
|
34
|
-
}).describe("Represents the parcel template details.");
|
|
35
|
-
const ShippoUpdateDefaultParcelTemplateOutput = zod.z.object({ result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional() }).describe("Response from updating the default parcel template.");
|
|
34
|
+
}).passthrough().describe("Represents the parcel template details.");
|
|
35
|
+
const ShippoUpdateDefaultParcelTemplateOutput = zod.z.object({ result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional() }).passthrough().describe("Response from updating the default parcel template.");
|
|
36
36
|
const shippoUpdateDefaultParcelTemplate = require_action.action("SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE", {
|
|
37
37
|
slug: "shippo-update-default-parcel-template",
|
|
38
38
|
name: "Update Default Parcel Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-default-parcel-template.cjs","names":["z","action"],"sources":["../../src/actions/update-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateDefaultParcelTemplateInput = z.object({\n object_id: z.string().describe(\"The unique identifier of the parcel template to set as default. This should be the ID of an existing parcel template in your Shippo account.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"Optional string used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"Token identifying 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 api_token: z.string().describe(\"API token for the carrier parcel template\").nullable().optional(),\n provider_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the carrier provider\").nullable().optional(),\n is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).describe(\"Carrier parcel template details.\");\nconst ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({\n name: z.string().describe(\"Name of the parcel template\").nullable().optional(),\n width: z.string().describe(\"Width dimension of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height dimension of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length dimension of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n template: ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel template object\").nullable().optional(),\n is_default: z.boolean().describe(\"Indicates if this is the default parcel template\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for parcel weight (e.g., 'lb' for pounds, 'kg' for kilograms)\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the parcel template object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the parcel template was created\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the parcel template was last updated\").nullable().optional(),\n}).describe(\"Represents the parcel template details.\");\nexport const ShippoUpdateDefaultParcelTemplateOutput = z.object({\n result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional(),\n}).describe(\"Response from updating the default parcel template.\");\n\nexport const shippoUpdateDefaultParcelTemplate = action(\"SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-default-parcel-template\",\n name: \"Update Default Parcel Template\",\n description: \"Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.\",\n input: ShippoUpdateDefaultParcelTemplateInput,\n output: ShippoUpdateDefaultParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CAC7K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC9K,CAAC;AACD,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,wBAAwBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"update-default-parcel-template.cjs","names":["z","action"],"sources":["../../src/actions/update-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateDefaultParcelTemplateInput = z.object({\n object_id: z.string().describe(\"The unique identifier of the parcel template to set as default. This should be the ID of an existing parcel template in your Shippo account.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"Optional string used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"Token identifying 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 api_token: z.string().describe(\"API token for the carrier parcel template\").nullable().optional(),\n provider_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the carrier provider\").nullable().optional(),\n is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Carrier parcel template details.\");\nconst ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({\n name: z.string().describe(\"Name of the parcel template\").nullable().optional(),\n width: z.string().describe(\"Width dimension of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height dimension of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length dimension of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n template: ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel template object\").nullable().optional(),\n is_default: z.boolean().describe(\"Indicates if this is the default parcel template\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for parcel weight (e.g., 'lb' for pounds, 'kg' for kilograms)\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the parcel template object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the parcel template was created\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the parcel template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents the parcel template details.\");\nexport const ShippoUpdateDefaultParcelTemplateOutput = z.object({\n result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response from updating the default parcel template.\");\n\nexport const shippoUpdateDefaultParcelTemplate = action(\"SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-default-parcel-template\",\n name: \"Update Default Parcel Template\",\n description: \"Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.\",\n input: ShippoUpdateDefaultParcelTemplateInput,\n output: ShippoUpdateDefaultParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CAC7K,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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,SAAS,yCAAyC;AACnE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,QAAQ,6DAA6D,SAAS,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ declare const ShippoUpdateDefaultParcelTemplateOutput: z.ZodObject<{
|
|
|
23
23
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
is_variable_dimensions: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
27
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
is_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
29
|
weight_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -31,12 +31,24 @@ declare const ShippoUpdateDefaultParcelTemplateOutput: z.ZodObject<{
|
|
|
31
31
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
35
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const shippoUpdateDefaultParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
object_id: string;
|
|
38
38
|
"SHIPPO-API-VERSION"?: string | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
40
|
+
connectionId: z.ZodString;
|
|
41
|
+
entityId: z.ZodString;
|
|
42
|
+
instanceId: z.ZodString;
|
|
43
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
+
accessToken: z.ZodString;
|
|
45
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
46
|
+
connectionId: z.ZodString;
|
|
47
|
+
entityId: z.ZodString;
|
|
48
|
+
instanceId: z.ZodString;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
accessToken: z.ZodString;
|
|
51
|
+
}, z.core.$strip>>]>;
|
|
40
52
|
//#endregion
|
|
41
53
|
export { shippoUpdateDefaultParcelTemplate };
|
|
42
54
|
//# sourceMappingURL=update-default-parcel-template.d.cts.map
|
|
@@ -23,7 +23,7 @@ declare const ShippoUpdateDefaultParcelTemplateOutput: z.ZodObject<{
|
|
|
23
23
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
is_variable_dimensions: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
27
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
is_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
29
|
weight_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -31,12 +31,24 @@ declare const ShippoUpdateDefaultParcelTemplateOutput: z.ZodObject<{
|
|
|
31
31
|
distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
35
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const shippoUpdateDefaultParcelTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
object_id: string;
|
|
38
38
|
"SHIPPO-API-VERSION"?: string | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
40
|
+
connectionId: z.ZodString;
|
|
41
|
+
entityId: z.ZodString;
|
|
42
|
+
instanceId: z.ZodString;
|
|
43
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
+
accessToken: z.ZodString;
|
|
45
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
46
|
+
connectionId: z.ZodString;
|
|
47
|
+
entityId: z.ZodString;
|
|
48
|
+
instanceId: z.ZodString;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
accessToken: z.ZodString;
|
|
51
|
+
}, z.core.$strip>>]>;
|
|
40
52
|
//#endregion
|
|
41
53
|
export { shippoUpdateDefaultParcelTemplate };
|
|
42
54
|
//# sourceMappingURL=update-default-parcel-template.d.mts.map
|
|
@@ -16,7 +16,7 @@ const ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = z.object({
|
|
|
16
16
|
distance_unit: z.string().describe("Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)").nullable().optional(),
|
|
17
17
|
provider_name: z.string().describe("Name of the carrier provider").nullable().optional(),
|
|
18
18
|
is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional()
|
|
19
|
-
}).describe("Carrier parcel template details.");
|
|
19
|
+
}).passthrough().describe("Carrier parcel template details.");
|
|
20
20
|
const ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({
|
|
21
21
|
name: z.string().describe("Name of the parcel template").nullable().optional(),
|
|
22
22
|
width: z.string().describe("Width dimension of the parcel").nullable().optional(),
|
|
@@ -31,13 +31,13 @@ const ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({
|
|
|
31
31
|
distance_unit: z.string().describe("Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)").nullable().optional(),
|
|
32
32
|
object_created: z.string().describe("Timestamp when the parcel template was created").nullable().optional(),
|
|
33
33
|
object_updated: z.string().describe("Timestamp when the parcel template was last updated").nullable().optional()
|
|
34
|
-
}).describe("Represents the parcel template details.");
|
|
34
|
+
}).passthrough().describe("Represents the parcel template details.");
|
|
35
35
|
const shippoUpdateDefaultParcelTemplate = action("SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE", {
|
|
36
36
|
slug: "shippo-update-default-parcel-template",
|
|
37
37
|
name: "Update Default Parcel Template",
|
|
38
38
|
description: "Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.",
|
|
39
39
|
input: ShippoUpdateDefaultParcelTemplateInput,
|
|
40
|
-
output: z.object({ result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional() }).describe("Response from updating the default parcel template.")
|
|
40
|
+
output: z.object({ result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional() }).passthrough().describe("Response from updating the default parcel template.")
|
|
41
41
|
});
|
|
42
42
|
//#endregion
|
|
43
43
|
export { shippoUpdateDefaultParcelTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-default-parcel-template.mjs","names":[],"sources":["../../src/actions/update-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateDefaultParcelTemplateInput = z.object({\n object_id: z.string().describe(\"The unique identifier of the parcel template to set as default. This should be the ID of an existing parcel template in your Shippo account.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"Optional string used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"Token identifying 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 api_token: z.string().describe(\"API token for the carrier parcel template\").nullable().optional(),\n provider_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the carrier provider\").nullable().optional(),\n is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).describe(\"Carrier parcel template details.\");\nconst ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({\n name: z.string().describe(\"Name of the parcel template\").nullable().optional(),\n width: z.string().describe(\"Width dimension of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height dimension of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length dimension of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n template: ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel template object\").nullable().optional(),\n is_default: z.boolean().describe(\"Indicates if this is the default parcel template\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for parcel weight (e.g., 'lb' for pounds, 'kg' for kilograms)\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the parcel template object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the parcel template was created\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the parcel template was last updated\").nullable().optional(),\n}).describe(\"Represents the parcel template details.\");\nexport const ShippoUpdateDefaultParcelTemplateOutput = z.object({\n result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional(),\n}).describe(\"Response from updating the default parcel template.\");\n\nexport const shippoUpdateDefaultParcelTemplate = action(\"SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-default-parcel-template\",\n name: \"Update Default Parcel Template\",\n description: \"Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.\",\n input: ShippoUpdateDefaultParcelTemplateInput,\n output: ShippoUpdateDefaultParcelTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CAC7K,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC9K,CAAC;AACD,MAAM,0DAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,wBAAwB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"update-default-parcel-template.mjs","names":[],"sources":["../../src/actions/update-default-parcel-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateDefaultParcelTemplateInput = z.object({\n object_id: z.string().describe(\"The unique identifier of the parcel template to set as default. This should be the ID of an existing parcel template in your Shippo account.\"),\n \"SHIPPO-API-VERSION\": z.string().describe(\"Optional string used to pick a non-default API version to use. If not provided, the default API version will be used.\").optional(),\n});\nconst ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema = z.object({\n name: z.string().describe(\"Name of the carrier parcel template\").nullable().optional(),\n token: z.string().describe(\"Token identifying 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 api_token: z.string().describe(\"API token for the carrier parcel template\").nullable().optional(),\n provider_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for distance (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the carrier provider\").nullable().optional(),\n is_variable_dimensions: z.union([z.string(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Carrier parcel template details.\");\nconst ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema = z.object({\n name: z.string().describe(\"Name of the parcel template\").nullable().optional(),\n width: z.string().describe(\"Width dimension of the parcel\").nullable().optional(),\n height: z.string().describe(\"Height dimension of the parcel\").nullable().optional(),\n length: z.string().describe(\"Length dimension of the parcel\").nullable().optional(),\n weight: z.string().describe(\"Weight of the parcel\").nullable().optional(),\n template: ShippoUpdateDefaultParcelTemplate_TemplateDetailsSchema.nullable().optional(),\n object_id: z.string().describe(\"Unique identifier of the parcel template object\").nullable().optional(),\n is_default: z.boolean().describe(\"Indicates if this is the default parcel template\").nullable().optional(),\n weight_unit: z.string().describe(\"Unit of measurement for parcel weight (e.g., 'lb' for pounds, 'kg' for kilograms)\").nullable().optional(),\n object_owner: z.string().describe(\"Owner of the parcel template object\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of measurement for parcel dimensions (e.g., 'in' for inches, 'cm' for centimeters)\").nullable().optional(),\n object_created: z.string().describe(\"Timestamp when the parcel template was created\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the parcel template was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents the parcel template details.\");\nexport const ShippoUpdateDefaultParcelTemplateOutput = z.object({\n result: ShippoUpdateDefaultParcelTemplate_ParcelTemplateResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response from updating the default parcel template.\");\n\nexport const shippoUpdateDefaultParcelTemplate = action(\"SHIPPO_UPDATE_DEFAULT_PARCEL_TEMPLATE\", {\n slug: \"shippo-update-default-parcel-template\",\n name: \"Update Default Parcel Template\",\n description: \"Tool to update the default parcel template for live rates at checkout in Shippo. Use when you need to set a specific parcel template as the default for calculating shipping rates.\",\n input: ShippoUpdateDefaultParcelTemplateInput,\n output: ShippoUpdateD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M;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,QAAQ,6DAA6D,SAAS,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -40,10 +40,10 @@ const ShippoUpdateMerchantCarrierAccountOutput = zod.z.object({
|
|
|
40
40
|
metadata: zod.z.string().describe("Custom metadata associated with the carrier account.").nullable().optional(),
|
|
41
41
|
object_id: zod.z.string().describe("Unique identifier for this carrier account object.").nullable().optional(),
|
|
42
42
|
account_id: zod.z.string().describe("The carrier account identifier (may be masked, e.g., '****').").nullable().optional(),
|
|
43
|
-
parameters: zod.z.
|
|
43
|
+
parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Carrier-specific parameters. Some sensitive data may be masked in the response.").nullable().optional(),
|
|
44
44
|
object_owner: zod.z.string().describe("The owner of this carrier account object (email address).").nullable().optional(),
|
|
45
45
|
is_shippo_account: zod.z.boolean().describe("Indicates whether this is a Shippo-provided account.").nullable().optional()
|
|
46
|
-
}).describe("Response model containing the updated carrier account details.");
|
|
46
|
+
}).passthrough().describe("Response model containing the updated carrier account details.");
|
|
47
47
|
const shippoUpdateMerchantCarrierAccount = require_action.action("SHIPPO_UPDATE_MERCHANT_CARRIER_ACCOUNT", {
|
|
48
48
|
slug: "shippo-update-merchant-carrier-account",
|
|
49
49
|
name: "Update Merchant Carrier Account",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-merchant-carrier-account.cjs","names":["z","action"],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'ups', 'usps', 'fedex'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.object({\n email: z.string().describe(\"Email address for the carrier account.\"),\n phone: z.string().describe(\"Phone number (e.g., '1112223333').\"),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Engineer, Mr, Ms, Mrs, Mx).\"),\n company: z.string().describe(\"Company name. Full name is acceptable if the user has no company name.\"),\n full_name: z.string().describe(\"Full name of the account holder.\"),\n collec_zip: z.string().describe(\"ZIP code of the collection/pickup address (5 digits).\"),\n has_invoice: z.boolean().describe(\"True if user has been issued a UPS invoice within the past 90 days (US/Canada) or 45 days (other countries).\"),\n invoice_date: z.string().describe(\"Date the invoice was issued in YYYYMMDD format (required if has_invoice is true).\").optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice_value (required if has_invoice is true).\").optional(),\n invoice_value: z.string().describe(\"Invoice value (required if has_invoice is true). Max 16 digits before decimal and 2 after.\").optional(),\n account_number: z.string().describe(\"The UPS account number (e.g., '94567e').\"),\n invoice_number: z.string().describe(\"Invoice number (required if has_invoice is true, 1-15 characters).\").optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to UPS terms and conditions. Must be true (error 400 if false).\"),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (required if has_invoice is true).\").optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true, 4 characters).\").optional(),\n billing_address_zip: z.string().describe(\"ZIP code of the billing address (5 digits).\"),\n collec_country_iso2: z.string().describe(\"Country ISO2 code for the collection address (2 characters).\"),\n billing_address_city: z.string().describe(\"City of the billing address.\"),\n billing_address_state: z.string().describe(\"State code of the billing address (2 characters).\"),\n billing_address_street1: z.string().describe(\"First line of the billing address.\"),\n billing_address_street2: z.string().describe(\"Second line of the billing address. Empty string acceptable.\").optional(),\n billing_address_country_iso2: z.string().describe(\"Country ISO2 code for the billing address (2 characters).\"),\n}).describe(\"Carrier-specific parameters. For UPS, includes billing address, account details, and invoice information.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '15c67bc9e2694e7c896c8d995d313442').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating a carrier account for a merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier (may be masked, e.g., '****').\").nullable().optional(),\n parameters: z.
|
|
1
|
+
{"version":3,"file":"update-merchant-carrier-account.cjs","names":["z","action"],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'ups', 'usps', 'fedex'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.object({\n email: z.string().describe(\"Email address for the carrier account.\"),\n phone: z.string().describe(\"Phone number (e.g., '1112223333').\"),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Engineer, Mr, Ms, Mrs, Mx).\"),\n company: z.string().describe(\"Company name. Full name is acceptable if the user has no company name.\"),\n full_name: z.string().describe(\"Full name of the account holder.\"),\n collec_zip: z.string().describe(\"ZIP code of the collection/pickup address (5 digits).\"),\n has_invoice: z.boolean().describe(\"True if user has been issued a UPS invoice within the past 90 days (US/Canada) or 45 days (other countries).\"),\n invoice_date: z.string().describe(\"Date the invoice was issued in YYYYMMDD format (required if has_invoice is true).\").optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice_value (required if has_invoice is true).\").optional(),\n invoice_value: z.string().describe(\"Invoice value (required if has_invoice is true). Max 16 digits before decimal and 2 after.\").optional(),\n account_number: z.string().describe(\"The UPS account number (e.g., '94567e').\"),\n invoice_number: z.string().describe(\"Invoice number (required if has_invoice is true, 1-15 characters).\").optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to UPS terms and conditions. Must be true (error 400 if false).\"),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (required if has_invoice is true).\").optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true, 4 characters).\").optional(),\n billing_address_zip: z.string().describe(\"ZIP code of the billing address (5 digits).\"),\n collec_country_iso2: z.string().describe(\"Country ISO2 code for the collection address (2 characters).\"),\n billing_address_city: z.string().describe(\"City of the billing address.\"),\n billing_address_state: z.string().describe(\"State code of the billing address (2 characters).\"),\n billing_address_street1: z.string().describe(\"First line of the billing address.\"),\n billing_address_street2: z.string().describe(\"Second line of the billing address. Empty string acceptable.\").optional(),\n billing_address_country_iso2: z.string().describe(\"Country ISO2 code for the billing address (2 characters).\"),\n}).describe(\"Carrier-specific parameters. For UPS, includes billing address, account details, and invoice information.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '15c67bc9e2694e7c896c8d995d313442').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating a carrier account for a merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier (may be masked, e.g., '****').\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters. Some sensitive data may be masked in the response.\").nullable().optional(),\n object_owner: z.string().describe(\"The owner of this carrier account object (email address).\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates whether this is a Shippo-provided account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated carrier account details.\");\n\nexport const shippoUpdateMerchantCarrierAccount = action(\"SHIPPO_UPDATE_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-update-merchant-carrier-account\",\n name: \"Update Merchant Carrier Account\",\n description: \"Tool to update a carrier account for a merchant in Shippo Platform API. Use when you need to modify merchant carrier account settings such as activation status, billing address, or UPS-specific parameters. Requires Platform API authentication with merchant context.\",\n input: ShippoUpdateMerchantCarrierAccountInput,\n output: ShippoUpdateMerchantCarrierAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,YAAYA,IAAAA,EAAE,OAAO;EACrB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACr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ACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -40,10 +40,10 @@ declare const ShippoUpdateMerchantCarrierAccountOutput: z.ZodObject<{
|
|
|
40
40
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
parameters: z.ZodOptional<z.ZodNullable<z.
|
|
43
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
44
44
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>;
|
|
47
47
|
declare const shippoUpdateMerchantCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
48
48
|
carrier: string;
|
|
49
49
|
account_id: string;
|
|
@@ -75,7 +75,19 @@ declare const shippoUpdateMerchantCarrierAccount: import("@keystrokehq/action").
|
|
|
75
75
|
carrier_account_id: string;
|
|
76
76
|
active?: boolean | undefined;
|
|
77
77
|
shippo_api_version?: string | undefined;
|
|
78
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
78
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
79
|
+
connectionId: z.ZodString;
|
|
80
|
+
entityId: z.ZodString;
|
|
81
|
+
instanceId: z.ZodString;
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
+
accessToken: z.ZodString;
|
|
84
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
85
|
+
connectionId: z.ZodString;
|
|
86
|
+
entityId: z.ZodString;
|
|
87
|
+
instanceId: z.ZodString;
|
|
88
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
89
|
+
accessToken: z.ZodString;
|
|
90
|
+
}, z.core.$strip>>]>;
|
|
79
91
|
//#endregion
|
|
80
92
|
export { shippoUpdateMerchantCarrierAccount };
|
|
81
93
|
//# sourceMappingURL=update-merchant-carrier-account.d.cts.map
|
|
@@ -40,10 +40,10 @@ declare const ShippoUpdateMerchantCarrierAccountOutput: z.ZodObject<{
|
|
|
40
40
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
object_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
parameters: z.ZodOptional<z.ZodNullable<z.
|
|
43
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
44
44
|
object_owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
is_shippo_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>;
|
|
47
47
|
declare const shippoUpdateMerchantCarrierAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
48
48
|
carrier: string;
|
|
49
49
|
account_id: string;
|
|
@@ -75,7 +75,19 @@ declare const shippoUpdateMerchantCarrierAccount: import("@keystrokehq/action").
|
|
|
75
75
|
carrier_account_id: string;
|
|
76
76
|
active?: boolean | undefined;
|
|
77
77
|
shippo_api_version?: string | undefined;
|
|
78
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
78
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
79
|
+
connectionId: z.ZodString;
|
|
80
|
+
entityId: z.ZodString;
|
|
81
|
+
instanceId: z.ZodString;
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
+
accessToken: z.ZodString;
|
|
84
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
85
|
+
connectionId: z.ZodString;
|
|
86
|
+
entityId: z.ZodString;
|
|
87
|
+
instanceId: z.ZodString;
|
|
88
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
89
|
+
accessToken: z.ZodString;
|
|
90
|
+
}, z.core.$strip>>]>;
|
|
79
91
|
//#endregion
|
|
80
92
|
export { shippoUpdateMerchantCarrierAccount };
|
|
81
93
|
//# sourceMappingURL=update-merchant-carrier-account.d.mts.map
|
|
@@ -43,10 +43,10 @@ const shippoUpdateMerchantCarrierAccount = action("SHIPPO_UPDATE_MERCHANT_CARRIE
|
|
|
43
43
|
metadata: z.string().describe("Custom metadata associated with the carrier account.").nullable().optional(),
|
|
44
44
|
object_id: z.string().describe("Unique identifier for this carrier account object.").nullable().optional(),
|
|
45
45
|
account_id: z.string().describe("The carrier account identifier (may be masked, e.g., '****').").nullable().optional(),
|
|
46
|
-
parameters: z.
|
|
46
|
+
parameters: z.record(z.string(), z.unknown()).describe("Carrier-specific parameters. Some sensitive data may be masked in the response.").nullable().optional(),
|
|
47
47
|
object_owner: z.string().describe("The owner of this carrier account object (email address).").nullable().optional(),
|
|
48
48
|
is_shippo_account: z.boolean().describe("Indicates whether this is a Shippo-provided account.").nullable().optional()
|
|
49
|
-
}).describe("Response model containing the updated carrier account details.")
|
|
49
|
+
}).passthrough().describe("Response model containing the updated carrier account details.")
|
|
50
50
|
});
|
|
51
51
|
//#endregion
|
|
52
52
|
export { shippoUpdateMerchantCarrierAccount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-merchant-carrier-account.mjs","names":[],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'ups', 'usps', 'fedex'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.object({\n email: z.string().describe(\"Email address for the carrier account.\"),\n phone: z.string().describe(\"Phone number (e.g., '1112223333').\"),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Engineer, Mr, Ms, Mrs, Mx).\"),\n company: z.string().describe(\"Company name. Full name is acceptable if the user has no company name.\"),\n full_name: z.string().describe(\"Full name of the account holder.\"),\n collec_zip: z.string().describe(\"ZIP code of the collection/pickup address (5 digits).\"),\n has_invoice: z.boolean().describe(\"True if user has been issued a UPS invoice within the past 90 days (US/Canada) or 45 days (other countries).\"),\n invoice_date: z.string().describe(\"Date the invoice was issued in YYYYMMDD format (required if has_invoice is true).\").optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice_value (required if has_invoice is true).\").optional(),\n invoice_value: z.string().describe(\"Invoice value (required if has_invoice is true). Max 16 digits before decimal and 2 after.\").optional(),\n account_number: z.string().describe(\"The UPS account number (e.g., '94567e').\"),\n invoice_number: z.string().describe(\"Invoice number (required if has_invoice is true, 1-15 characters).\").optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to UPS terms and conditions. Must be true (error 400 if false).\"),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (required if has_invoice is true).\").optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true, 4 characters).\").optional(),\n billing_address_zip: z.string().describe(\"ZIP code of the billing address (5 digits).\"),\n collec_country_iso2: z.string().describe(\"Country ISO2 code for the collection address (2 characters).\"),\n billing_address_city: z.string().describe(\"City of the billing address.\"),\n billing_address_state: z.string().describe(\"State code of the billing address (2 characters).\"),\n billing_address_street1: z.string().describe(\"First line of the billing address.\"),\n billing_address_street2: z.string().describe(\"Second line of the billing address. Empty string acceptable.\").optional(),\n billing_address_country_iso2: z.string().describe(\"Country ISO2 code for the billing address (2 characters).\"),\n}).describe(\"Carrier-specific parameters. For UPS, includes billing address, account details, and invoice information.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '15c67bc9e2694e7c896c8d995d313442').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating a carrier account for a merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier (may be masked, e.g., '****').\").nullable().optional(),\n parameters: z.
|
|
1
|
+
{"version":3,"file":"update-merchant-carrier-account.mjs","names":[],"sources":["../../src/actions/update-merchant-carrier-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantCarrierAccountInput = z.object({\n active: z.boolean().describe(\"Whether the carrier account should be active or inactive. Set to true to enable, false to disable.\").optional(),\n carrier: z.string().describe(\"The carrier name/identifier (e.g., 'ups', 'usps', 'fedex'). This field is required.\"),\n account_id: z.string().describe(\"The carrier account identifier. This field is required.\"),\n parameters: z.object({\n email: z.string().describe(\"Email address for the carrier account.\"),\n phone: z.string().describe(\"Phone number (e.g., '1112223333').\"),\n title: z.string().describe(\"User's title (e.g., Manager, Doctor, Engineer, Mr, Ms, Mrs, Mx).\"),\n company: z.string().describe(\"Company name. Full name is acceptable if the user has no company name.\"),\n full_name: z.string().describe(\"Full name of the account holder.\"),\n collec_zip: z.string().describe(\"ZIP code of the collection/pickup address (5 digits).\"),\n has_invoice: z.boolean().describe(\"True if user has been issued a UPS invoice within the past 90 days (US/Canada) or 45 days (other countries).\"),\n invoice_date: z.string().describe(\"Date the invoice was issued in YYYYMMDD format (required if has_invoice is true).\").optional(),\n currency_code: z.string().describe(\"3-letter currency code associated with invoice_value (required if has_invoice is true).\").optional(),\n invoice_value: z.string().describe(\"Invoice value (required if has_invoice is true). Max 16 digits before decimal and 2 after.\").optional(),\n account_number: z.string().describe(\"The UPS account number (e.g., '94567e').\"),\n invoice_number: z.string().describe(\"Invoice number (required if has_invoice is true, 1-15 characters).\").optional(),\n ups_agreements: z.boolean().describe(\"Whether the user agrees to UPS terms and conditions. Must be true (error 400 if false).\"),\n aia_country_iso2: z.string().describe(\"Country associated with the account that issued the invoice (required if has_invoice is true).\").optional(),\n invoice_controlid: z.string().describe(\"Invoice control ID (required if aia_country_iso2 is US and has_invoice is true, 4 characters).\").optional(),\n billing_address_zip: z.string().describe(\"ZIP code of the billing address (5 digits).\"),\n collec_country_iso2: z.string().describe(\"Country ISO2 code for the collection address (2 characters).\"),\n billing_address_city: z.string().describe(\"City of the billing address.\"),\n billing_address_state: z.string().describe(\"State code of the billing address (2 characters).\"),\n billing_address_street1: z.string().describe(\"First line of the billing address.\"),\n billing_address_street2: z.string().describe(\"Second line of the billing address. Empty string acceptable.\").optional(),\n billing_address_country_iso2: z.string().describe(\"Country ISO2 code for the billing address (2 characters).\"),\n}).describe(\"Carrier-specific parameters. For UPS, includes billing address, account details, and invoice information.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n carrier_account_id: z.string().describe(\"Object ID of the carrier account to update (e.g., '15c67bc9e2694e7c896c8d995d313442').\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating a carrier account for a merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantCarrierAccountOutput = z.object({\n test: z.boolean().describe(\"Indicates whether this is a test account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the carrier account is active.\").nullable().optional(),\n carrier: z.string().describe(\"The carrier name/identifier.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata associated with the carrier account.\").nullable().optional(),\n object_id: z.string().describe(\"Unique identifier for this carrier account object.\").nullable().optional(),\n account_id: z.string().describe(\"The carrier account identifier (may be masked, e.g., '****').\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Carrier-specific parameters. Some sensitive data may be masked in the response.\").nullable().optional(),\n object_owner: z.string().describe(\"The owner of this carrier account object (email address).\").nullable().optional(),\n is_shippo_account: z.boolean().describe(\"Indicates whether this is a Shippo-provided account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated carrier account details.\");\n\nexport const shippoUpdateMerchantCarrierAccount = action(\"SHIPPO_UPDATE_MERCHANT_CARRIER_ACCOUNT\", {\n slug: \"shippo-update-merchant-carrier-account\",\n name: \"Update Merchant Carrier Account\",\n description: \"Tool to update a carrier account for a merchant in Shippo Platform API. Use when you need to modify merchant carrier account settings such as activation status, billing address, or UPS-specific parameters. Requires Platform API authentication with merchant context.\",\n input: ShippoUpdateMerchantCarrierAccountInput,\n output: ShippoUpdateMerchantCarrierAccountOutput,\n});\n"],"mappings":";;AAgDA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhDqD,EAAE,OAAO;EAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAClH,YAAY,EAAE,OAAO,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AAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ const ShippoUpdateMerchantOutput = zod.z.object({
|
|
|
17
17
|
merchant_name: zod.z.string().describe("The merchant's business/company name.").nullable(),
|
|
18
18
|
object_created: zod.z.string().describe("Timestamp when the merchant object was created (ISO 8601 format).").nullable().optional(),
|
|
19
19
|
object_updated: zod.z.string().describe("Timestamp when the merchant object was last updated (ISO 8601 format).").nullable().optional()
|
|
20
|
-
}).describe("Response model containing the updated merchant details.");
|
|
20
|
+
}).passthrough().describe("Response model containing the updated merchant details.");
|
|
21
21
|
const shippoUpdateMerchant = require_action.action("SHIPPO_UPDATE_MERCHANT", {
|
|
22
22
|
slug: "shippo-update-merchant",
|
|
23
23
|
name: "Update Merchant",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-merchant.cjs","names":["z","action"],"sources":["../../src/actions/update-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantInput = z.object({\n email: z.string().describe(\"The merchant's email address. This field is required.\"),\n last_name: z.string().describe(\"The merchant's last name. This field is required.\"),\n first_name: z.string().describe(\"The merchant's first name. This field is required.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant to update (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n merchant_name: z.string().describe(\"The merchant's business/company name. This field is required.\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantOutput = z.object({\n email: z.string().describe(\"The merchant's email address.\").nullable(),\n last_name: z.string().describe(\"The merchant's last name.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this merchant object.\").nullable().optional(),\n first_name: z.string().describe(\"The merchant's first name.\").nullable(),\n merchant_name: z.string().describe(\"The merchant's business/company name.\").nullable(),\n object_created: z.string().describe(\"Timestamp when the merchant object was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the merchant object was last updated (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Response model containing the updated merchant details.\");\n\nexport const shippoUpdateMerchant = action(\"SHIPPO_UPDATE_MERCHANT\", {\n slug: \"shippo-update-merchant\",\n name: \"Update Merchant\",\n description: \"Tool to update an existing merchant in Shippo Platform API. Use when you need to modify merchant details such as name, email, or business information. This action requires Platform API authentication.\",\n input: ShippoUpdateMerchantInput,\n output: ShippoUpdateMerchantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAClH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAClG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"update-merchant.cjs","names":["z","action"],"sources":["../../src/actions/update-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantInput = z.object({\n email: z.string().describe(\"The merchant's email address. This field is required.\"),\n last_name: z.string().describe(\"The merchant's last name. This field is required.\"),\n first_name: z.string().describe(\"The merchant's first name. This field is required.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant to update (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n merchant_name: z.string().describe(\"The merchant's business/company name. This field is required.\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantOutput = z.object({\n email: z.string().describe(\"The merchant's email address.\").nullable(),\n last_name: z.string().describe(\"The merchant's last name.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this merchant object.\").nullable().optional(),\n first_name: z.string().describe(\"The merchant's first name.\").nullable(),\n merchant_name: z.string().describe(\"The merchant's business/company name.\").nullable(),\n object_created: z.string().describe(\"Timestamp when the merchant object was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the merchant object was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated merchant details.\");\n\nexport const shippoUpdateMerchant = action(\"SHIPPO_UPDATE_MERCHANT\", {\n slug: \"shippo-update-merchant\",\n name: \"Update Merchant\",\n description: \"Tool to update an existing merchant in Shippo Platform API. Use when you need to modify merchant details such as name, email, or business information. This action requires Platform API authentication.\",\n input: ShippoUpdateMerchantInput,\n output: ShippoUpdateMerchantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAClH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAClG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ declare const ShippoUpdateMerchantOutput: z.ZodObject<{
|
|
|
17
17
|
merchant_name: z.ZodNullable<z.ZodString>;
|
|
18
18
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const shippoUpdateMerchant: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
email: string;
|
|
23
23
|
last_name: string;
|
|
@@ -25,7 +25,19 @@ declare const shippoUpdateMerchant: import("@keystrokehq/action").WorkflowAction
|
|
|
25
25
|
merchant_id: string;
|
|
26
26
|
merchant_name: string;
|
|
27
27
|
shippo_api_version?: string | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
accessToken: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>;
|
|
29
41
|
//#endregion
|
|
30
42
|
export { shippoUpdateMerchant };
|
|
31
43
|
//# sourceMappingURL=update-merchant.d.cts.map
|
|
@@ -17,7 +17,7 @@ declare const ShippoUpdateMerchantOutput: z.ZodObject<{
|
|
|
17
17
|
merchant_name: z.ZodNullable<z.ZodString>;
|
|
18
18
|
object_created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
object_updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const shippoUpdateMerchant: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
email: string;
|
|
23
23
|
last_name: string;
|
|
@@ -25,7 +25,19 @@ declare const shippoUpdateMerchant: import("@keystrokehq/action").WorkflowAction
|
|
|
25
25
|
merchant_id: string;
|
|
26
26
|
merchant_name: string;
|
|
27
27
|
shippo_api_version?: string | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shippo", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
accessToken: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>;
|
|
29
41
|
//#endregion
|
|
30
42
|
export { shippoUpdateMerchant };
|
|
31
43
|
//# sourceMappingURL=update-merchant.d.mts.map
|
|
@@ -20,7 +20,7 @@ const shippoUpdateMerchant = action("SHIPPO_UPDATE_MERCHANT", {
|
|
|
20
20
|
merchant_name: z.string().describe("The merchant's business/company name.").nullable(),
|
|
21
21
|
object_created: z.string().describe("Timestamp when the merchant object was created (ISO 8601 format).").nullable().optional(),
|
|
22
22
|
object_updated: z.string().describe("Timestamp when the merchant object was last updated (ISO 8601 format).").nullable().optional()
|
|
23
|
-
}).describe("Response model containing the updated merchant details.")
|
|
23
|
+
}).passthrough().describe("Response model containing the updated merchant details.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { shippoUpdateMerchant };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-merchant.mjs","names":[],"sources":["../../src/actions/update-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantInput = z.object({\n email: z.string().describe(\"The merchant's email address. This field is required.\"),\n last_name: z.string().describe(\"The merchant's last name. This field is required.\"),\n first_name: z.string().describe(\"The merchant's first name. This field is required.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant to update (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n merchant_name: z.string().describe(\"The merchant's business/company name. This field is required.\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantOutput = z.object({\n email: z.string().describe(\"The merchant's email address.\").nullable(),\n last_name: z.string().describe(\"The merchant's last name.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this merchant object.\").nullable().optional(),\n first_name: z.string().describe(\"The merchant's first name.\").nullable(),\n merchant_name: z.string().describe(\"The merchant's business/company name.\").nullable(),\n object_created: z.string().describe(\"Timestamp when the merchant object was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the merchant object was last updated (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Response model containing the updated merchant details.\");\n\nexport const shippoUpdateMerchant = action(\"SHIPPO_UPDATE_MERCHANT\", {\n slug: \"shippo-update-merchant\",\n name: \"Update Merchant\",\n description: \"Tool to update an existing merchant in Shippo Platform API. Use when you need to modify merchant details such as name, email, or business information. This action requires Platform API authentication.\",\n input: ShippoUpdateMerchantInput,\n output: ShippoUpdateMerchantOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAClH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAClG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,yEAeH;CACP,QAfwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACvE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-merchant.mjs","names":[],"sources":["../../src/actions/update-merchant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShippoUpdateMerchantInput = z.object({\n email: z.string().describe(\"The merchant's email address. This field is required.\"),\n last_name: z.string().describe(\"The merchant's last name. This field is required.\"),\n first_name: z.string().describe(\"The merchant's first name. This field is required.\"),\n merchant_id: z.string().describe(\"Object ID of the merchant to update (e.g., '5d23a7d95cef472fbdf4758dd7564f48').\"),\n merchant_name: z.string().describe(\"The merchant's business/company name. This field is required.\"),\n shippo_api_version: z.string().describe(\"Optional string to specify a non-default API version to use for this request.\").optional(),\n}).describe(\"Request model for updating an existing merchant in Shippo Platform API.\");\nexport const ShippoUpdateMerchantOutput = z.object({\n email: z.string().describe(\"The merchant's email address.\").nullable(),\n last_name: z.string().describe(\"The merchant's last name.\").nullable(),\n object_id: z.string().describe(\"Unique identifier for this merchant object.\").nullable().optional(),\n first_name: z.string().describe(\"The merchant's first name.\").nullable(),\n merchant_name: z.string().describe(\"The merchant's business/company name.\").nullable(),\n object_created: z.string().describe(\"Timestamp when the merchant object was created (ISO 8601 format).\").nullable().optional(),\n object_updated: z.string().describe(\"Timestamp when the merchant object was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated merchant details.\");\n\nexport const shippoUpdateMerchant = action(\"SHIPPO_UPDATE_MERCHANT\", {\n slug: \"shippo-update-merchant\",\n name: \"Update Merchant\",\n description: \"Tool to update an existing merchant in Shippo Platform API. Use when you need to modify merchant details such as name, email, or business information. This action requires Platform API authentication.\",\n input: ShippoUpdateMerchantInput,\n output: ShippoUpdateMerchantOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAClH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAClG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,yEAeH;CACP,QAfwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACvE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const ShippoUpdateServiceGroupInput = zod.z.object({
|
|
|
11
11
|
service_levels: zod.z.array(zod.z.object({
|
|
12
12
|
account_object_id: zod.z.string().describe("The carrier account object ID"),
|
|
13
13
|
service_level_token: zod.z.string().describe("The service level token identifying the shipping service")
|
|
14
|
-
}).describe("Service level configuration for a service group.")).describe("Array of service level configurations to associate with this group").optional(),
|
|
14
|
+
}).passthrough().describe("Service level configuration for a service group.")).describe("Array of service level configurations to associate with this group").optional(),
|
|
15
15
|
rate_adjustment: zod.z.number().int().describe("Rate adjustment value as percentage (e.g., 10 for 10% increase, -5 for 5% decrease)").optional(),
|
|
16
16
|
flat_rate_currency: zod.z.string().describe("Currency for the flat rate (ISO 4217 currency code)").optional(),
|
|
17
17
|
free_shipping_threshold_min: zod.z.string().describe("Minimum amount for free shipping threshold").optional(),
|
|
@@ -20,7 +20,7 @@ const ShippoUpdateServiceGroupInput = zod.z.object({
|
|
|
20
20
|
const ShippoUpdateServiceGroup_ServiceLevelResponseSchema = zod.z.object({
|
|
21
21
|
account_object_id: zod.z.string().describe("The carrier account object ID").nullable().optional(),
|
|
22
22
|
service_level_token: zod.z.string().describe("The service level token").nullable().optional()
|
|
23
|
-
}).describe("Service level in the response.");
|
|
23
|
+
}).passthrough().describe("Service level in the response.");
|
|
24
24
|
const ShippoUpdateServiceGroupOutput = zod.z.object({
|
|
25
25
|
name: zod.z.string().describe("Name of the service group").nullable(),
|
|
26
26
|
type: zod.z.string().describe("Type of service group").nullable(),
|
|
@@ -33,7 +33,7 @@ const ShippoUpdateServiceGroupOutput = zod.z.object({
|
|
|
33
33
|
flat_rate_currency: zod.z.string().describe("Flat rate currency").nullable().optional(),
|
|
34
34
|
free_shipping_threshold_min: zod.z.string().describe("Minimum amount for free shipping").nullable().optional(),
|
|
35
35
|
free_shipping_threshold_currency: zod.z.string().describe("Currency for free shipping threshold").nullable().optional()
|
|
36
|
-
}).describe("Response model after updating a service group.");
|
|
36
|
+
}).passthrough().describe("Response model after updating a service group.");
|
|
37
37
|
const shippoUpdateServiceGroup = require_action.action("SHIPPO_UPDATE_SERVICE_GROUP", {
|
|
38
38
|
slug: "shippo-update-service-group",
|
|
39
39
|
name: "Update Service Group",
|