@keystrokehq/shipengine 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-tag-to-shipment.cjs +1 -1
- package/dist/actions/add-tag-to-shipment.cjs.map +1 -1
- package/dist/actions/add-tag-to-shipment.d.cts +1 -1
- package/dist/actions/add-tag-to-shipment.d.mts +1 -1
- package/dist/actions/add-tag-to-shipment.mjs +1 -1
- package/dist/actions/add-tag-to-shipment.mjs.map +1 -1
- package/dist/actions/add-to-batch.cjs +1 -1
- package/dist/actions/add-to-batch.cjs.map +1 -1
- package/dist/actions/add-to-batch.d.cts +1 -1
- package/dist/actions/add-to-batch.d.mts +1 -1
- package/dist/actions/add-to-batch.mjs +1 -1
- package/dist/actions/add-to-batch.mjs.map +1 -1
- package/dist/actions/cancel-shipment.cjs +1 -1
- package/dist/actions/cancel-shipment.cjs.map +1 -1
- package/dist/actions/cancel-shipment.d.cts +1 -1
- package/dist/actions/cancel-shipment.d.mts +1 -1
- package/dist/actions/cancel-shipment.mjs +1 -1
- package/dist/actions/cancel-shipment.mjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.cjs +2 -2
- package/dist/actions/connect-ltl-carrier.cjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.d.cts +3 -3
- package/dist/actions/connect-ltl-carrier.d.mts +3 -3
- package/dist/actions/connect-ltl-carrier.mjs +2 -2
- package/dist/actions/connect-ltl-carrier.mjs.map +1 -1
- package/dist/actions/connect-shipsurance.cjs +1 -1
- package/dist/actions/connect-shipsurance.cjs.map +1 -1
- package/dist/actions/connect-shipsurance.d.cts +1 -1
- package/dist/actions/connect-shipsurance.d.cts.map +1 -1
- package/dist/actions/connect-shipsurance.d.mts +1 -1
- package/dist/actions/connect-shipsurance.d.mts.map +1 -1
- package/dist/actions/connect-shipsurance.mjs +1 -1
- package/dist/actions/connect-shipsurance.mjs.map +1 -1
- package/dist/actions/create-account-image.cjs +1 -1
- package/dist/actions/create-account-image.cjs.map +1 -1
- package/dist/actions/create-account-image.d.cts +1 -1
- package/dist/actions/create-account-image.d.mts +1 -1
- package/dist/actions/create-account-image.mjs +1 -1
- package/dist/actions/create-account-image.mjs.map +1 -1
- package/dist/actions/create-package-type.cjs +2 -2
- package/dist/actions/create-package-type.cjs.map +1 -1
- package/dist/actions/create-package-type.d.cts +2 -2
- package/dist/actions/create-package-type.d.mts +2 -2
- package/dist/actions/create-package-type.mjs +2 -2
- package/dist/actions/create-package-type.mjs.map +1 -1
- package/dist/actions/create-tag.cjs +1 -1
- package/dist/actions/create-tag.cjs.map +1 -1
- package/dist/actions/create-tag.d.cts +1 -1
- package/dist/actions/create-tag.d.mts +1 -1
- package/dist/actions/create-tag.mjs +1 -1
- package/dist/actions/create-tag.mjs.map +1 -1
- package/dist/actions/create-tag2.cjs +1 -1
- package/dist/actions/create-tag2.cjs.map +1 -1
- package/dist/actions/create-tag2.d.cts +1 -1
- package/dist/actions/create-tag2.d.mts +1 -1
- package/dist/actions/create-tag2.mjs +1 -1
- package/dist/actions/create-tag2.mjs.map +1 -1
- package/dist/actions/create-warehouse.cjs +2 -2
- package/dist/actions/create-warehouse.cjs.map +1 -1
- package/dist/actions/create-warehouse.d.cts +9 -9
- package/dist/actions/create-warehouse.d.mts +9 -9
- package/dist/actions/create-warehouse.mjs +2 -2
- package/dist/actions/create-warehouse.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +2 -2
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +2 -2
- package/dist/actions/create-webhook.d.mts +2 -2
- package/dist/actions/create-webhook.mjs +2 -2
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-account-image-by-id.cjs +1 -1
- package/dist/actions/delete-account-image-by-id.cjs.map +1 -1
- package/dist/actions/delete-account-image-by-id.d.cts +1 -1
- package/dist/actions/delete-account-image-by-id.d.mts +1 -1
- package/dist/actions/delete-account-image-by-id.mjs +1 -1
- package/dist/actions/delete-account-image-by-id.mjs.map +1 -1
- package/dist/actions/delete-batch.cjs +1 -1
- package/dist/actions/delete-batch.cjs.map +1 -1
- package/dist/actions/delete-batch.d.cts +1 -1
- package/dist/actions/delete-batch.d.mts +1 -1
- package/dist/actions/delete-batch.mjs +1 -1
- package/dist/actions/delete-batch.mjs.map +1 -1
- package/dist/actions/delete-package.cjs +1 -1
- package/dist/actions/delete-package.cjs.map +1 -1
- package/dist/actions/delete-package.d.cts +1 -1
- package/dist/actions/delete-package.d.mts +1 -1
- package/dist/actions/delete-package.mjs +1 -1
- package/dist/actions/delete-package.mjs.map +1 -1
- package/dist/actions/delete-warehouse.cjs +1 -1
- package/dist/actions/delete-warehouse.cjs.map +1 -1
- package/dist/actions/delete-warehouse.d.cts +1 -1
- package/dist/actions/delete-warehouse.d.mts +1 -1
- package/dist/actions/delete-warehouse.mjs +1 -1
- package/dist/actions/delete-warehouse.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/disconnect-carrier.cjs +1 -1
- package/dist/actions/disconnect-carrier.cjs.map +1 -1
- package/dist/actions/disconnect-carrier.d.cts +1 -1
- package/dist/actions/disconnect-carrier.d.mts +1 -1
- package/dist/actions/disconnect-carrier.mjs +1 -1
- package/dist/actions/disconnect-carrier.mjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.cjs +1 -1
- package/dist/actions/disconnect-shipsurance.cjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.d.cts +1 -1
- package/dist/actions/disconnect-shipsurance.d.cts.map +1 -1
- package/dist/actions/disconnect-shipsurance.d.mts +1 -1
- package/dist/actions/disconnect-shipsurance.d.mts.map +1 -1
- package/dist/actions/disconnect-shipsurance.mjs +1 -1
- package/dist/actions/disconnect-shipsurance.mjs.map +1 -1
- package/dist/actions/download-file.cjs +2 -2
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +2 -2
- package/dist/actions/download-file.d.mts +2 -2
- package/dist/actions/download-file.mjs +2 -2
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/get-account-image-by-id.cjs +1 -1
- package/dist/actions/get-account-image-by-id.cjs.map +1 -1
- package/dist/actions/get-account-image-by-id.d.cts +1 -1
- package/dist/actions/get-account-image-by-id.d.mts +1 -1
- package/dist/actions/get-account-image-by-id.mjs +1 -1
- package/dist/actions/get-account-image-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-external-id.cjs +8 -8
- package/dist/actions/get-batch-by-external-id.cjs.map +1 -1
- package/dist/actions/get-batch-by-external-id.d.cts +8 -8
- package/dist/actions/get-batch-by-external-id.d.mts +8 -8
- package/dist/actions/get-batch-by-external-id.mjs +8 -8
- package/dist/actions/get-batch-by-external-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-id.cjs +4 -4
- package/dist/actions/get-batch-by-id.cjs.map +1 -1
- package/dist/actions/get-batch-by-id.d.cts +8 -8
- package/dist/actions/get-batch-by-id.d.mts +8 -8
- package/dist/actions/get-batch-by-id.mjs +4 -4
- package/dist/actions/get-batch-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-errors.cjs +4 -4
- package/dist/actions/get-batch-errors.cjs.map +1 -1
- package/dist/actions/get-batch-errors.d.cts +7 -7
- package/dist/actions/get-batch-errors.d.mts +7 -7
- package/dist/actions/get-batch-errors.mjs +4 -4
- package/dist/actions/get-batch-errors.mjs.map +1 -1
- package/dist/actions/get-bulk-rates.cjs +7 -7
- package/dist/actions/get-bulk-rates.cjs.map +1 -1
- package/dist/actions/get-bulk-rates.d.cts +11 -9
- package/dist/actions/get-bulk-rates.d.cts.map +1 -1
- package/dist/actions/get-bulk-rates.d.mts +11 -9
- package/dist/actions/get-bulk-rates.d.mts.map +1 -1
- package/dist/actions/get-bulk-rates.mjs +7 -7
- package/dist/actions/get-bulk-rates.mjs.map +1 -1
- package/dist/actions/get-insurance-balance.cjs +2 -2
- package/dist/actions/get-insurance-balance.cjs.map +1 -1
- package/dist/actions/get-insurance-balance.d.cts +2 -2
- package/dist/actions/get-insurance-balance.d.mts +2 -2
- package/dist/actions/get-insurance-balance.mjs +2 -2
- package/dist/actions/get-insurance-balance.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.cjs +2 -2
- package/dist/actions/get-ltl-carrier-credential-requirements.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.d.cts +2 -2
- package/dist/actions/get-ltl-carrier-credential-requirements.d.mts +2 -2
- package/dist/actions/get-ltl-carrier-credential-requirements.mjs +2 -2
- package/dist/actions/get-ltl-carrier-credential-requirements.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.cjs +1 -1
- package/dist/actions/get-ltl-carrier-features.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.d.cts +1 -1
- package/dist/actions/get-ltl-carrier-features.d.mts +1 -1
- package/dist/actions/get-ltl-carrier-features.mjs +1 -1
- package/dist/actions/get-ltl-carrier-features.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.cjs +3 -3
- package/dist/actions/get-ltl-carrier-options.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.d.cts +3 -3
- package/dist/actions/get-ltl-carrier-options.d.mts +3 -3
- package/dist/actions/get-ltl-carrier-options.mjs +3 -3
- package/dist/actions/get-ltl-carrier-options.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.cjs +2 -2
- package/dist/actions/get-ltl-carrier-packages.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.d.cts +2 -2
- package/dist/actions/get-ltl-carrier-packages.d.mts +2 -2
- package/dist/actions/get-ltl-carrier-packages.mjs +2 -2
- package/dist/actions/get-ltl-carrier-packages.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.cjs +2 -2
- package/dist/actions/get-ltl-carrier-services.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.d.cts +2 -2
- package/dist/actions/get-ltl-carrier-services.d.mts +2 -2
- package/dist/actions/get-ltl-carrier-services.mjs +2 -2
- package/dist/actions/get-ltl-carrier-services.mjs.map +1 -1
- package/dist/actions/get-package-by-id.cjs +2 -2
- package/dist/actions/get-package-by-id.cjs.map +1 -1
- package/dist/actions/get-package-by-id.d.cts +2 -2
- package/dist/actions/get-package-by-id.d.mts +2 -2
- package/dist/actions/get-package-by-id.mjs +2 -2
- package/dist/actions/get-package-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-external-id.cjs +9 -9
- package/dist/actions/get-shipment-by-external-id.cjs.map +1 -1
- package/dist/actions/get-shipment-by-external-id.d.cts +13 -13
- package/dist/actions/get-shipment-by-external-id.d.mts +13 -13
- package/dist/actions/get-shipment-by-external-id.mjs +9 -9
- package/dist/actions/get-shipment-by-external-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-id.cjs +9 -9
- package/dist/actions/get-shipment-by-id.cjs.map +1 -1
- package/dist/actions/get-shipment-by-id.d.cts +15 -15
- package/dist/actions/get-shipment-by-id.d.mts +15 -15
- package/dist/actions/get-shipment-by-id.mjs +9 -9
- package/dist/actions/get-shipment-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-rates.cjs +4 -4
- package/dist/actions/get-shipment-rates.cjs.map +1 -1
- package/dist/actions/get-shipment-rates.d.cts +14 -14
- package/dist/actions/get-shipment-rates.d.mts +14 -14
- package/dist/actions/get-shipment-rates.mjs +4 -4
- package/dist/actions/get-shipment-rates.mjs.map +1 -1
- package/dist/actions/get-tracking-info.cjs +2 -2
- package/dist/actions/get-tracking-info.cjs.map +1 -1
- package/dist/actions/get-tracking-info.d.cts +2 -2
- package/dist/actions/get-tracking-info.d.mts +2 -2
- package/dist/actions/get-tracking-info.mjs +2 -2
- package/dist/actions/get-tracking-info.mjs.map +1 -1
- package/dist/actions/get-warehouse-by-id.cjs +2 -2
- package/dist/actions/get-warehouse-by-id.cjs.map +1 -1
- package/dist/actions/get-warehouse-by-id.d.cts +5 -5
- package/dist/actions/get-warehouse-by-id.d.mts +5 -5
- package/dist/actions/get-warehouse-by-id.mjs +2 -2
- package/dist/actions/get-warehouse-by-id.mjs.map +1 -1
- package/dist/actions/get-webhook-by-id.cjs +2 -2
- package/dist/actions/get-webhook-by-id.cjs.map +1 -1
- package/dist/actions/get-webhook-by-id.d.cts +2 -2
- package/dist/actions/get-webhook-by-id.d.mts +2 -2
- package/dist/actions/get-webhook-by-id.mjs +2 -2
- package/dist/actions/get-webhook-by-id.mjs.map +1 -1
- package/dist/actions/list-account-images.cjs +2 -2
- package/dist/actions/list-account-images.cjs.map +1 -1
- package/dist/actions/list-account-images.d.cts +2 -2
- package/dist/actions/list-account-images.d.mts +2 -2
- package/dist/actions/list-account-images.mjs +2 -2
- package/dist/actions/list-account-images.mjs.map +1 -1
- package/dist/actions/list-batches2.cjs +3 -3
- package/dist/actions/list-batches2.cjs.map +1 -1
- package/dist/actions/list-batches2.d.cts +3 -3
- package/dist/actions/list-batches2.d.mts +3 -3
- package/dist/actions/list-batches2.mjs +3 -3
- package/dist/actions/list-batches2.mjs.map +1 -1
- package/dist/actions/list-carrier-package-types.cjs +3 -3
- package/dist/actions/list-carrier-package-types.cjs.map +1 -1
- package/dist/actions/list-carrier-package-types.d.cts +3 -3
- package/dist/actions/list-carrier-package-types.d.mts +3 -3
- package/dist/actions/list-carrier-package-types.mjs +3 -3
- package/dist/actions/list-carrier-package-types.mjs.map +1 -1
- package/dist/actions/list-labels2.cjs +9 -9
- package/dist/actions/list-labels2.cjs.map +1 -1
- package/dist/actions/list-labels2.d.cts +20 -20
- package/dist/actions/list-labels2.d.mts +20 -20
- package/dist/actions/list-labels2.mjs +9 -9
- package/dist/actions/list-labels2.mjs.map +1 -1
- package/dist/actions/list-ltl-carriers.cjs +5 -5
- package/dist/actions/list-ltl-carriers.cjs.map +1 -1
- package/dist/actions/list-ltl-carriers.d.cts +5 -5
- package/dist/actions/list-ltl-carriers.d.mts +5 -5
- package/dist/actions/list-ltl-carriers.mjs +5 -5
- package/dist/actions/list-ltl-carriers.mjs.map +1 -1
- package/dist/actions/list-manifests2.cjs +5 -5
- package/dist/actions/list-manifests2.cjs.map +1 -1
- package/dist/actions/list-manifests2.d.cts +8 -8
- package/dist/actions/list-manifests2.d.mts +8 -8
- package/dist/actions/list-manifests2.mjs +5 -5
- package/dist/actions/list-manifests2.mjs.map +1 -1
- package/dist/actions/list-packages.cjs +4 -4
- package/dist/actions/list-packages.cjs.map +1 -1
- package/dist/actions/list-packages.d.cts +4 -4
- package/dist/actions/list-packages.d.mts +4 -4
- package/dist/actions/list-packages.mjs +4 -4
- package/dist/actions/list-packages.mjs.map +1 -1
- package/dist/actions/list-pickups.cjs +7 -7
- package/dist/actions/list-pickups.cjs.map +1 -1
- package/dist/actions/list-pickups.d.cts +10 -10
- package/dist/actions/list-pickups.d.mts +10 -10
- package/dist/actions/list-pickups.mjs +7 -7
- package/dist/actions/list-pickups.mjs.map +1 -1
- package/dist/actions/list-shipments2.cjs +10 -10
- package/dist/actions/list-shipments2.cjs.map +1 -1
- package/dist/actions/list-shipments2.d.cts +14 -14
- package/dist/actions/list-shipments2.d.mts +14 -14
- package/dist/actions/list-shipments2.mjs +10 -10
- package/dist/actions/list-shipments2.mjs.map +1 -1
- package/dist/actions/list-tags2.cjs +2 -2
- package/dist/actions/list-tags2.cjs.map +1 -1
- package/dist/actions/list-tags2.d.cts +2 -2
- package/dist/actions/list-tags2.d.mts +2 -2
- package/dist/actions/list-tags2.mjs +2 -2
- package/dist/actions/list-tags2.mjs.map +1 -1
- package/dist/actions/list-warehouses.cjs +3 -3
- package/dist/actions/list-warehouses.cjs.map +1 -1
- package/dist/actions/list-warehouses.d.cts +4 -4
- package/dist/actions/list-warehouses.d.mts +4 -4
- package/dist/actions/list-warehouses.mjs +3 -3
- package/dist/actions/list-warehouses.mjs.map +1 -1
- package/dist/actions/list-webhook-events.cjs +2 -2
- package/dist/actions/list-webhook-events.cjs.map +1 -1
- package/dist/actions/list-webhook-events.d.cts +2 -2
- package/dist/actions/list-webhook-events.d.mts +2 -2
- package/dist/actions/list-webhook-events.mjs +2 -2
- package/dist/actions/list-webhook-events.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +3 -3
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -3
- package/dist/actions/list-webhooks.d.mts +3 -3
- package/dist/actions/list-webhooks.mjs +3 -3
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/parse-address.cjs +3 -3
- package/dist/actions/parse-address.cjs.map +1 -1
- package/dist/actions/parse-address.d.cts +3 -3
- package/dist/actions/parse-address.d.mts +3 -3
- package/dist/actions/parse-address.mjs +3 -3
- package/dist/actions/parse-address.mjs.map +1 -1
- package/dist/actions/process-batch-labels.cjs +1 -1
- package/dist/actions/process-batch-labels.cjs.map +1 -1
- package/dist/actions/process-batch-labels.d.cts +1 -1
- package/dist/actions/process-batch-labels.d.mts +1 -1
- package/dist/actions/process-batch-labels.mjs +1 -1
- package/dist/actions/process-batch-labels.mjs.map +1 -1
- package/dist/actions/remove-from-batch.cjs +1 -1
- package/dist/actions/remove-from-batch.cjs.map +1 -1
- package/dist/actions/remove-from-batch.d.cts +1 -1
- package/dist/actions/remove-from-batch.d.mts +1 -1
- package/dist/actions/remove-from-batch.mjs +1 -1
- package/dist/actions/remove-from-batch.mjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.cjs +1 -1
- package/dist/actions/remove-tag-from-shipment.cjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.d.cts +1 -1
- package/dist/actions/remove-tag-from-shipment.d.mts +1 -1
- package/dist/actions/remove-tag-from-shipment.mjs +1 -1
- package/dist/actions/remove-tag-from-shipment.mjs.map +1 -1
- package/dist/actions/start-tracking.cjs +1 -1
- package/dist/actions/start-tracking.cjs.map +1 -1
- package/dist/actions/start-tracking.d.cts +1 -1
- package/dist/actions/start-tracking.d.mts +1 -1
- package/dist/actions/start-tracking.mjs +1 -1
- package/dist/actions/start-tracking.mjs.map +1 -1
- package/dist/actions/stop-tracking.cjs +1 -1
- package/dist/actions/stop-tracking.cjs.map +1 -1
- package/dist/actions/stop-tracking.d.cts +1 -1
- package/dist/actions/stop-tracking.d.mts +1 -1
- package/dist/actions/stop-tracking.mjs +1 -1
- package/dist/actions/stop-tracking.mjs.map +1 -1
- package/dist/actions/track-ltl-shipment.cjs +2 -2
- package/dist/actions/track-ltl-shipment.cjs.map +1 -1
- package/dist/actions/track-ltl-shipment.d.cts +2 -2
- package/dist/actions/track-ltl-shipment.d.mts +2 -2
- package/dist/actions/track-ltl-shipment.mjs +2 -2
- package/dist/actions/track-ltl-shipment.mjs.map +1 -1
- package/dist/actions/update-account-image-by-id.cjs +1 -1
- package/dist/actions/update-account-image-by-id.cjs.map +1 -1
- package/dist/actions/update-account-image-by-id.d.cts +1 -1
- package/dist/actions/update-account-image-by-id.d.mts +1 -1
- package/dist/actions/update-account-image-by-id.mjs +1 -1
- package/dist/actions/update-account-image-by-id.mjs.map +1 -1
- package/dist/actions/update-ltl-connection.cjs +2 -2
- package/dist/actions/update-ltl-connection.cjs.map +1 -1
- package/dist/actions/update-ltl-connection.d.cts +3 -3
- package/dist/actions/update-ltl-connection.d.mts +3 -3
- package/dist/actions/update-ltl-connection.mjs +2 -2
- package/dist/actions/update-ltl-connection.mjs.map +1 -1
- package/dist/actions/update-package.cjs +1 -1
- package/dist/actions/update-package.cjs.map +1 -1
- package/dist/actions/update-package.d.cts +1 -1
- package/dist/actions/update-package.d.mts +1 -1
- package/dist/actions/update-package.mjs +1 -1
- package/dist/actions/update-package.mjs.map +1 -1
- package/dist/actions/update-shipment.cjs +15 -15
- package/dist/actions/update-shipment.cjs.map +1 -1
- package/dist/actions/update-shipment.d.cts +35 -32
- package/dist/actions/update-shipment.d.cts.map +1 -1
- package/dist/actions/update-shipment.d.mts +35 -32
- package/dist/actions/update-shipment.d.mts.map +1 -1
- package/dist/actions/update-shipment.mjs +15 -15
- package/dist/actions/update-shipment.mjs.map +1 -1
- package/dist/actions/update-shipments-tags.cjs +2 -2
- package/dist/actions/update-shipments-tags.cjs.map +1 -1
- package/dist/actions/update-shipments-tags.d.cts +3 -2
- package/dist/actions/update-shipments-tags.d.mts +3 -2
- package/dist/actions/update-shipments-tags.mjs +2 -2
- package/dist/actions/update-shipments-tags.mjs.map +1 -1
- package/dist/actions/update-warehouse.cjs +1 -1
- package/dist/actions/update-warehouse.cjs.map +1 -1
- package/dist/actions/update-warehouse.d.cts +5 -5
- package/dist/actions/update-warehouse.d.mts +5 -5
- package/dist/actions/update-warehouse.mjs +1 -1
- package/dist/actions/update-warehouse.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +2 -2
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -2
- package/dist/actions/update-webhook.d.mts +3 -2
- package/dist/actions/update-webhook.mjs +2 -2
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/validate-address.cjs +5 -5
- package/dist/actions/validate-address.cjs.map +1 -1
- package/dist/actions/validate-address.d.cts +12 -11
- package/dist/actions/validate-address.d.mts +12 -11
- package/dist/actions/validate-address.mjs +5 -5
- package/dist/actions/validate-address.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ declare const ShipengineGetLtlCarrierFeaturesOutput: z.ZodObject<{
|
|
|
14
14
|
spot_quote: "spot_quote";
|
|
15
15
|
tracking: "tracking";
|
|
16
16
|
}>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const shipengineGetLtlCarrierFeatures: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
carrier_code: string;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -16,7 +16,7 @@ const shipengineGetLtlCarrierFeatures = action("SHIPENGINE_GET_LTL_CARRIER_FEATU
|
|
|
16
16
|
name: "Get LTL Carrier Features",
|
|
17
17
|
description: "Tool to retrieve features supported by an LTL carrier. Use when you need to discover what capabilities (e.g., tracking, quotes, scheduled pickups) are available for a specific LTL carrier before creating shipments.",
|
|
18
18
|
input: ShipengineGetLtlCarrierFeaturesInput,
|
|
19
|
-
output: z.object({ features: z.array(ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema).describe("List of features supported by the carrier. Possible values: auto_pro (automatic PRO number generation), connect (can be connected programmatically), documents (document retrieval support), quote (contracted rate quotes), scheduled_pickup (electronic pickup scheduling), spot_quote (last-minute quotes), tracking (shipment tracking).") }).describe("Response containing features supported by an LTL carrier.")
|
|
19
|
+
output: z.object({ features: z.array(ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema).describe("List of features supported by the carrier. Possible values: auto_pro (automatic PRO number generation), connect (can be connected programmatically), documents (document retrieval support), quote (contracted rate quotes), scheduled_pickup (electronic pickup scheduling), spot_quote (last-minute quotes), tracking (shipment tracking).") }).passthrough().describe("Response containing features supported by an LTL carrier.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { shipengineGetLtlCarrierFeatures };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ltl-carrier-features.mjs","names":[],"sources":["../../src/actions/get-ltl-carrier-features.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierFeaturesInput = z.object({\n carrier_code: z.string().describe(\"The Standard Carrier Alpha Code (SCAC) identifying the LTL carrier. Examples: 'fxfr' (FedEx Freight), 'fwdn' (Forward Air), 'midw' (Midwest Motor Express), 'aact' (AAA Cooper Transportation). For testing, use: 'TEST' (success), 'WARN' (warnings), 'FAIL' (errors).\"),\n}).describe(\"Request parameters for retrieving features supported by an LTL carrier.\");\nconst ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema = z.enum([\"auto_pro\", \"connect\", \"documents\", \"quote\", \"scheduled_pickup\", \"spot_quote\", \"tracking\"]).describe(\"Types of features that an LTL carrier may support.\");\nexport const ShipengineGetLtlCarrierFeaturesOutput = z.object({\n features: z.array(ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema).describe(\"List of features supported by the carrier. Possible values: auto_pro (automatic PRO number generation), connect (can be connected programmatically), documents (document retrieval support), quote (contracted rate quotes), scheduled_pickup (electronic pickup scheduling), spot_quote (last-minute quotes), tracking (shipment tracking).\"),\n}).describe(\"Response containing features supported by an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierFeatures = action(\"SHIPENGINE_GET_LTL_CARRIER_FEATURES\", {\n slug: \"shipengine-get-ltl-carrier-features\",\n name: \"Get LTL Carrier Features\",\n description: \"Tool to retrieve features supported by an LTL carrier. Use when you need to discover what capabilities (e.g., tracking, quotes, scheduled pickups) are available for a specific LTL carrier before creating shipments.\",\n input: ShipengineGetLtlCarrierFeaturesInput,\n output: ShipengineGetLtlCarrierFeaturesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yQAAyQ,EAC7S,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,uDAAuD,EAAE,KAAK;CAAC;CAAY;CAAW;CAAa;CAAS;CAAoB;CAAc;AAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAK9N,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,UAAU,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,8UAA8U,EACja,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-ltl-carrier-features.mjs","names":[],"sources":["../../src/actions/get-ltl-carrier-features.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierFeaturesInput = z.object({\n carrier_code: z.string().describe(\"The Standard Carrier Alpha Code (SCAC) identifying the LTL carrier. Examples: 'fxfr' (FedEx Freight), 'fwdn' (Forward Air), 'midw' (Midwest Motor Express), 'aact' (AAA Cooper Transportation). For testing, use: 'TEST' (success), 'WARN' (warnings), 'FAIL' (errors).\"),\n}).describe(\"Request parameters for retrieving features supported by an LTL carrier.\");\nconst ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema = z.enum([\"auto_pro\", \"connect\", \"documents\", \"quote\", \"scheduled_pickup\", \"spot_quote\", \"tracking\"]).describe(\"Types of features that an LTL carrier may support.\");\nexport const ShipengineGetLtlCarrierFeaturesOutput = z.object({\n features: z.array(ShipengineGetLtlCarrierFeatures_LtlFeatureTypeSchema).describe(\"List of features supported by the carrier. Possible values: auto_pro (automatic PRO number generation), connect (can be connected programmatically), documents (document retrieval support), quote (contracted rate quotes), scheduled_pickup (electronic pickup scheduling), spot_quote (last-minute quotes), tracking (shipment tracking).\"),\n}).passthrough().describe(\"Response containing features supported by an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierFeatures = action(\"SHIPENGINE_GET_LTL_CARRIER_FEATURES\", {\n slug: \"shipengine-get-ltl-carrier-features\",\n name: \"Get LTL Carrier Features\",\n description: \"Tool to retrieve features supported by an LTL carrier. Use when you need to discover what capabilities (e.g., tracking, quotes, scheduled pickups) are available for a specific LTL carrier before creating shipments.\",\n input: ShipengineGetLtlCarrierFeaturesInput,\n output: ShipengineGetLtlCarrierFeaturesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yQAAyQ,EAC7S,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,uDAAuD,EAAE,KAAK;CAAC;CAAY;CAAW;CAAa;CAAS;CAAoB;CAAc;AAAU,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAK9N,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,UAAU,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,8UAA8U,EACja,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -5,14 +5,14 @@ const ShipengineGetLtlCarrierOptionsInput = zod.z.object({ carrier_id: zod.z.str
|
|
|
5
5
|
const ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema = zod.z.object({
|
|
6
6
|
name: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
|
|
7
7
|
phone: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional()
|
|
8
|
-
}).describe("Additional attributes required for a specific LTL option.");
|
|
8
|
+
}).passthrough().describe("Additional attributes required for a specific LTL option.");
|
|
9
9
|
const ShipengineGetLtlCarrierOptions_LtlOptionSchema = zod.z.object({
|
|
10
10
|
code: zod.z.string().describe("Accessorial service code (e.g., 'haz', 'ipu', 'lftp', 'rep').").nullable().optional(),
|
|
11
11
|
name: zod.z.string().describe("Human-readable name of the accessorial service.").nullable().optional(),
|
|
12
12
|
features: zod.z.array(zod.z.string()).describe("List of features where this option is supported (e.g., 'quote', 'spot_quote', 'scheduled_pickup').").nullable().optional(),
|
|
13
13
|
attributes: ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema.nullable().optional()
|
|
14
|
-
}).describe("Details about an LTL carrier option/accessorial service.");
|
|
15
|
-
const ShipengineGetLtlCarrierOptionsOutput = zod.z.object({ options: zod.z.array(ShipengineGetLtlCarrierOptions_LtlOptionSchema).describe("List of available LTL accessorial services for this carrier.") }).describe("Response containing available LTL options/accessorials for a carrier.");
|
|
14
|
+
}).passthrough().describe("Details about an LTL carrier option/accessorial service.");
|
|
15
|
+
const ShipengineGetLtlCarrierOptionsOutput = zod.z.object({ options: zod.z.array(ShipengineGetLtlCarrierOptions_LtlOptionSchema).describe("List of available LTL accessorial services for this carrier.") }).passthrough().describe("Response containing available LTL options/accessorials for a carrier.");
|
|
16
16
|
const shipengineGetLtlCarrierOptions = require_action.action("SHIPENGINE_GET_LTL_CARRIER_OPTIONS", {
|
|
17
17
|
slug: "shipengine-get-ltl-carrier-options",
|
|
18
18
|
name: "Get LTL Carrier Options",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ltl-carrier-options.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierOptionsInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier (UUID) of the LTL carrier account. Can be obtained by listing LTL carriers or connecting a carrier account.\"),\n}).describe(\"Request parameters for retrieving available LTL carrier options/accessorials.\");\nconst ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema = z.object({\n name: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n phone: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n}).describe(\"Additional attributes required for a specific LTL option.\");\nconst ShipengineGetLtlCarrierOptions_LtlOptionSchema = z.object({\n code: z.string().describe(\"Accessorial service code (e.g., 'haz', 'ipu', 'lftp', 'rep').\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the accessorial service.\").nullable().optional(),\n features: z.array(z.string()).describe(\"List of features where this option is supported (e.g., 'quote', 'spot_quote', 'scheduled_pickup').\").nullable().optional(),\n attributes: ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema.nullable().optional(),\n}).describe(\"Details about an LTL carrier option/accessorial service.\");\nexport const ShipengineGetLtlCarrierOptionsOutput = z.object({\n options: z.array(ShipengineGetLtlCarrierOptions_LtlOptionSchema).describe(\"List of available LTL accessorial services for this carrier.\"),\n}).describe(\"Response containing available LTL options/accessorials for a carrier.\");\n\nexport const shipengineGetLtlCarrierOptions = action(\"SHIPENGINE_GET_LTL_CARRIER_OPTIONS\", {\n slug: \"shipengine-get-ltl-carrier-options\",\n name: \"Get LTL Carrier Options\",\n description: \"Tool to list available options/accessorials for an LTL carrier. Use when you need to discover what accessorial services (e.g., hazardous material, inside pickup, lift gate) are available for a specific LTL carrier connection.\",\n input: ShipengineGetLtlCarrierOptionsInput,\n output: ShipengineGetLtlCarrierOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,EACrK,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"get-ltl-carrier-options.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierOptionsInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier (UUID) of the LTL carrier account. Can be obtained by listing LTL carriers or connecting a carrier account.\"),\n}).describe(\"Request parameters for retrieving available LTL carrier options/accessorials.\");\nconst ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema = z.object({\n name: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n phone: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Additional attributes required for a specific LTL option.\");\nconst ShipengineGetLtlCarrierOptions_LtlOptionSchema = z.object({\n code: z.string().describe(\"Accessorial service code (e.g., 'haz', 'ipu', 'lftp', 'rep').\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the accessorial service.\").nullable().optional(),\n features: z.array(z.string()).describe(\"List of features where this option is supported (e.g., 'quote', 'spot_quote', 'scheduled_pickup').\").nullable().optional(),\n attributes: ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Details about an LTL carrier option/accessorial service.\");\nexport const ShipengineGetLtlCarrierOptionsOutput = z.object({\n options: z.array(ShipengineGetLtlCarrierOptions_LtlOptionSchema).describe(\"List of available LTL accessorial services for this carrier.\"),\n}).passthrough().describe(\"Response containing available LTL options/accessorials for a carrier.\");\n\nexport const shipengineGetLtlCarrierOptions = action(\"SHIPENGINE_GET_LTL_CARRIER_OPTIONS\", {\n slug: \"shipengine-get-ltl-carrier-options\",\n name: \"Get LTL Carrier Options\",\n description: \"Tool to list available options/accessorials for an LTL carrier. Use when you need to discover what accessorial services (e.g., hazardous material, inside pickup, lift gate) are available for a specific LTL carrier connection.\",\n input: ShipengineGetLtlCarrierOptionsInput,\n output: ShipengineGetLtlCarrierOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,EACrK,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAA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ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
14
14
|
phone: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const shipengineGetLtlCarrierOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
carrier_id: string;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,9 +12,9 @@ declare const ShipengineGetLtlCarrierOptionsOutput: z.ZodObject<{
|
|
|
12
12
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
13
|
name: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
14
14
|
phone: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const shipengineGetLtlCarrierOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
carrier_id: string;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,19 +5,19 @@ const ShipengineGetLtlCarrierOptionsInput = z.object({ carrier_id: z.string().de
|
|
|
5
5
|
const ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema = z.object({
|
|
6
6
|
name: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),
|
|
7
7
|
phone: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional()
|
|
8
|
-
}).describe("Additional attributes required for a specific LTL option.");
|
|
8
|
+
}).passthrough().describe("Additional attributes required for a specific LTL option.");
|
|
9
9
|
const ShipengineGetLtlCarrierOptions_LtlOptionSchema = z.object({
|
|
10
10
|
code: z.string().describe("Accessorial service code (e.g., 'haz', 'ipu', 'lftp', 'rep').").nullable().optional(),
|
|
11
11
|
name: z.string().describe("Human-readable name of the accessorial service.").nullable().optional(),
|
|
12
12
|
features: z.array(z.string()).describe("List of features where this option is supported (e.g., 'quote', 'spot_quote', 'scheduled_pickup').").nullable().optional(),
|
|
13
13
|
attributes: ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema.nullable().optional()
|
|
14
|
-
}).describe("Details about an LTL carrier option/accessorial service.");
|
|
14
|
+
}).passthrough().describe("Details about an LTL carrier option/accessorial service.");
|
|
15
15
|
const shipengineGetLtlCarrierOptions = action("SHIPENGINE_GET_LTL_CARRIER_OPTIONS", {
|
|
16
16
|
slug: "shipengine-get-ltl-carrier-options",
|
|
17
17
|
name: "Get LTL Carrier Options",
|
|
18
18
|
description: "Tool to list available options/accessorials for an LTL carrier. Use when you need to discover what accessorial services (e.g., hazardous material, inside pickup, lift gate) are available for a specific LTL carrier connection.",
|
|
19
19
|
input: ShipengineGetLtlCarrierOptionsInput,
|
|
20
|
-
output: z.object({ options: z.array(ShipengineGetLtlCarrierOptions_LtlOptionSchema).describe("List of available LTL accessorial services for this carrier.") }).describe("Response containing available LTL options/accessorials for a carrier.")
|
|
20
|
+
output: z.object({ options: z.array(ShipengineGetLtlCarrierOptions_LtlOptionSchema).describe("List of available LTL accessorial services for this carrier.") }).passthrough().describe("Response containing available LTL options/accessorials for a carrier.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { shipengineGetLtlCarrierOptions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ltl-carrier-options.mjs","names":[],"sources":["../../src/actions/get-ltl-carrier-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierOptionsInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier (UUID) of the LTL carrier account. Can be obtained by listing LTL carriers or connecting a carrier account.\"),\n}).describe(\"Request parameters for retrieving available LTL carrier options/accessorials.\");\nconst ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema = z.object({\n name: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n phone: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n}).describe(\"Additional attributes required for a specific LTL option.\");\nconst ShipengineGetLtlCarrierOptions_LtlOptionSchema = z.object({\n code: z.string().describe(\"Accessorial service code (e.g., 'haz', 'ipu', 'lftp', 'rep').\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the accessorial service.\").nullable().optional(),\n features: z.array(z.string()).describe(\"List of features where this option is supported (e.g., 'quote', 'spot_quote', 'scheduled_pickup').\").nullable().optional(),\n attributes: ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema.nullable().optional(),\n}).describe(\"Details about an LTL carrier option/accessorial service.\");\nexport const ShipengineGetLtlCarrierOptionsOutput = z.object({\n options: z.array(ShipengineGetLtlCarrierOptions_LtlOptionSchema).describe(\"List of available LTL accessorial services for this carrier.\"),\n}).describe(\"Response containing available LTL options/accessorials for a carrier.\");\n\nexport const shipengineGetLtlCarrierOptions = action(\"SHIPENGINE_GET_LTL_CARRIER_OPTIONS\", {\n slug: \"shipengine-get-ltl-carrier-options\",\n name: \"Get LTL Carrier Options\",\n description: \"Tool to list available options/accessorials for an LTL carrier. Use when you need to discover what accessorial services (e.g., hazardous material, inside pickup, lift gate) are available for a specific LTL carrier connection.\",\n input: ShipengineGetLtlCarrierOptionsInput,\n output: ShipengineGetLtlCarrierOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,EACrK,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,2DAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"get-ltl-carrier-options.mjs","names":[],"sources":["../../src/actions/get-ltl-carrier-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierOptionsInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier (UUID) of the LTL carrier account. Can be obtained by listing LTL carriers or connecting a carrier account.\"),\n}).describe(\"Request parameters for retrieving available LTL carrier options/accessorials.\");\nconst ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema = z.object({\n name: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n phone: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Additional attributes required for a specific LTL option.\");\nconst ShipengineGetLtlCarrierOptions_LtlOptionSchema = z.object({\n code: z.string().describe(\"Accessorial service code (e.g., 'haz', 'ipu', 'lftp', 'rep').\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the accessorial service.\").nullable().optional(),\n features: z.array(z.string()).describe(\"List of features where this option is supported (e.g., 'quote', 'spot_quote', 'scheduled_pickup').\").nullable().optional(),\n attributes: ShipengineGetLtlCarrierOptions_LtlOptionAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Details about an LTL carrier option/accessorial service.\");\nexport const ShipengineGetLtlCarrierOptionsOutput = z.object({\n options: z.array(ShipengineGetLtlCarrierOptions_LtlOptionSchema).describe(\"List of available LTL accessorial services for this carrier.\"),\n}).passthrough().describe(\"Response containing available LTL options/accessorials for a carrier.\");\n\nexport const shipengineGetLtlCarrierOptions = action(\"SHIPENGINE_GET_LTL_CARRIER_OPTIONS\", {\n slug: \"shipengine-get-ltl-carrier-options\",\n name: \"Get LTL Carrier Options\",\n description: \"Tool to list available options/accessorials for an LTL carrier. Use when you need to discover what accessorial services (e.g., hazardous material, inside pickup, lift gate) are available for a specific LTL carrier connection.\",\n input: ShipengineGetLtlCarrierOptionsInput,\n output: ShipengineGetLtlCarrierOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,EACrK,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,2DAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,YAAY,yDAAyD,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAKpF,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8DAA8D,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema = zod.z.object({
|
|
|
6
6
|
code: zod.z.string().describe("Package type code (e.g., bag, pal, pcs, pkg, skd).").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Human-readable package type name.").nullable(),
|
|
8
8
|
features: zod.z.array(zod.z.string()).describe("Available features for this package type (e.g., quote, spot_quote, scheduled_pickup).").nullable().optional()
|
|
9
|
-
}).describe("Represents a package/handling unit type available for an LTL carrier.");
|
|
10
|
-
const ShipengineGetLtlCarrierPackagesOutput = zod.z.object({ packages: zod.z.array(ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema).describe("Array of package/handling unit types supported by the LTL carrier.") }).describe("Response containing the list of package/handling unit types available for an LTL carrier.");
|
|
9
|
+
}).passthrough().describe("Represents a package/handling unit type available for an LTL carrier.");
|
|
10
|
+
const ShipengineGetLtlCarrierPackagesOutput = zod.z.object({ packages: zod.z.array(ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema).describe("Array of package/handling unit types supported by the LTL carrier.") }).passthrough().describe("Response containing the list of package/handling unit types available for an LTL carrier.");
|
|
11
11
|
const shipengineGetLtlCarrierPackages = require_action.action("SHIPENGINE_GET_LTL_CARRIER_PACKAGES", {
|
|
12
12
|
slug: "shipengine-get-ltl-carrier-packages",
|
|
13
13
|
name: "Get LTL Carrier Packages",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ltl-carrier-packages.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-packages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierPackagesInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier for the LTL carrier. To test in sandbox, connect a TEST carrier using POST /v-beta/ltl/connections/TEST with body {\\\"credentials\\\":{}}\"),\n}).describe(\"Request parameters for listing available package/handling unit types for an LTL carrier.\");\nconst ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema = z.object({\n code: z.string().describe(\"Package type code (e.g., bag, pal, pcs, pkg, skd).\").nullable(),\n name: z.string().describe(\"Human-readable package type name.\").nullable(),\n features: z.array(z.string()).describe(\"Available features for this package type (e.g., quote, spot_quote, scheduled_pickup).\").nullable().optional(),\n}).describe(\"Represents a package/handling unit type available for an LTL carrier.\");\nexport const ShipengineGetLtlCarrierPackagesOutput = z.object({\n packages: z.array(ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema).describe(\"Array of package/handling unit types supported by the LTL carrier.\"),\n}).describe(\"Response containing the list of package/handling unit types available for an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierPackages = action(\"SHIPENGINE_GET_LTL_CARRIER_PACKAGES\", {\n slug: \"shipengine-get-ltl-carrier-packages\",\n name: \"Get LTL Carrier Packages\",\n description: \"Tool to list available package/handling unit types for an LTL (Less Than Truckload) carrier. Use when you need to find valid package codes for LTL freight shipments.\",\n input: ShipengineGetLtlCarrierPackagesInput,\n output: ShipengineGetLtlCarrierPackagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EAChM,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;
|
|
1
|
+
{"version":3,"file":"get-ltl-carrier-packages.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-packages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierPackagesInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier for the LTL carrier. To test in sandbox, connect a TEST carrier using POST /v-beta/ltl/connections/TEST with body {\\\"credentials\\\":{}}\"),\n}).describe(\"Request parameters for listing available package/handling unit types for an LTL carrier.\");\nconst ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema = z.object({\n code: z.string().describe(\"Package type code (e.g., bag, pal, pcs, pkg, skd).\").nullable(),\n name: z.string().describe(\"Human-readable package type name.\").nullable(),\n features: z.array(z.string()).describe(\"Available features for this package type (e.g., quote, spot_quote, scheduled_pickup).\").nullable().optional(),\n}).passthrough().describe(\"Represents a package/handling unit type available for an LTL carrier.\");\nexport const ShipengineGetLtlCarrierPackagesOutput = z.object({\n packages: z.array(ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema).describe(\"Array of package/handling unit types supported by the LTL carrier.\"),\n}).passthrough().describe(\"Response containing the list of package/handling unit types available for an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierPackages = action(\"SHIPENGINE_GET_LTL_CARRIER_PACKAGES\", {\n slug: \"shipengine-get-ltl-carrier-packages\",\n name: \"Get LTL Carrier Packages\",\n description: \"Tool to list available package/handling unit types for an LTL (Less Than Truckload) carrier. Use when you need to find valid package codes for LTL freight shipments.\",\n input: ShipengineGetLtlCarrierPackagesInput,\n output: ShipengineGetLtlCarrierPackagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EAChM,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AACjG,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,UAAUA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,oEAAoE,EACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAA2F;AAErH,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ declare const ShipengineGetLtlCarrierPackagesOutput: z.ZodObject<{
|
|
|
9
9
|
code: z.ZodNullable<z.ZodString>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
features: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const shipengineGetLtlCarrierPackages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
carrier_id: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,8 +9,8 @@ declare const ShipengineGetLtlCarrierPackagesOutput: z.ZodObject<{
|
|
|
9
9
|
code: z.ZodNullable<z.ZodString>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
features: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const shipengineGetLtlCarrierPackages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
carrier_id: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,13 +6,13 @@ const ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema = z.object({
|
|
|
6
6
|
code: z.string().describe("Package type code (e.g., bag, pal, pcs, pkg, skd).").nullable(),
|
|
7
7
|
name: z.string().describe("Human-readable package type name.").nullable(),
|
|
8
8
|
features: z.array(z.string()).describe("Available features for this package type (e.g., quote, spot_quote, scheduled_pickup).").nullable().optional()
|
|
9
|
-
}).describe("Represents a package/handling unit type available for an LTL carrier.");
|
|
9
|
+
}).passthrough().describe("Represents a package/handling unit type available for an LTL carrier.");
|
|
10
10
|
const shipengineGetLtlCarrierPackages = action("SHIPENGINE_GET_LTL_CARRIER_PACKAGES", {
|
|
11
11
|
slug: "shipengine-get-ltl-carrier-packages",
|
|
12
12
|
name: "Get LTL Carrier Packages",
|
|
13
13
|
description: "Tool to list available package/handling unit types for an LTL (Less Than Truckload) carrier. Use when you need to find valid package codes for LTL freight shipments.",
|
|
14
14
|
input: ShipengineGetLtlCarrierPackagesInput,
|
|
15
|
-
output: z.object({ packages: z.array(ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema).describe("Array of package/handling unit types supported by the LTL carrier.") }).describe("Response containing the list of package/handling unit types available for an LTL carrier.")
|
|
15
|
+
output: z.object({ packages: z.array(ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema).describe("Array of package/handling unit types supported by the LTL carrier.") }).passthrough().describe("Response containing the list of package/handling unit types available for an LTL carrier.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { shipengineGetLtlCarrierPackages };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ltl-carrier-packages.mjs","names":[],"sources":["../../src/actions/get-ltl-carrier-packages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierPackagesInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier for the LTL carrier. To test in sandbox, connect a TEST carrier using POST /v-beta/ltl/connections/TEST with body {\\\"credentials\\\":{}}\"),\n}).describe(\"Request parameters for listing available package/handling unit types for an LTL carrier.\");\nconst ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema = z.object({\n code: z.string().describe(\"Package type code (e.g., bag, pal, pcs, pkg, skd).\").nullable(),\n name: z.string().describe(\"Human-readable package type name.\").nullable(),\n features: z.array(z.string()).describe(\"Available features for this package type (e.g., quote, spot_quote, scheduled_pickup).\").nullable().optional(),\n}).describe(\"Represents a package/handling unit type available for an LTL carrier.\");\nexport const ShipengineGetLtlCarrierPackagesOutput = z.object({\n packages: z.array(ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema).describe(\"Array of package/handling unit types supported by the LTL carrier.\"),\n}).describe(\"Response containing the list of package/handling unit types available for an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierPackages = action(\"SHIPENGINE_GET_LTL_CARRIER_PACKAGES\", {\n slug: \"shipengine-get-ltl-carrier-packages\",\n name: \"Get LTL Carrier Packages\",\n description: \"Tool to list available package/handling unit types for an LTL (Less Than Truckload) carrier. Use when you need to find valid package codes for LTL freight shipments.\",\n input: ShipengineGetLtlCarrierPackagesInput,\n output: ShipengineGetLtlCarrierPackagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EAChM,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,uDAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;
|
|
1
|
+
{"version":3,"file":"get-ltl-carrier-packages.mjs","names":[],"sources":["../../src/actions/get-ltl-carrier-packages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierPackagesInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier for the LTL carrier. To test in sandbox, connect a TEST carrier using POST /v-beta/ltl/connections/TEST with body {\\\"credentials\\\":{}}\"),\n}).describe(\"Request parameters for listing available package/handling unit types for an LTL carrier.\");\nconst ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema = z.object({\n code: z.string().describe(\"Package type code (e.g., bag, pal, pcs, pkg, skd).\").nullable(),\n name: z.string().describe(\"Human-readable package type name.\").nullable(),\n features: z.array(z.string()).describe(\"Available features for this package type (e.g., quote, spot_quote, scheduled_pickup).\").nullable().optional(),\n}).passthrough().describe(\"Represents a package/handling unit type available for an LTL carrier.\");\nexport const ShipengineGetLtlCarrierPackagesOutput = z.object({\n packages: z.array(ShipengineGetLtlCarrierPackages_LtlPackageTypeSchema).describe(\"Array of package/handling unit types supported by the LTL carrier.\"),\n}).passthrough().describe(\"Response containing the list of package/handling unit types available for an LTL carrier.\");\n\nexport const shipengineGetLtlCarrierPackages = action(\"SHIPENGINE_GET_LTL_CARRIER_PACKAGES\", {\n slug: \"shipengine-get-ltl-carrier-packages\",\n name: \"Get LTL Carrier Packages\",\n description: \"Tool to list available package/handling unit types for an LTL (Less Than Truckload) carrier. Use when you need to find valid package codes for LTL freight shipments.\",\n input: ShipengineGetLtlCarrierPackagesInput,\n output: ShipengineGetLtlCarrierPackagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EAChM,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,uDAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAKjG,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,UAAU,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,oEAAoE,EACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAOhB;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const ShipengineGetLtlCarrierServices_LtlServiceSchema = zod.z.object({
|
|
|
6
6
|
code: zod.z.string().describe("Service code identifying the shipping service (e.g., 'gtd_am', 'gtd_noon', 'stnd').").nullable().optional(),
|
|
7
7
|
name: zod.z.string().describe("Human-readable service name.").nullable().optional(),
|
|
8
8
|
features: zod.z.array(zod.z.string()).describe("List of features supported by this service (e.g., 'quote', 'spot_quote', 'scheduled_pickup').").nullable().optional()
|
|
9
|
-
}).describe("Details about an LTL shipping service.");
|
|
10
|
-
const ShipengineGetLtlCarrierServicesOutput = zod.z.object({ services: zod.z.array(ShipengineGetLtlCarrierServices_LtlServiceSchema).describe("List of available LTL shipping services for this carrier.") }).describe("Response containing available LTL services for a carrier.");
|
|
9
|
+
}).passthrough().describe("Details about an LTL shipping service.");
|
|
10
|
+
const ShipengineGetLtlCarrierServicesOutput = zod.z.object({ services: zod.z.array(ShipengineGetLtlCarrierServices_LtlServiceSchema).describe("List of available LTL shipping services for this carrier.") }).passthrough().describe("Response containing available LTL services for a carrier.");
|
|
11
11
|
const shipengineGetLtlCarrierServices = require_action.action("SHIPENGINE_GET_LTL_CARRIER_SERVICES", {
|
|
12
12
|
slug: "shipengine-get-ltl-carrier-services",
|
|
13
13
|
name: "Get LTL Carrier Services",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ltl-carrier-services.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierServicesInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier for the LTL carrier connection. Obtained from listing carriers or connecting a carrier.\"),\n}).describe(\"Request parameters for retrieving available LTL carrier services.\");\nconst ShipengineGetLtlCarrierServices_LtlServiceSchema = z.object({\n code: z.string().describe(\"Service code identifying the shipping service (e.g., 'gtd_am', 'gtd_noon', 'stnd').\").nullable().optional(),\n name: z.string().describe(\"Human-readable service name.\").nullable().optional(),\n features: z.array(z.string()).describe(\"List of features supported by this service (e.g., 'quote', 'spot_quote', 'scheduled_pickup').\").nullable().optional(),\n}).describe(\"Details about an LTL shipping service.\");\nexport const ShipengineGetLtlCarrierServicesOutput = z.object({\n services: z.array(ShipengineGetLtlCarrierServices_LtlServiceSchema).describe(\"List of available LTL shipping services for this carrier.\"),\n}).describe(\"Response containing available LTL services for a carrier.\");\n\nexport const shipengineGetLtlCarrierServices = action(\"SHIPENGINE_GET_LTL_CARRIER_SERVICES\", {\n slug: \"shipengine-get-ltl-carrier-services\",\n name: \"Get LTL Carrier Services\",\n description: \"Tool to list available services for an LTL carrier. Use when you need to discover what shipping services (e.g., standard, guaranteed morning/noon) are available for a specific LTL carrier connection.\",\n input: ShipengineGetLtlCarrierServicesInput,\n output: ShipengineGetLtlCarrierServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACjJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-ltl-carrier-services.cjs","names":["z","action"],"sources":["../../src/actions/get-ltl-carrier-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierServicesInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier for the LTL carrier connection. Obtained from listing carriers or connecting a carrier.\"),\n}).describe(\"Request parameters for retrieving available LTL carrier services.\");\nconst ShipengineGetLtlCarrierServices_LtlServiceSchema = z.object({\n code: z.string().describe(\"Service code identifying the shipping service (e.g., 'gtd_am', 'gtd_noon', 'stnd').\").nullable().optional(),\n name: z.string().describe(\"Human-readable service name.\").nullable().optional(),\n features: z.array(z.string()).describe(\"List of features supported by this service (e.g., 'quote', 'spot_quote', 'scheduled_pickup').\").nullable().optional(),\n}).passthrough().describe(\"Details about an LTL shipping service.\");\nexport const ShipengineGetLtlCarrierServicesOutput = z.object({\n services: z.array(ShipengineGetLtlCarrierServices_LtlServiceSchema).describe(\"List of available LTL shipping services for this carrier.\"),\n}).passthrough().describe(\"Response containing available LTL services for a carrier.\");\n\nexport const shipengineGetLtlCarrierServices = action(\"SHIPENGINE_GET_LTL_CARRIER_SERVICES\", {\n slug: \"shipengine-get-ltl-carrier-services\",\n name: \"Get LTL Carrier Services\",\n description: \"Tool to list available services for an LTL carrier. Use when you need to discover what shipping services (e.g., standard, guaranteed morning/noon) are available for a specific LTL carrier connection.\",\n input: ShipengineGetLtlCarrierServicesInput,\n output: ShipengineGetLtlCarrierServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACjJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,UAAUA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,2DAA2D,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ declare const ShipengineGetLtlCarrierServicesOutput: z.ZodObject<{
|
|
|
9
9
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
features: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const shipengineGetLtlCarrierServices: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
carrier_id: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,8 +9,8 @@ declare const ShipengineGetLtlCarrierServicesOutput: z.ZodObject<{
|
|
|
9
9
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
features: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const shipengineGetLtlCarrierServices: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
carrier_id: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,13 +6,13 @@ const ShipengineGetLtlCarrierServices_LtlServiceSchema = z.object({
|
|
|
6
6
|
code: z.string().describe("Service code identifying the shipping service (e.g., 'gtd_am', 'gtd_noon', 'stnd').").nullable().optional(),
|
|
7
7
|
name: z.string().describe("Human-readable service name.").nullable().optional(),
|
|
8
8
|
features: z.array(z.string()).describe("List of features supported by this service (e.g., 'quote', 'spot_quote', 'scheduled_pickup').").nullable().optional()
|
|
9
|
-
}).describe("Details about an LTL shipping service.");
|
|
9
|
+
}).passthrough().describe("Details about an LTL shipping service.");
|
|
10
10
|
const shipengineGetLtlCarrierServices = action("SHIPENGINE_GET_LTL_CARRIER_SERVICES", {
|
|
11
11
|
slug: "shipengine-get-ltl-carrier-services",
|
|
12
12
|
name: "Get LTL Carrier Services",
|
|
13
13
|
description: "Tool to list available services for an LTL carrier. Use when you need to discover what shipping services (e.g., standard, guaranteed morning/noon) are available for a specific LTL carrier connection.",
|
|
14
14
|
input: ShipengineGetLtlCarrierServicesInput,
|
|
15
|
-
output: z.object({ services: z.array(ShipengineGetLtlCarrierServices_LtlServiceSchema).describe("List of available LTL shipping services for this carrier.") }).describe("Response containing available LTL services for a carrier.")
|
|
15
|
+
output: z.object({ services: z.array(ShipengineGetLtlCarrierServices_LtlServiceSchema).describe("List of available LTL shipping services for this carrier.") }).passthrough().describe("Response containing available LTL services for a carrier.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { shipengineGetLtlCarrierServices };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ltl-carrier-services.mjs","names":[],"sources":["../../src/actions/get-ltl-carrier-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierServicesInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier for the LTL carrier connection. Obtained from listing carriers or connecting a carrier.\"),\n}).describe(\"Request parameters for retrieving available LTL carrier services.\");\nconst ShipengineGetLtlCarrierServices_LtlServiceSchema = z.object({\n code: z.string().describe(\"Service code identifying the shipping service (e.g., 'gtd_am', 'gtd_noon', 'stnd').\").nullable().optional(),\n name: z.string().describe(\"Human-readable service name.\").nullable().optional(),\n features: z.array(z.string()).describe(\"List of features supported by this service (e.g., 'quote', 'spot_quote', 'scheduled_pickup').\").nullable().optional(),\n}).describe(\"Details about an LTL shipping service.\");\nexport const ShipengineGetLtlCarrierServicesOutput = z.object({\n services: z.array(ShipengineGetLtlCarrierServices_LtlServiceSchema).describe(\"List of available LTL shipping services for this carrier.\"),\n}).describe(\"Response containing available LTL services for a carrier.\");\n\nexport const shipengineGetLtlCarrierServices = action(\"SHIPENGINE_GET_LTL_CARRIER_SERVICES\", {\n slug: \"shipengine-get-ltl-carrier-services\",\n name: \"Get LTL Carrier Services\",\n description: \"Tool to list available services for an LTL carrier. Use when you need to discover what shipping services (e.g., standard, guaranteed morning/noon) are available for a specific LTL carrier connection.\",\n input: ShipengineGetLtlCarrierServicesInput,\n output: ShipengineGetLtlCarrierServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACjJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-ltl-carrier-services.mjs","names":[],"sources":["../../src/actions/get-ltl-carrier-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetLtlCarrierServicesInput = z.object({\n carrier_id: z.string().describe(\"The unique identifier for the LTL carrier connection. Obtained from listing carriers or connecting a carrier.\"),\n}).describe(\"Request parameters for retrieving available LTL carrier services.\");\nconst ShipengineGetLtlCarrierServices_LtlServiceSchema = z.object({\n code: z.string().describe(\"Service code identifying the shipping service (e.g., 'gtd_am', 'gtd_noon', 'stnd').\").nullable().optional(),\n name: z.string().describe(\"Human-readable service name.\").nullable().optional(),\n features: z.array(z.string()).describe(\"List of features supported by this service (e.g., 'quote', 'spot_quote', 'scheduled_pickup').\").nullable().optional(),\n}).passthrough().describe(\"Details about an LTL shipping service.\");\nexport const ShipengineGetLtlCarrierServicesOutput = z.object({\n services: z.array(ShipengineGetLtlCarrierServices_LtlServiceSchema).describe(\"List of available LTL shipping services for this carrier.\"),\n}).passthrough().describe(\"Response containing available LTL services for a carrier.\");\n\nexport const shipengineGetLtlCarrierServices = action(\"SHIPENGINE_GET_LTL_CARRIER_SERVICES\", {\n slug: \"shipengine-get-ltl-carrier-services\",\n name: \"Get LTL Carrier Services\",\n description: \"Tool to list available services for an LTL carrier. Use when you need to discover what shipping services (e.g., standard, guaranteed morning/noon) are available for a specific LTL carrier connection.\",\n input: ShipengineGetLtlCarrierServicesInput,\n output: ShipengineGetLtlCarrierServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EACjJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,UAAU,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,2DAA2D,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -7,14 +7,14 @@ const ShipengineGetPackageById_DimensionsSchema = zod.z.object({
|
|
|
7
7
|
width: zod.z.number().describe("Width of the package.").nullable().optional(),
|
|
8
8
|
height: zod.z.number().describe("Height of the package.").nullable().optional(),
|
|
9
9
|
length: zod.z.number().describe("Length of the package.").nullable().optional()
|
|
10
|
-
}).describe("Dimensions of the package.");
|
|
10
|
+
}).passthrough().describe("Dimensions of the package.");
|
|
11
11
|
const ShipengineGetPackageByIdOutput = zod.z.object({
|
|
12
12
|
name: zod.z.string().describe("Name of the package type.").nullable(),
|
|
13
13
|
dimensions: ShipengineGetPackageById_DimensionsSchema.nullable().optional(),
|
|
14
14
|
package_id: zod.z.string().describe("Unique identifier for the package.").nullable(),
|
|
15
15
|
description: zod.z.string().describe("Description of the package.").nullable().optional(),
|
|
16
16
|
package_code: zod.z.string().describe("Code identifying the package type.").nullable()
|
|
17
|
-
}).describe("Response model for retrieving a custom package type by ID.");
|
|
17
|
+
}).passthrough().describe("Response model for retrieving a custom package type by ID.");
|
|
18
18
|
const shipengineGetPackageById = require_action.action("SHIPENGINE_GET_PACKAGE_BY_ID", {
|
|
19
19
|
slug: "shipengine-get-package-by-id",
|
|
20
20
|
name: "Get Package by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-package-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-package-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetPackageByIdInput = z.object({\n package_id: z.string().describe(\"Unique ShipEngine package ID, must begin with 'se-' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a custom package type by its ID.\");\nconst ShipengineGetPackageById_DimensionsSchema = z.object({\n unit: z.string().describe(\"Measurement unit, e.g., 'inch' or 'centimeter'.\").nullable().optional(),\n width: z.number().describe(\"Width of the package.\").nullable().optional(),\n height: z.number().describe(\"Height of the package.\").nullable().optional(),\n length: z.number().describe(\"Length of the package.\").nullable().optional(),\n}).describe(\"Dimensions of the package.\");\nexport const ShipengineGetPackageByIdOutput = z.object({\n name: z.string().describe(\"Name of the package type.\").nullable(),\n dimensions: ShipengineGetPackageById_DimensionsSchema.nullable().optional(),\n package_id: z.string().describe(\"Unique identifier for the package.\").nullable(),\n description: z.string().describe(\"Description of the package.\").nullable().optional(),\n package_code: z.string().describe(\"Code identifying the package type.\").nullable(),\n}).describe(\"Response model for retrieving a custom package type by ID.\");\n\nexport const shipengineGetPackageById = action(\"SHIPENGINE_GET_PACKAGE_BY_ID\", {\n slug: \"shipengine-get-package-by-id\",\n name: \"Get Package by ID\",\n description: \"Tool to get details of a specific custom package type by ID. Use when you need to retrieve package specifications.\",\n input: ShipengineGetPackageByIdInput,\n output: ShipengineGetPackageByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,EAC5H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,4BAA4B;
|
|
1
|
+
{"version":3,"file":"get-package-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-package-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetPackageByIdInput = z.object({\n package_id: z.string().describe(\"Unique ShipEngine package ID, must begin with 'se-' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a custom package type by its ID.\");\nconst ShipengineGetPackageById_DimensionsSchema = z.object({\n unit: z.string().describe(\"Measurement unit, e.g., 'inch' or 'centimeter'.\").nullable().optional(),\n width: z.number().describe(\"Width of the package.\").nullable().optional(),\n height: z.number().describe(\"Height of the package.\").nullable().optional(),\n length: z.number().describe(\"Length of the package.\").nullable().optional(),\n}).passthrough().describe(\"Dimensions of the package.\");\nexport const ShipengineGetPackageByIdOutput = z.object({\n name: z.string().describe(\"Name of the package type.\").nullable(),\n dimensions: ShipengineGetPackageById_DimensionsSchema.nullable().optional(),\n package_id: z.string().describe(\"Unique identifier for the package.\").nullable(),\n description: z.string().describe(\"Description of the package.\").nullable().optional(),\n package_code: z.string().describe(\"Code identifying the package type.\").nullable(),\n}).passthrough().describe(\"Response model for retrieving a custom package type by ID.\");\n\nexport const shipengineGetPackageById = action(\"SHIPENGINE_GET_PACKAGE_BY_ID\", {\n slug: \"shipengine-get-package-by-id\",\n name: \"Get Package by ID\",\n description: \"Tool to get details of a specific custom package type by ID. Use when you need to retrieve package specifications.\",\n input: ShipengineGetPackageByIdInput,\n output: ShipengineGetPackageByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,EAC5H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,11 +11,11 @@ declare const ShipengineGetPackageByIdOutput: z.ZodObject<{
|
|
|
11
11
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
package_id: z.ZodNullable<z.ZodString>;
|
|
16
16
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
package_code: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const shipengineGetPackageById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
package_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,11 +11,11 @@ declare const ShipengineGetPackageByIdOutput: z.ZodObject<{
|
|
|
11
11
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
package_id: z.ZodNullable<z.ZodString>;
|
|
16
16
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
package_code: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const shipengineGetPackageById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
package_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ const ShipengineGetPackageById_DimensionsSchema = z.object({
|
|
|
7
7
|
width: z.number().describe("Width of the package.").nullable().optional(),
|
|
8
8
|
height: z.number().describe("Height of the package.").nullable().optional(),
|
|
9
9
|
length: z.number().describe("Length of the package.").nullable().optional()
|
|
10
|
-
}).describe("Dimensions of the package.");
|
|
10
|
+
}).passthrough().describe("Dimensions of the package.");
|
|
11
11
|
const shipengineGetPackageById = action("SHIPENGINE_GET_PACKAGE_BY_ID", {
|
|
12
12
|
slug: "shipengine-get-package-by-id",
|
|
13
13
|
name: "Get Package by ID",
|
|
@@ -19,7 +19,7 @@ const shipengineGetPackageById = action("SHIPENGINE_GET_PACKAGE_BY_ID", {
|
|
|
19
19
|
package_id: z.string().describe("Unique identifier for the package.").nullable(),
|
|
20
20
|
description: z.string().describe("Description of the package.").nullable().optional(),
|
|
21
21
|
package_code: z.string().describe("Code identifying the package type.").nullable()
|
|
22
|
-
}).describe("Response model for retrieving a custom package type by ID.")
|
|
22
|
+
}).passthrough().describe("Response model for retrieving a custom package type by ID.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { shipengineGetPackageById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-package-by-id.mjs","names":[],"sources":["../../src/actions/get-package-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetPackageByIdInput = z.object({\n package_id: z.string().describe(\"Unique ShipEngine package ID, must begin with 'se-' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a custom package type by its ID.\");\nconst ShipengineGetPackageById_DimensionsSchema = z.object({\n unit: z.string().describe(\"Measurement unit, e.g., 'inch' or 'centimeter'.\").nullable().optional(),\n width: z.number().describe(\"Width of the package.\").nullable().optional(),\n height: z.number().describe(\"Height of the package.\").nullable().optional(),\n length: z.number().describe(\"Length of the package.\").nullable().optional(),\n}).describe(\"Dimensions of the package.\");\nexport const ShipengineGetPackageByIdOutput = z.object({\n name: z.string().describe(\"Name of the package type.\").nullable(),\n dimensions: ShipengineGetPackageById_DimensionsSchema.nullable().optional(),\n package_id: z.string().describe(\"Unique identifier for the package.\").nullable(),\n description: z.string().describe(\"Description of the package.\").nullable().optional(),\n package_code: z.string().describe(\"Code identifying the package type.\").nullable(),\n}).describe(\"Response model for retrieving a custom package type by ID.\");\n\nexport const shipengineGetPackageById = action(\"SHIPENGINE_GET_PACKAGE_BY_ID\", {\n slug: \"shipengine-get-package-by-id\",\n name: \"Get Package by ID\",\n description: \"Tool to get details of a specific custom package type by ID. Use when you need to retrieve package specifications.\",\n input: ShipengineGetPackageByIdInput,\n output: ShipengineGetPackageByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,EAC5H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,4BAA4B;
|
|
1
|
+
{"version":3,"file":"get-package-by-id.mjs","names":[],"sources":["../../src/actions/get-package-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetPackageByIdInput = z.object({\n package_id: z.string().describe(\"Unique ShipEngine package ID, must begin with 'se-' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a custom package type by its ID.\");\nconst ShipengineGetPackageById_DimensionsSchema = z.object({\n unit: z.string().describe(\"Measurement unit, e.g., 'inch' or 'centimeter'.\").nullable().optional(),\n width: z.number().describe(\"Width of the package.\").nullable().optional(),\n height: z.number().describe(\"Height of the package.\").nullable().optional(),\n length: z.number().describe(\"Length of the package.\").nullable().optional(),\n}).passthrough().describe(\"Dimensions of the package.\");\nexport const ShipengineGetPackageByIdOutput = z.object({\n name: z.string().describe(\"Name of the package type.\").nullable(),\n dimensions: ShipengineGetPackageById_DimensionsSchema.nullable().optional(),\n package_id: z.string().describe(\"Unique identifier for the package.\").nullable(),\n description: z.string().describe(\"Description of the package.\").nullable().optional(),\n package_code: z.string().describe(\"Code identifying the package type.\").nullable(),\n}).passthrough().describe(\"Response model for retrieving a custom package type by ID.\");\n\nexport const shipengineGetPackageById = action(\"SHIPENGINE_GET_PACKAGE_BY_ID\", {\n slug: \"shipengine-get-package-by-id\",\n name: \"Get Package by ID\",\n description: \"Tool to get details of a specific custom package type by ID. Use when you need to retrieve package specifications.\",\n input: ShipengineGetPackageByIdInput,\n output: ShipengineGetPackageByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,EAC5H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAStD,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const ShipengineGetShipmentByExternalId_CustomsSchema = zod.z.object({
|
|
|
6
6
|
contents: zod.z.string().describe("Description of contents").nullable().optional(),
|
|
7
7
|
non_delivery: zod.z.string().describe("Action on non-delivery").nullable().optional(),
|
|
8
8
|
customs_items: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of customs items").nullable().optional()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const ShipengineGetShipmentByExternalId_AddressSchema = zod.z.object({
|
|
11
11
|
name: zod.z.string().describe("Recipient or sender name").nullable().optional(),
|
|
12
12
|
phone: zod.z.string().describe("Phone number, if available").nullable().optional(),
|
|
@@ -19,7 +19,7 @@ const ShipengineGetShipmentByExternalId_AddressSchema = zod.z.object({
|
|
|
19
19
|
city_locality: zod.z.string().describe("City or locality").nullable(),
|
|
20
20
|
state_province: zod.z.string().describe("State or province").nullable(),
|
|
21
21
|
address_residential_indicator: zod.z.string().describe("Indicate whether the address is residential, commercial, or unknown. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'").nullable().optional()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const ShipengineGetShipmentByExternalId_WeightSchema = zod.z.object({
|
|
24
24
|
unit: zod.z.enum([
|
|
25
25
|
"ounce",
|
|
@@ -28,22 +28,22 @@ const ShipengineGetShipmentByExternalId_WeightSchema = zod.z.object({
|
|
|
28
28
|
"kilogram"
|
|
29
29
|
]).describe("Unit of weight").nullable(),
|
|
30
30
|
value: zod.z.number().describe("Weight amount, non-negative").nullable()
|
|
31
|
-
});
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const ShipengineGetShipmentByExternalId_DimensionsSchema = zod.z.object({
|
|
33
33
|
unit: zod.z.enum(["inch", "centimeter"]).describe("Unit for dimensions").nullable().optional(),
|
|
34
34
|
width: zod.z.number().describe("Width of package").nullable().optional(),
|
|
35
35
|
height: zod.z.number().describe("Height of package").nullable().optional(),
|
|
36
36
|
length: zod.z.number().describe("Length of package").nullable().optional()
|
|
37
|
-
});
|
|
37
|
+
}).passthrough();
|
|
38
38
|
const ShipengineGetShipmentByExternalId_InsuredValueSchema = zod.z.object({
|
|
39
39
|
amount: zod.z.number().describe("Insurance amount").nullable().optional(),
|
|
40
40
|
currency: zod.z.string().describe("ISO 4217 currency code").nullable().optional()
|
|
41
|
-
});
|
|
41
|
+
}).passthrough();
|
|
42
42
|
const ShipengineGetShipmentByExternalId_LabelMessagesSchema = zod.z.object({
|
|
43
43
|
reference1: zod.z.string().describe("Custom reference line 1").nullable().optional(),
|
|
44
44
|
reference2: zod.z.string().describe("Custom reference line 2").nullable().optional(),
|
|
45
45
|
reference3: zod.z.string().describe("Custom reference line 3").nullable().optional()
|
|
46
|
-
});
|
|
46
|
+
}).passthrough();
|
|
47
47
|
const ShipengineGetShipmentByExternalId_PackageResponseSchema = zod.z.object({
|
|
48
48
|
weight: ShipengineGetShipmentByExternalId_WeightSchema.nullable(),
|
|
49
49
|
label_url: zod.z.string().describe("URL to download label PDF (may be null for pending shipments)").nullable().optional(),
|
|
@@ -55,7 +55,7 @@ const ShipengineGetShipmentByExternalId_PackageResponseSchema = zod.z.object({
|
|
|
55
55
|
label_messages: ShipengineGetShipmentByExternalId_LabelMessagesSchema.nullable().optional(),
|
|
56
56
|
tracking_number: zod.z.string().describe("Carrier tracking number (may be null for pending shipments)").nullable().optional(),
|
|
57
57
|
shipment_package_id: zod.z.string().describe("Shipment package identifier").nullable().optional()
|
|
58
|
-
});
|
|
58
|
+
}).passthrough();
|
|
59
59
|
const ShipengineGetShipmentByExternalId_AdvancedOptionsSchema = zod.z.object({
|
|
60
60
|
dry_ice: zod.z.boolean().describe("Whether shipment contains dry ice").nullable().optional(),
|
|
61
61
|
origin_type: zod.z.string().describe("Origin type").nullable().optional(),
|
|
@@ -76,7 +76,7 @@ const ShipengineGetShipmentByExternalId_AdvancedOptionsSchema = zod.z.object({
|
|
|
76
76
|
delivered_duty_paid: zod.z.boolean().describe("Whether duties are paid by sender").nullable().optional(),
|
|
77
77
|
bill_to_country_code: zod.z.string().describe("Country code for billing").nullable().optional(),
|
|
78
78
|
use_ups_ground_freight_pricing: zod.z.boolean().describe("Whether to use UPS ground freight pricing").nullable().optional()
|
|
79
|
-
});
|
|
79
|
+
}).passthrough();
|
|
80
80
|
const ShipengineGetShipmentByExternalIdOutput = zod.z.object({
|
|
81
81
|
tags: zod.z.array(zod.z.string()).describe("Custom tags associated with the shipment"),
|
|
82
82
|
customs: ShipengineGetShipmentByExternalId_CustomsSchema.nullable().optional(),
|
|
@@ -97,7 +97,7 @@ const ShipengineGetShipmentByExternalIdOutput = zod.z.object({
|
|
|
97
97
|
advanced_options: ShipengineGetShipmentByExternalId_AdvancedOptionsSchema.nullable().optional(),
|
|
98
98
|
insurance_provider: zod.z.string().describe("Insurance provider selected").nullable().optional(),
|
|
99
99
|
external_shipment_id: zod.z.string().describe("Client's reference for shipment").nullable().optional()
|
|
100
|
-
}).describe("Response model for retrieving a shipment by external ID.");
|
|
100
|
+
}).passthrough().describe("Response model for retrieving a shipment by external ID.");
|
|
101
101
|
const shipengineGetShipmentByExternalId = require_action.action("SHIPENGINE_GET_SHIPMENT_BY_EXTERNAL_ID", {
|
|
102
102
|
slug: "shipengine-get-shipment-by-external-id",
|
|
103
103
|
name: "Get Shipment by External ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-shipment-by-external-id.cjs","names":["z","action"],"sources":["../../src/actions/get-shipment-by-external-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetShipmentByExternalIdInput = z.object({\n external_shipment_id: z.string().describe(\"External shipment ID assigned by the client or external system to identify the shipment\"),\n}).describe(\"Request model for retrieving a shipment by its external shipment ID.\");\nconst ShipengineGetShipmentByExternalId_CustomsSchema = z.object({\n contents: z.string().describe(\"Description of contents\").nullable().optional(),\n non_delivery: z.string().describe(\"Action on non-delivery\").nullable().optional(),\n customs_items: z.array(z.record(z.string(), z.unknown())).describe(\"List of customs items\").nullable().optional(),\n});\nconst ShipengineGetShipmentByExternalId_AddressSchema = z.object({\n name: z.string().describe(\"Recipient or sender name\").nullable().optional(),\n phone: z.string().describe(\"Phone number, if available\").nullable().optional(),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable(),\n company_name: z.string().describe(\"Company name, if applicable\").nullable().optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\").nullable(),\n address_line1: z.string().describe(\"Address line 1\").nullable(),\n address_line2: z.string().describe(\"Address line 2\").nullable().optional(),\n address_line3: z.string().describe(\"Address line 3\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality\").nullable(),\n state_province: z.string().describe(\"State or province\").nullable(),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential, commercial, or unknown. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").nullable().optional(),\n});\nconst ShipengineGetShipmentByExternalId_WeightSchema = z.object({\n unit: z.enum([\"ounce\", \"pound\", \"gram\", \"kilogram\"]).describe(\"Unit of weight\").nullable(),\n value: z.number().describe(\"Weight amount, non-negative\").nullable(),\n});\nconst ShipengineGetShipmentByExternalId_DimensionsSchema = z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit for dimensions\").nullable().optional(),\n width: z.number().describe(\"Width of package\").nullable().optional(),\n height: z.number().describe(\"Height of package\").nullable().optional(),\n length: z.number().describe(\"Length of package\").nullable().optional(),\n});\nconst ShipengineGetShipmentByExternalId_InsuredValueSchema = z.object({\n amount: z.number().describe(\"Insurance amount\").nullable().optional(),\n currency: z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n});\nconst ShipengineGetShipmentByExternalId_LabelMessagesSchema = z.object({\n reference1: z.string().describe(\"Custom reference line 1\").nullable().optional(),\n reference2: z.string().describe(\"Custom reference line 2\").nullable().optional(),\n reference3: z.string().describe(\"Custom reference line 3\").nullable().optional(),\n});\nconst ShipengineGetShipmentByExternalId_PackageResponseSchema = z.object({\n weight: ShipengineGetShipmentByExternalId_WeightSchema.nullable(),\n label_url: z.string().describe(\"URL to download label PDF (may be null for pending shipments)\").nullable().optional(),\n dimensions: ShipengineGetShipmentByExternalId_DimensionsSchema.nullable().optional(),\n package_id: z.string().describe(\"Unique package identifier\").nullable().optional(),\n package_code: z.string().describe(\"Package code\").nullable().optional(),\n package_name: z.string().describe(\"Package name\").nullable().optional(),\n insured_value: ShipengineGetShipmentByExternalId_InsuredValueSchema.nullable().optional(),\n label_messages: ShipengineGetShipmentByExternalId_LabelMessagesSchema.nullable().optional(),\n tracking_number: z.string().describe(\"Carrier tracking number (may be null for pending shipments)\").nullable().optional(),\n shipment_package_id: z.string().describe(\"Shipment package identifier\").nullable().optional(),\n});\nconst ShipengineGetShipmentByExternalId_AdvancedOptionsSchema = z.object({\n dry_ice: z.boolean().describe(\"Whether shipment contains dry ice\").nullable().optional(),\n origin_type: z.string().describe(\"Origin type\").nullable().optional(),\n bill_to_party: z.string().describe(\"Party to bill\").nullable().optional(),\n custom_field1: z.string().describe(\"Custom field 1\").nullable().optional(),\n custom_field2: z.string().describe(\"Custom field 2\").nullable().optional(),\n custom_field3: z.string().describe(\"Custom field 3\").nullable().optional(),\n fedex_freight: z.record(z.string(), z.unknown()).describe(\"FedEx freight options\").nullable().optional(),\n freight_class: z.string().describe(\"Freight class\").nullable().optional(),\n dry_ice_weight: ShipengineGetShipmentByExternalId_WeightSchema.nullable().optional(),\n non_machinable: z.boolean().describe(\"Whether package is non-machinable\").nullable().optional(),\n bill_to_account: z.string().describe(\"Bill to account number\").nullable().optional(),\n shipper_release: z.boolean().describe(\"Whether shipper release is enabled\").nullable().optional(),\n contains_alcohol: z.boolean().describe(\"Whether shipment contains alcohol\").nullable().optional(),\n saturday_delivery: z.boolean().describe(\"Whether Saturday delivery is requested\").nullable().optional(),\n bill_to_postal_code: z.string().describe(\"Postal code for billing\").nullable().optional(),\n collect_on_delivery: z.record(z.string(), z.unknown()).describe(\"Collect on delivery options\").nullable().optional(),\n delivered_duty_paid: z.boolean().describe(\"Whether duties are paid by sender\").nullable().optional(),\n bill_to_country_code: z.string().describe(\"Country code for billing\").nullable().optional(),\n use_ups_ground_freight_pricing: z.boolean().describe(\"Whether to use UPS ground freight pricing\").nullable().optional(),\n});\nexport const ShipengineGetShipmentByExternalIdOutput = z.object({\n tags: z.array(z.string()).describe(\"Custom tags associated with the shipment\"),\n customs: ShipengineGetShipmentByExternalId_CustomsSchema.nullable().optional(),\n ship_to: ShipengineGetShipmentByExternalId_AddressSchema.nullable(),\n packages: z.array(ShipengineGetShipmentByExternalId_PackageResponseSchema).describe(\"Detailed package info with labels and tracking\"),\n return_to: ShipengineGetShipmentByExternalId_AddressSchema.nullable(),\n ship_date: z.string().describe(\"Shipping date (ISO 8601)\").nullable().optional(),\n ship_from: ShipengineGetShipmentByExternalId_AddressSchema.nullable(),\n carrier_id: z.string().describe(\"Carrier identifier\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when shipment was created, ISO8601\").nullable(),\n modified_at: z.string().describe(\"Timestamp when shipment was last modified, ISO8601\").nullable(),\n shipment_id: z.string().describe(\"Unique shipment identifier\").nullable(),\n confirmation: z.string().describe(\"Special delivery confirmation type\").nullable().optional(),\n service_code: z.string().describe(\"Service code used\").nullable().optional(),\n total_weight: ShipengineGetShipmentByExternalId_WeightSchema.nullable(),\n warehouse_id: z.string().describe(\"Warehouse identifier if assigned\").nullable().optional(),\n shipment_status: z.string().describe(\"Current status of the shipment\").nullable(),\n advanced_options: ShipengineGetShipmentByExternalId_AdvancedOptionsSchema.nullable().optional(),\n insurance_provider: z.string().describe(\"Insurance provider selected\").nullable().optional(),\n external_shipment_id: z.string().describe(\"Client's reference for shipment\").nullable().optional(),\n}).describe(\"Response model for retrieving a shipment by external ID.\");\n\nexport const shipengineGetShipmentByExternalId = action(\"SHIPENGINE_GET_SHIPMENT_BY_EXTERNAL_ID\", {\n slug: \"shipengine-get-shipment-by-external-id\",\n name: \"Get Shipment by External ID\",\n description: \"Tool to retrieve shipment details using an external shipment ID. Use when you need to look up a shipment by its client-assigned external identifier rather than ShipEngine's internal shipment ID.\",\n input: ShipengineGetShipmentByExternalIdInput,\n output: ShipengineGetShipmentByExternalIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EACrI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;C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3E,cAAc,+CAA+C,SAAS;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,kBAAkB,wDAAwD,SAAS,CAAC,CAAC,SAAS;CAC9F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-shipment-by-external-id.cjs","names":["z","action"],"sources":["../../src/actions/get-shipment-by-external-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetShipmentByExternalIdInput = z.object({\n external_shipment_id: z.string().describe(\"External shipment ID assigned by the client or external system to identify the shipment\"),\n}).describe(\"Request model for retrieving a shipment by its external shipment ID.\");\nconst ShipengineGetShipmentByExternalId_CustomsSchema = z.object({\n contents: z.string().describe(\"Description of contents\").nullable().optional(),\n non_delivery: z.string().describe(\"Action on non-delivery\").nullable().optional(),\n customs_items: z.array(z.record(z.string(), z.unknown())).describe(\"List of customs items\").nullable().optional(),\n}).passthrough();\nconst ShipengineGetShipmentByExternalId_AddressSchema = z.object({\n name: z.string().describe(\"Recipient or sender name\").nullable().optional(),\n phone: z.string().describe(\"Phone number, if available\").nullable().optional(),\n postal_code: z.string().describe(\"ZIP or postal code\").nullable(),\n company_name: z.string().describe(\"Company name, if applicable\").nullable().optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\").nullable(),\n address_line1: z.string().describe(\"Address line 1\").nullable(),\n address_line2: z.string().describe(\"Address line 2\").nullable().optional(),\n address_line3: z.string().describe(\"Address line 3\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality\").nullable(),\n state_province: z.string().describe(\"State or province\").nullable(),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential, commercial, or unknown. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").nullable().optional(),\n}).passthrough();\nconst ShipengineGetShipmentByExternalId_WeightSchema = z.object({\n unit: z.enum([\"ounce\", \"pound\", \"gram\", \"kilogram\"]).describe(\"Unit of weight\").nullable(),\n value: z.number().describe(\"Weight amount, non-negative\").nullable(),\n}).passthrough();\nconst ShipengineGetShipmentByExternalId_DimensionsSchema = z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit for dimensions\").nullable().optional(),\n width: z.number().describe(\"Width of package\").nullable().optional(),\n height: z.number().describe(\"Height of package\").nullable().optional(),\n length: z.number().describe(\"Length of package\").nullable().optional(),\n}).passthrough();\nconst ShipengineGetShipmentByExternalId_InsuredValueSchema = z.object({\n amount: z.number().describe(\"Insurance amount\").nullable().optional(),\n currency: z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n}).passthrough();\nconst ShipengineGetShipmentByExternalId_LabelMessagesSchema = z.object({\n reference1: z.string().describe(\"Custom reference line 1\").nullable().optional(),\n reference2: z.string().describe(\"Custom reference line 2\").nullable().optional(),\n reference3: z.string().describe(\"Custom reference line 3\").nullable().optional(),\n}).passthrough();\nconst ShipengineGetShipmentByExternalId_PackageResponseSchema = z.object({\n weight: ShipengineGetShipmentByExternalId_WeightSchema.nullable(),\n label_url: z.string().describe(\"URL to download label PDF (may be null for pending shipments)\").nullable().optional(),\n dimensions: ShipengineGetShipmentByExternalId_DimensionsSchema.nullable().optional(),\n package_id: z.string().describe(\"Unique package identifier\").nullable().optional(),\n package_code: z.string().describe(\"Package code\").nullable().optional(),\n package_name: z.string().describe(\"Package name\").nullable().optional(),\n insured_value: ShipengineGetShipmentByExternalId_InsuredValueSchema.nullable().optional(),\n label_messages: ShipengineGetShipmentByExternalId_LabelMessagesSchema.nullable().optional(),\n tracking_number: z.string().describe(\"Carrier tracking number (may be null for pending shipments)\").nullable().optional(),\n shipment_package_id: z.string().describe(\"Shipment package identifier\").nullable().optional(),\n}).passthrough();\nconst ShipengineGetShipmentByExternalId_AdvancedOptionsSchema = z.object({\n dry_ice: z.boolean().describe(\"Whether shipment contains dry ice\").nullable().optional(),\n origin_type: z.string().describe(\"Origin type\").nullable().optional(),\n bill_to_party: z.string().describe(\"Party to bill\").nullable().optional(),\n custom_field1: z.string().describe(\"Custom field 1\").nullable().optional(),\n custom_field2: z.string().describe(\"Custom field 2\").nullable().optional(),\n custom_field3: z.string().describe(\"Custom field 3\").nullable().optional(),\n fedex_freight: z.record(z.string(), z.unknown()).describe(\"FedEx freight options\").nullable().optional(),\n freight_class: z.string().describe(\"Freight class\").nullable().optional(),\n dry_ice_weight: ShipengineGetShipmentByExternalId_WeightSchema.nullable().optional(),\n non_machinable: z.boolean().describe(\"Whether package is non-machinable\").nullable().optional(),\n bill_to_account: z.string().describe(\"Bill to account number\").nullable().optional(),\n shipper_release: z.boolean().describe(\"Whether shipper release is enabled\").nullable().optional(),\n contains_alcohol: z.boolean().describe(\"Whether shipment contains alcohol\").nullable().optional(),\n saturday_delivery: z.boolean().describe(\"Whether Saturday delivery is requested\").nullable().optional(),\n bill_to_postal_code: z.string().describe(\"Postal code for billing\").nullable().optional(),\n collect_on_delivery: z.record(z.string(), z.unknown()).describe(\"Collect on delivery options\").nullable().optional(),\n delivered_duty_paid: z.boolean().describe(\"Whether duties are paid by sender\").nullable().optional(),\n bill_to_country_code: z.string().describe(\"Country code for billing\").nullable().optional(),\n use_ups_ground_freight_pricing: z.boolean().describe(\"Whether to use UPS ground freight pricing\").nullable().optional(),\n}).passthrough();\nexport const ShipengineGetShipmentByExternalIdOutput = z.object({\n tags: z.array(z.string()).describe(\"Custom tags associated with the shipment\"),\n customs: ShipengineGetShipmentByExternalId_CustomsSchema.nullable().optional(),\n ship_to: ShipengineGetShipmentByExternalId_AddressSchema.nullable(),\n packages: z.array(ShipengineGetShipmentByExternalId_PackageResponseSchema).describe(\"Detailed package info with labels and tracking\"),\n return_to: ShipengineGetShipmentByExternalId_AddressSchema.nullable(),\n ship_date: z.string().describe(\"Shipping date (ISO 8601)\").nullable().optional(),\n ship_from: ShipengineGetShipmentByExternalId_AddressSchema.nullable(),\n carrier_id: z.string().describe(\"Carrier identifier\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when shipment was created, ISO8601\").nullable(),\n modified_at: z.string().describe(\"Timestamp when shipment was last modified, ISO8601\").nullable(),\n shipment_id: z.string().describe(\"Unique shipment identifier\").nullable(),\n confirmation: z.string().describe(\"Special delivery confirmation type\").nullable().optional(),\n service_code: z.string().describe(\"Service code used\").nullable().optional(),\n total_weight: ShipengineGetShipmentByExternalId_WeightSchema.nullable(),\n warehouse_id: z.string().describe(\"Warehouse identifier if assigned\").nullable().optional(),\n shipment_status: z.string().describe(\"Current status of the shipment\").nullable(),\n advanced_options: ShipengineGetShipmentByExternalId_AdvancedOptionsSchema.nullable().optional(),\n insurance_provider: z.string().describe(\"Insurance provider selected\").nullable().optional(),\n external_shipment_id: z.string().describe(\"Client's reference for shipment\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a shipment by external ID.\");\n\nexport const shipengineGetShipmentByExternalId = action(\"SHIPENGINE_GET_SHIPMENT_BY_EXTERNAL_ID\", {\n slug: \"shipengine-get-shipment-by-external-id\",\n name: \"Get Shipment by External ID\",\n description: \"Tool to retrieve shipment details using an external shipment ID. Use when you need to look up a shipment by its client-assigned external identifier rather than ShipEngine's internal shipment ID.\",\n input: ShipengineGetShipmentByExternalIdInput,\n output: ShipengineGetShipmentByExternalIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,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