@keystrokehq/shipengine 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/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 +3 -3
- package/dist/actions/create-warehouse.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/get-warehouse-by-id.d.mts +3 -3
- 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 +5 -5
- package/dist/actions/list-batches2.d.mts +5 -5
- 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 +3 -3
- package/dist/actions/list-warehouses.d.mts +3 -3
- 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 +24 -21
- package/dist/actions/update-shipment.d.cts.map +1 -1
- package/dist/actions/update-shipment.d.mts +24 -21
- 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 +1 -1
- package/dist/actions/update-warehouse.d.mts +1 -1
- 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 +7 -6
- package/dist/actions/validate-address.d.mts +7 -6
- package/dist/actions/validate-address.mjs +5 -5
- package/dist/actions/validate-address.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tracking-info.cjs","names":["z","action"],"sources":["../../src/actions/get-tracking-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetTrackingInfoInput = z.object({\n carrier_code: z.string().describe(\"A shipping carrier, such as 'fedex', 'dhl_express', 'stamps_com', etc.\"),\n tracking_number: z.string().describe(\"The tracking number associated with a shipment\"),\n}).describe(\"Request model for retrieving tracking information for a shipment.\");\nconst ShipengineGetTrackingInfo_TrackingEventSchema = z.object({\n signer: z.string().describe(\"Name of the person who signed for the package, if applicable\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate of the event location\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate of the event location\").nullable().optional(),\n event_code: z.string().describe(\"Carrier-specific event code\").nullable().optional(),\n description: z.string().describe(\"Description of the tracking event\").nullable().optional(),\n occurred_at: z.string().describe(\"Timestamp when the event occurred (ISO 8601 UTC)\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code where the event occurred\").nullable().optional(),\n status_code: z.string().describe(\"Status code for this event\").nullable().optional(),\n company_name: z.string().describe(\"Company name associated with the event location\").nullable().optional(),\n country_code: z.string().describe(\"Country code where the event occurred\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality where the event occurred\").nullable().optional(),\n state_province: z.string().describe(\"State or province where the event occurred\").nullable().optional(),\n status_description: z.string().describe(\"Human-readable status description\").nullable().optional(),\n carrier_detail_code: z.string().describe(\"Carrier's detailed status code\").nullable().optional(),\n carrier_occurred_at: z.string().describe(\"Timestamp when the event occurred according to carrier (local time)\").nullable().optional(),\n carrier_status_code: z.string().describe(\"Carrier's original status code\").nullable().optional(),\n carrier_status_description: z.string().describe(\"Carrier's status description\").nullable().optional(),\n}).describe(\"A tracking event representing a status update in the shipment lifecycle.\");\nexport const ShipengineGetTrackingInfoOutput = z.object({\n events: z.array(ShipengineGetTrackingInfo_TrackingEventSchema).describe(\"List of tracking events in chronological order\"),\n ship_date: z.string().describe(\"Date when the shipment was shipped (ISO 8601)\").nullable().optional(),\n carrier_id: z.number().int().describe(\"Unique carrier identifier\").nullable(),\n status_code: z.string().describe(\"Current status code of the shipment\").nullable(),\n carrier_code: z.string().describe(\"Code identifying the carrier (e.g., stamps_com, fedex, ups)\").nullable(),\n tracking_url: z.string().describe(\"URL to view tracking details on the carrier's website\").nullable(),\n tracking_number: z.string().describe(\"The tracking number for the shipment\").nullable(),\n status_description: z.string().describe(\"Human-readable description of the current status\").nullable().optional(),\n status_detail_code: z.string().describe(\"Detailed status code providing more granular information\").nullable().optional(),\n carrier_detail_code: z.string().describe(\"Carrier's detailed status code\").nullable().optional(),\n carrier_status_code: z.string().describe(\"Carrier's original status code\").nullable().optional(),\n actual_delivery_date: z.string().describe(\"Actual delivery date if delivered (ISO 8601)\").nullable().optional(),\n exception_description: z.string().describe(\"Description of any exception or issue with the shipment\").nullable().optional(),\n estimated_delivery_date: z.string().describe(\"Estimated delivery date (ISO 8601)\").nullable().optional(),\n status_detail_description: z.string().describe(\"Detailed description of the current status\").nullable().optional(),\n carrier_status_description: z.string().describe(\"Carrier's status description\").nullable().optional(),\n}).describe(\"Response model containing tracking information for a shipment.\");\n\nexport const shipengineGetTrackingInfo = action(\"SHIPENGINE_GET_TRACKING_INFO\", {\n slug: \"shipengine-get-tracking-info\",\n name: \"Get Tracking Information\",\n description: \"Tool to retrieve tracking information for a shipment. Use when you need to track the status and location of a package using its tracking number and carrier code.\",\n input: ShipengineGetTrackingInfoInput,\n output: ShipengineGetTrackingInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC1G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACvF,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,W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AAC,SAAS;CACpI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0EAA0E;
|
|
1
|
+
{"version":3,"file":"get-tracking-info.cjs","names":["z","action"],"sources":["../../src/actions/get-tracking-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetTrackingInfoInput = z.object({\n carrier_code: z.string().describe(\"A shipping carrier, such as 'fedex', 'dhl_express', 'stamps_com', etc.\"),\n tracking_number: z.string().describe(\"The tracking number associated with a shipment\"),\n}).describe(\"Request model for retrieving tracking information for a shipment.\");\nconst ShipengineGetTrackingInfo_TrackingEventSchema = z.object({\n signer: z.string().describe(\"Name of the person who signed for the package, if applicable\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate of the event location\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate of the event location\").nullable().optional(),\n event_code: z.string().describe(\"Carrier-specific event code\").nullable().optional(),\n description: z.string().describe(\"Description of the tracking event\").nullable().optional(),\n occurred_at: z.string().describe(\"Timestamp when the event occurred (ISO 8601 UTC)\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code where the event occurred\").nullable().optional(),\n status_code: z.string().describe(\"Status code for this event\").nullable().optional(),\n company_name: z.string().describe(\"Company name associated with the event location\").nullable().optional(),\n country_code: z.string().describe(\"Country code where the event occurred\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality where the event occurred\").nullable().optional(),\n state_province: z.string().describe(\"State or province where the event occurred\").nullable().optional(),\n status_description: z.string().describe(\"Human-readable status description\").nullable().optional(),\n carrier_detail_code: z.string().describe(\"Carrier's detailed status code\").nullable().optional(),\n carrier_occurred_at: z.string().describe(\"Timestamp when the event occurred according to carrier (local time)\").nullable().optional(),\n carrier_status_code: z.string().describe(\"Carrier's original status code\").nullable().optional(),\n carrier_status_description: z.string().describe(\"Carrier's status description\").nullable().optional(),\n}).passthrough().describe(\"A tracking event representing a status update in the shipment lifecycle.\");\nexport const ShipengineGetTrackingInfoOutput = z.object({\n events: z.array(ShipengineGetTrackingInfo_TrackingEventSchema).describe(\"List of tracking events in chronological order\"),\n ship_date: z.string().describe(\"Date when the shipment was shipped (ISO 8601)\").nullable().optional(),\n carrier_id: z.number().int().describe(\"Unique carrier identifier\").nullable(),\n status_code: z.string().describe(\"Current status code of the shipment\").nullable(),\n carrier_code: z.string().describe(\"Code identifying the carrier (e.g., stamps_com, fedex, ups)\").nullable(),\n tracking_url: z.string().describe(\"URL to view tracking details on the carrier's website\").nullable(),\n tracking_number: z.string().describe(\"The tracking number for the shipment\").nullable(),\n status_description: z.string().describe(\"Human-readable description of the current status\").nullable().optional(),\n status_detail_code: z.string().describe(\"Detailed status code providing more granular information\").nullable().optional(),\n carrier_detail_code: z.string().describe(\"Carrier's detailed status code\").nullable().optional(),\n carrier_status_code: z.string().describe(\"Carrier's original status code\").nullable().optional(),\n actual_delivery_date: z.string().describe(\"Actual delivery date if delivered (ISO 8601)\").nullable().optional(),\n exception_description: z.string().describe(\"Description of any exception or issue with the shipment\").nullable().optional(),\n estimated_delivery_date: z.string().describe(\"Estimated delivery date (ISO 8601)\").nullable().optional(),\n status_detail_description: z.string().describe(\"Detailed description of the current status\").nullable().optional(),\n carrier_status_description: z.string().describe(\"Carrier's status description\").nullable().optional(),\n}).passthrough().describe(\"Response model containing tracking information for a shipment.\");\n\nexport const shipengineGetTrackingInfo = action(\"SHIPENGINE_GET_TRACKING_INFO\", {\n slug: \"shipengine-get-tracking-info\",\n name: \"Get Tracking Information\",\n description: \"Tool to retrieve tracking information for a shipment. Use when you need to track the status and location of a package using its tracking number and carrier code.\",\n input: ShipengineGetTrackingInfoInput,\n output: ShipengineGetTrackingInfoOutput,\n});\n"],"mappings":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.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
carrier_status_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
carrier_status_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
ship_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
carrier_id: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
status_code: z.ZodNullable<z.ZodString>;
|
|
@@ -40,7 +40,7 @@ declare const ShipengineGetTrackingInfoOutput: z.ZodObject<{
|
|
|
40
40
|
estimated_delivery_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
status_detail_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
carrier_status_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const shipengineGetTrackingInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
carrier_code: string;
|
|
46
46
|
tracking_number: string;
|
|
@@ -24,7 +24,7 @@ declare const ShipengineGetTrackingInfoOutput: z.ZodObject<{
|
|
|
24
24
|
carrier_occurred_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
carrier_status_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
carrier_status_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
ship_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
carrier_id: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
status_code: z.ZodNullable<z.ZodString>;
|
|
@@ -40,7 +40,7 @@ declare const ShipengineGetTrackingInfoOutput: z.ZodObject<{
|
|
|
40
40
|
estimated_delivery_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
status_detail_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
carrier_status_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const shipengineGetTrackingInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
carrier_code: string;
|
|
46
46
|
tracking_number: string;
|
|
@@ -23,7 +23,7 @@ const ShipengineGetTrackingInfo_TrackingEventSchema = z.object({
|
|
|
23
23
|
carrier_occurred_at: z.string().describe("Timestamp when the event occurred according to carrier (local time)").nullable().optional(),
|
|
24
24
|
carrier_status_code: z.string().describe("Carrier's original status code").nullable().optional(),
|
|
25
25
|
carrier_status_description: z.string().describe("Carrier's status description").nullable().optional()
|
|
26
|
-
}).describe("A tracking event representing a status update in the shipment lifecycle.");
|
|
26
|
+
}).passthrough().describe("A tracking event representing a status update in the shipment lifecycle.");
|
|
27
27
|
const shipengineGetTrackingInfo = action("SHIPENGINE_GET_TRACKING_INFO", {
|
|
28
28
|
slug: "shipengine-get-tracking-info",
|
|
29
29
|
name: "Get Tracking Information",
|
|
@@ -46,7 +46,7 @@ const shipengineGetTrackingInfo = action("SHIPENGINE_GET_TRACKING_INFO", {
|
|
|
46
46
|
estimated_delivery_date: z.string().describe("Estimated delivery date (ISO 8601)").nullable().optional(),
|
|
47
47
|
status_detail_description: z.string().describe("Detailed description of the current status").nullable().optional(),
|
|
48
48
|
carrier_status_description: z.string().describe("Carrier's status description").nullable().optional()
|
|
49
|
-
}).describe("Response model containing tracking information for a shipment.")
|
|
49
|
+
}).passthrough().describe("Response model containing tracking information for a shipment.")
|
|
50
50
|
});
|
|
51
51
|
//#endregion
|
|
52
52
|
export { shipengineGetTrackingInfo };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tracking-info.mjs","names":[],"sources":["../../src/actions/get-tracking-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetTrackingInfoInput = z.object({\n carrier_code: z.string().describe(\"A shipping carrier, such as 'fedex', 'dhl_express', 'stamps_com', etc.\"),\n tracking_number: z.string().describe(\"The tracking number associated with a shipment\"),\n}).describe(\"Request model for retrieving tracking information for a shipment.\");\nconst ShipengineGetTrackingInfo_TrackingEventSchema = z.object({\n signer: z.string().describe(\"Name of the person who signed for the package, if applicable\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate of the event location\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate of the event location\").nullable().optional(),\n event_code: z.string().describe(\"Carrier-specific event code\").nullable().optional(),\n description: z.string().describe(\"Description of the tracking event\").nullable().optional(),\n occurred_at: z.string().describe(\"Timestamp when the event occurred (ISO 8601 UTC)\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code where the event occurred\").nullable().optional(),\n status_code: z.string().describe(\"Status code for this event\").nullable().optional(),\n company_name: z.string().describe(\"Company name associated with the event location\").nullable().optional(),\n country_code: z.string().describe(\"Country code where the event occurred\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality where the event occurred\").nullable().optional(),\n state_province: z.string().describe(\"State or province where the event occurred\").nullable().optional(),\n status_description: z.string().describe(\"Human-readable status description\").nullable().optional(),\n carrier_detail_code: z.string().describe(\"Carrier's detailed status code\").nullable().optional(),\n carrier_occurred_at: z.string().describe(\"Timestamp when the event occurred according to carrier (local time)\").nullable().optional(),\n carrier_status_code: z.string().describe(\"Carrier's original status code\").nullable().optional(),\n carrier_status_description: z.string().describe(\"Carrier's status description\").nullable().optional(),\n}).describe(\"A tracking event representing a status update in the shipment lifecycle.\");\nexport const ShipengineGetTrackingInfoOutput = z.object({\n events: z.array(ShipengineGetTrackingInfo_TrackingEventSchema).describe(\"List of tracking events in chronological order\"),\n ship_date: z.string().describe(\"Date when the shipment was shipped (ISO 8601)\").nullable().optional(),\n carrier_id: z.number().int().describe(\"Unique carrier identifier\").nullable(),\n status_code: z.string().describe(\"Current status code of the shipment\").nullable(),\n carrier_code: z.string().describe(\"Code identifying the carrier (e.g., stamps_com, fedex, ups)\").nullable(),\n tracking_url: z.string().describe(\"URL to view tracking details on the carrier's website\").nullable(),\n tracking_number: z.string().describe(\"The tracking number for the shipment\").nullable(),\n status_description: z.string().describe(\"Human-readable description of the current status\").nullable().optional(),\n status_detail_code: z.string().describe(\"Detailed status code providing more granular information\").nullable().optional(),\n carrier_detail_code: z.string().describe(\"Carrier's detailed status code\").nullable().optional(),\n carrier_status_code: z.string().describe(\"Carrier's original status code\").nullable().optional(),\n actual_delivery_date: z.string().describe(\"Actual delivery date if delivered (ISO 8601)\").nullable().optional(),\n exception_description: z.string().describe(\"Description of any exception or issue with the shipment\").nullable().optional(),\n estimated_delivery_date: z.string().describe(\"Estimated delivery date (ISO 8601)\").nullable().optional(),\n status_detail_description: z.string().describe(\"Detailed description of the current status\").nullable().optional(),\n carrier_status_description: z.string().describe(\"Carrier's status description\").nullable().optional(),\n}).describe(\"Response model containing tracking information for a shipment.\");\n\nexport const shipengineGetTrackingInfo = action(\"SHIPENGINE_GET_TRACKING_INFO\", {\n slug: \"shipengine-get-tracking-info\",\n name: \"Get Tracking Information\",\n description: \"Tool to retrieve tracking information for a shipment. Use when you need to track the status and location of a package using its tracking number and carrier code.\",\n input: ShipengineGetTrackingInfoInput,\n output: ShipengineGetTrackingInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC1G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACvF,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,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CAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0EAA0E;
|
|
1
|
+
{"version":3,"file":"get-tracking-info.mjs","names":[],"sources":["../../src/actions/get-tracking-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetTrackingInfoInput = z.object({\n carrier_code: z.string().describe(\"A shipping carrier, such as 'fedex', 'dhl_express', 'stamps_com', etc.\"),\n tracking_number: z.string().describe(\"The tracking number associated with a shipment\"),\n}).describe(\"Request model for retrieving tracking information for a shipment.\");\nconst ShipengineGetTrackingInfo_TrackingEventSchema = z.object({\n signer: z.string().describe(\"Name of the person who signed for the package, if applicable\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate of the event location\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate of the event location\").nullable().optional(),\n event_code: z.string().describe(\"Carrier-specific event code\").nullable().optional(),\n description: z.string().describe(\"Description of the tracking event\").nullable().optional(),\n occurred_at: z.string().describe(\"Timestamp when the event occurred (ISO 8601 UTC)\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code where the event occurred\").nullable().optional(),\n status_code: z.string().describe(\"Status code for this event\").nullable().optional(),\n company_name: z.string().describe(\"Company name associated with the event location\").nullable().optional(),\n country_code: z.string().describe(\"Country code where the event occurred\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality where the event occurred\").nullable().optional(),\n state_province: z.string().describe(\"State or province where the event occurred\").nullable().optional(),\n status_description: z.string().describe(\"Human-readable status description\").nullable().optional(),\n carrier_detail_code: z.string().describe(\"Carrier's detailed status code\").nullable().optional(),\n carrier_occurred_at: z.string().describe(\"Timestamp when the event occurred according to carrier (local time)\").nullable().optional(),\n carrier_status_code: z.string().describe(\"Carrier's original status code\").nullable().optional(),\n carrier_status_description: z.string().describe(\"Carrier's status description\").nullable().optional(),\n}).passthrough().describe(\"A tracking event representing a status update in the shipment lifecycle.\");\nexport const ShipengineGetTrackingInfoOutput = z.object({\n events: z.array(ShipengineGetTrackingInfo_TrackingEventSchema).describe(\"List of tracking events in chronological order\"),\n ship_date: z.string().describe(\"Date when the shipment was shipped (ISO 8601)\").nullable().optional(),\n carrier_id: z.number().int().describe(\"Unique carrier identifier\").nullable(),\n status_code: z.string().describe(\"Current status code of the shipment\").nullable(),\n carrier_code: z.string().describe(\"Code identifying the carrier (e.g., stamps_com, fedex, ups)\").nullable(),\n tracking_url: z.string().describe(\"URL to view tracking details on the carrier's website\").nullable(),\n tracking_number: z.string().describe(\"The tracking number for the shipment\").nullable(),\n status_description: z.string().describe(\"Human-readable description of the current status\").nullable().optional(),\n status_detail_code: z.string().describe(\"Detailed status code providing more granular information\").nullable().optional(),\n carrier_detail_code: z.string().describe(\"Carrier's detailed status code\").nullable().optional(),\n carrier_status_code: z.string().describe(\"Carrier's original status code\").nullable().optional(),\n actual_delivery_date: z.string().describe(\"Actual delivery date if delivered (ISO 8601)\").nullable().optional(),\n exception_description: z.string().describe(\"Description of any exception or issue with the shipment\").nullable().optional(),\n estimated_delivery_date: z.string().describe(\"Estimated delivery date (ISO 8601)\").nullable().optional(),\n status_detail_description: z.string().describe(\"Detailed description of the current status\").nullable().optional(),\n carrier_status_description: z.string().describe(\"Carrier's status description\").nullable().optional(),\n}).passthrough().describe(\"Response model containing tracking information for a shipment.\");\n\nexport const shipengineGetTrackingInfo = action(\"SHIPENGINE_GET_TRACKING_INFO\", {\n slug: \"shipengine-get-tracking-info\",\n name: \"Get Tracking Information\",\n description: \"Tool to retrieve tracking information for a shipment. Use when you need to track the status and location of a package using its tracking number and carrier code.\",\n input: ShipengineGetTrackingInfoInput,\n output: ShipengineGetTrackingInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,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AAS,CAAC,CAAC,SAAS;EACxH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ const ShipengineGetWarehouseById_WarehouseAddressSchema = zod.z.object({
|
|
|
18
18
|
"no",
|
|
19
19
|
"unknown"
|
|
20
20
|
]).describe("Indicates whether the address is residential (yes/no/unknown)").nullable().optional()
|
|
21
|
-
}).describe("Address object for warehouse origin or return address.");
|
|
21
|
+
}).passthrough().describe("Address object for warehouse origin or return address.");
|
|
22
22
|
const ShipengineGetWarehouseByIdOutput = zod.z.object({
|
|
23
23
|
name: zod.z.string().describe("Name of the warehouse").nullable(),
|
|
24
24
|
created_at: zod.z.string().describe("Timestamp when warehouse was created (ISO 8601)").nullable(),
|
|
@@ -26,7 +26,7 @@ const ShipengineGetWarehouseByIdOutput = zod.z.object({
|
|
|
26
26
|
warehouse_id: zod.z.string().describe("Unique identifier for the warehouse").nullable(),
|
|
27
27
|
origin_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable(),
|
|
28
28
|
return_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable().optional()
|
|
29
|
-
}).describe("Response model for retrieving a warehouse by ID.");
|
|
29
|
+
}).passthrough().describe("Response model for retrieving a warehouse by ID.");
|
|
30
30
|
const shipengineGetWarehouseById = require_action.action("SHIPENGINE_GET_WAREHOUSE_BY_ID", {
|
|
31
31
|
slug: "shipengine-get-warehouse-by-id",
|
|
32
32
|
name: "Get Warehouse by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-warehouse-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-warehouse-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetWarehouseByIdInput = z.object({\n warehouse_id: z.string().describe(\"Unique ShipEngine warehouse ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for retrieving a warehouse by its ShipEngine ID.\");\nconst ShipengineGetWarehouseById_WarehouseAddressSchema = z.object({\n name: z.string().describe(\"Name at the address\").nullable().optional(),\n phone: z.string().describe(\"Phone number at the address\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable(),\n company_name: z.string().describe(\"Company name at the address\").nullable().optional(),\n country_code: z.string().describe(\"2-letter ISO country code\").nullable(),\n address_line1: z.string().describe(\"Street address (line 1)\").nullable(),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").nullable().optional(),\n address_line3: z.string().describe(\"Additional address line\").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.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").nullable().optional(),\n}).describe(\"Address object for warehouse origin or return address.\");\nexport const ShipengineGetWarehouseByIdOutput = z.object({\n name: z.string().describe(\"Name of the warehouse\").nullable(),\n created_at: z.string().describe(\"Timestamp when warehouse was created (ISO 8601)\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default warehouse\").nullable().optional(),\n warehouse_id: z.string().describe(\"Unique identifier for the warehouse\").nullable(),\n origin_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable(),\n return_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable().optional(),\n}).describe(\"Response model for retrieving a warehouse by ID.\");\n\nexport const shipengineGetWarehouseById = action(\"SHIPENGINE_GET_WAREHOUSE_BY_ID\", {\n slug: \"shipengine-get-warehouse-by-id\",\n name: \"Get Warehouse by ID\",\n description: \"Tool to retrieve details of a specific warehouse by ID. Use when you need warehouse information including addresses and default status.\",\n input: ShipengineGetWarehouseByIdInput,\n output: ShipengineGetWarehouseByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,EAC/H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAChE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAChE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAClE,+BAA+BA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAM;CAAS,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-warehouse-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-warehouse-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetWarehouseByIdInput = z.object({\n warehouse_id: z.string().describe(\"Unique ShipEngine warehouse ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for retrieving a warehouse by its ShipEngine ID.\");\nconst ShipengineGetWarehouseById_WarehouseAddressSchema = z.object({\n name: z.string().describe(\"Name at the address\").nullable().optional(),\n phone: z.string().describe(\"Phone number at the address\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable(),\n company_name: z.string().describe(\"Company name at the address\").nullable().optional(),\n country_code: z.string().describe(\"2-letter ISO country code\").nullable(),\n address_line1: z.string().describe(\"Street address (line 1)\").nullable(),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").nullable().optional(),\n address_line3: z.string().describe(\"Additional address line\").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.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").nullable().optional(),\n}).passthrough().describe(\"Address object for warehouse origin or return address.\");\nexport const ShipengineGetWarehouseByIdOutput = z.object({\n name: z.string().describe(\"Name of the warehouse\").nullable(),\n created_at: z.string().describe(\"Timestamp when warehouse was created (ISO 8601)\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default warehouse\").nullable().optional(),\n warehouse_id: z.string().describe(\"Unique identifier for the warehouse\").nullable(),\n origin_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable(),\n return_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a warehouse by ID.\");\n\nexport const shipengineGetWarehouseById = action(\"SHIPENGINE_GET_WAREHOUSE_BY_ID\", {\n slug: \"shipengine-get-warehouse-by-id\",\n name: \"Get Warehouse by ID\",\n description: \"Tool to retrieve details of a specific warehouse by ID. Use when you need warehouse information including addresses and default status.\",\n input: ShipengineGetWarehouseByIdInput,\n output: ShipengineGetWarehouseByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,EAC/H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAChE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CA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a;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,7 +25,7 @@ declare const ShipengineGetWarehouseByIdOutput: z.ZodObject<{
|
|
|
25
25
|
yes: "yes";
|
|
26
26
|
no: "no";
|
|
27
27
|
}>>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
return_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -42,8 +42,8 @@ declare const ShipengineGetWarehouseByIdOutput: z.ZodObject<{
|
|
|
42
42
|
yes: "yes";
|
|
43
43
|
no: "no";
|
|
44
44
|
}>>>;
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>;
|
|
47
47
|
declare const shipengineGetWarehouseById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
48
48
|
warehouse_id: string;
|
|
49
49
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -25,7 +25,7 @@ declare const ShipengineGetWarehouseByIdOutput: z.ZodObject<{
|
|
|
25
25
|
yes: "yes";
|
|
26
26
|
no: "no";
|
|
27
27
|
}>>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
return_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -42,8 +42,8 @@ declare const ShipengineGetWarehouseByIdOutput: z.ZodObject<{
|
|
|
42
42
|
yes: "yes";
|
|
43
43
|
no: "no";
|
|
44
44
|
}>>>;
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>;
|
|
47
47
|
declare const shipengineGetWarehouseById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
48
48
|
warehouse_id: string;
|
|
49
49
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -18,7 +18,7 @@ const ShipengineGetWarehouseById_WarehouseAddressSchema = z.object({
|
|
|
18
18
|
"no",
|
|
19
19
|
"unknown"
|
|
20
20
|
]).describe("Indicates whether the address is residential (yes/no/unknown)").nullable().optional()
|
|
21
|
-
}).describe("Address object for warehouse origin or return address.");
|
|
21
|
+
}).passthrough().describe("Address object for warehouse origin or return address.");
|
|
22
22
|
const shipengineGetWarehouseById = action("SHIPENGINE_GET_WAREHOUSE_BY_ID", {
|
|
23
23
|
slug: "shipengine-get-warehouse-by-id",
|
|
24
24
|
name: "Get Warehouse by ID",
|
|
@@ -31,7 +31,7 @@ const shipengineGetWarehouseById = action("SHIPENGINE_GET_WAREHOUSE_BY_ID", {
|
|
|
31
31
|
warehouse_id: z.string().describe("Unique identifier for the warehouse").nullable(),
|
|
32
32
|
origin_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable(),
|
|
33
33
|
return_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable().optional()
|
|
34
|
-
}).describe("Response model for retrieving a warehouse by ID.")
|
|
34
|
+
}).passthrough().describe("Response model for retrieving a warehouse by ID.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { shipengineGetWarehouseById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-warehouse-by-id.mjs","names":[],"sources":["../../src/actions/get-warehouse-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetWarehouseByIdInput = z.object({\n warehouse_id: z.string().describe(\"Unique ShipEngine warehouse ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for retrieving a warehouse by its ShipEngine ID.\");\nconst ShipengineGetWarehouseById_WarehouseAddressSchema = z.object({\n name: z.string().describe(\"Name at the address\").nullable().optional(),\n phone: z.string().describe(\"Phone number at the address\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable(),\n company_name: z.string().describe(\"Company name at the address\").nullable().optional(),\n country_code: z.string().describe(\"2-letter ISO country code\").nullable(),\n address_line1: z.string().describe(\"Street address (line 1)\").nullable(),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").nullable().optional(),\n address_line3: z.string().describe(\"Additional address line\").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.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").nullable().optional(),\n}).describe(\"Address object for warehouse origin or return address.\");\nexport const ShipengineGetWarehouseByIdOutput = z.object({\n name: z.string().describe(\"Name of the warehouse\").nullable(),\n created_at: z.string().describe(\"Timestamp when warehouse was created (ISO 8601)\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default warehouse\").nullable().optional(),\n warehouse_id: z.string().describe(\"Unique identifier for the warehouse\").nullable(),\n origin_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable(),\n return_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable().optional(),\n}).describe(\"Response model for retrieving a warehouse by ID.\");\n\nexport const shipengineGetWarehouseById = action(\"SHIPENGINE_GET_WAREHOUSE_BY_ID\", {\n slug: \"shipengine-get-warehouse-by-id\",\n name: \"Get Warehouse by ID\",\n description: \"Tool to retrieve details of a specific warehouse by ID. Use when you need warehouse information including addresses and default status.\",\n input: ShipengineGetWarehouseByIdInput,\n output: ShipengineGetWarehouseByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,EAC/H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAChE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACvE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAChE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAClE,+BAA+B,EAAE,KAAK;EAAC;EAAO;EAAM;CAAS,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-warehouse-by-id.mjs","names":[],"sources":["../../src/actions/get-warehouse-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetWarehouseByIdInput = z.object({\n warehouse_id: z.string().describe(\"Unique ShipEngine warehouse ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for retrieving a warehouse by its ShipEngine ID.\");\nconst ShipengineGetWarehouseById_WarehouseAddressSchema = z.object({\n name: z.string().describe(\"Name at the address\").nullable().optional(),\n phone: z.string().describe(\"Phone number at the address\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable(),\n company_name: z.string().describe(\"Company name at the address\").nullable().optional(),\n country_code: z.string().describe(\"2-letter ISO country code\").nullable(),\n address_line1: z.string().describe(\"Street address (line 1)\").nullable(),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").nullable().optional(),\n address_line3: z.string().describe(\"Additional address line\").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.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").nullable().optional(),\n}).passthrough().describe(\"Address object for warehouse origin or return address.\");\nexport const ShipengineGetWarehouseByIdOutput = z.object({\n name: z.string().describe(\"Name of the warehouse\").nullable(),\n created_at: z.string().describe(\"Timestamp when warehouse was created (ISO 8601)\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default warehouse\").nullable().optional(),\n warehouse_id: z.string().describe(\"Unique identifier for the warehouse\").nullable(),\n origin_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable(),\n return_address: ShipengineGetWarehouseById_WarehouseAddressSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a warehouse by ID.\");\n\nexport const shipengineGetWarehouseById = action(\"SHIPENGINE_GET_WAREHOUSE_BY_ID\", {\n slug: \"shipengine-get-warehouse-by-id\",\n name: \"Get Warehouse by ID\",\n description: \"Tool to retrieve details of a specific warehouse by ID. Use when you need warehouse information including addresses and default status.\",\n input: ShipengineGetWarehouseByIdInput,\n output: ShipengineGetWarehouseByIdOutput,\n});\n"],"mappings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M,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAClF,gBAAgB,kDAAkD,SAAS;EAC3E,gBAAgB,kDAAkD,SAAS,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ShipengineGetWebhookByIdInput = zod.z.object({ webhook_id: zod.z.string().
|
|
|
5
5
|
const ShipengineGetWebhookById_WebhookHeaderSchema = zod.z.object({
|
|
6
6
|
name: zod.z.string().describe("Header name").nullable(),
|
|
7
7
|
value: zod.z.string().describe("Header value").nullable()
|
|
8
|
-
}).describe("Custom header to be sent with webhook notifications.");
|
|
8
|
+
}).passthrough().describe("Custom header to be sent with webhook notifications.");
|
|
9
9
|
const ShipengineGetWebhookByIdOutput = zod.z.object({
|
|
10
10
|
url: zod.z.string().describe("The webhook URL where event notifications are sent.").nullable(),
|
|
11
11
|
name: zod.z.string().describe("Name of the webhook.").nullable().optional(),
|
|
@@ -13,7 +13,7 @@ const ShipengineGetWebhookByIdOutput = zod.z.object({
|
|
|
13
13
|
headers: zod.z.array(ShipengineGetWebhookById_WebhookHeaderSchema).describe("Custom headers to be sent with webhook notifications.").nullable().optional(),
|
|
14
14
|
store_id: zod.z.number().int().describe("Store ID associated with the webhook.").nullable().optional(),
|
|
15
15
|
webhook_id: zod.z.string().describe("Unique identifier for the webhook.").nullable()
|
|
16
|
-
}).describe("Response returned when retrieving a webhook by ID.");
|
|
16
|
+
}).passthrough().describe("Response returned when retrieving a webhook by ID.");
|
|
17
17
|
const shipengineGetWebhookById = require_action.action("SHIPENGINE_GET_WEBHOOK_BY_ID", {
|
|
18
18
|
slug: "shipengine-get-webhook-by-id",
|
|
19
19
|
name: "Get Webhook by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetWebhookByIdInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier for the webhook to retrieve. Must be a valid ShipEngine webhook ID.\"),\n}).describe(\"Request parameters for retrieving a webhook by its ID.\");\nconst ShipengineGetWebhookById_WebhookHeaderSchema = z.object({\n name: z.string().describe(\"Header name\").nullable(),\n value: z.string().describe(\"Header value\").nullable(),\n}).describe(\"Custom header to be sent with webhook notifications.\");\nexport const ShipengineGetWebhookByIdOutput = z.object({\n url: z.string().describe(\"The webhook URL where event notifications are sent.\").nullable(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n event: z.string().describe(\"The event to which the webhook is subscribed (e.g., 'batch', 'track', 'rate').\").nullable(),\n headers: z.array(ShipengineGetWebhookById_WebhookHeaderSchema).describe(\"Custom headers to be sent with webhook notifications.\").nullable().optional(),\n store_id: z.number().int().describe(\"Store ID associated with the webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n}).describe(\"Response returned when retrieving a webhook by ID.\");\n\nexport const shipengineGetWebhookById = action(\"SHIPENGINE_GET_WEBHOOK_BY_ID\", {\n slug: \"shipengine-get-webhook-by-id\",\n name: \"Get Webhook by ID\",\n description: \"Tool to retrieve details of a specific webhook by ID. Use when you need to view the configuration of an existing webhook.\",\n input: ShipengineGetWebhookByIdInput,\n output: ShipengineGetWebhookByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACzH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"get-webhook-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetWebhookByIdInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier for the webhook to retrieve. Must be a valid ShipEngine webhook ID.\"),\n}).describe(\"Request parameters for retrieving a webhook by its ID.\");\nconst ShipengineGetWebhookById_WebhookHeaderSchema = z.object({\n name: z.string().describe(\"Header name\").nullable(),\n value: z.string().describe(\"Header value\").nullable(),\n}).passthrough().describe(\"Custom header to be sent with webhook notifications.\");\nexport const ShipengineGetWebhookByIdOutput = z.object({\n url: z.string().describe(\"The webhook URL where event notifications are sent.\").nullable(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n event: z.string().describe(\"The event to which the webhook is subscribed (e.g., 'batch', 'track', 'rate').\").nullable(),\n headers: z.array(ShipengineGetWebhookById_WebhookHeaderSchema).describe(\"Custom headers to be sent with webhook notifications.\").nullable().optional(),\n store_id: z.number().int().describe(\"Store ID associated with the webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n}).passthrough().describe(\"Response returned when retrieving a webhook by ID.\");\n\nexport const shipengineGetWebhookById = action(\"SHIPENGINE_GET_WEBHOOK_BY_ID\", {\n slug: \"shipengine-get-webhook-by-id\",\n name: \"Get Webhook by ID\",\n description: \"Tool to retrieve details of a specific webhook by ID. Use when you need to view the configuration of an existing webhook.\",\n input: Ship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ShipengineGetWebhookByIdOutput: z.ZodObject<{
|
|
|
11
11
|
headers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
value: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
store_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
webhook_id: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const shipengineGetWebhookById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
webhook_id: string;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,10 +11,10 @@ declare const ShipengineGetWebhookByIdOutput: z.ZodObject<{
|
|
|
11
11
|
headers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
value: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
store_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
webhook_id: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const shipengineGetWebhookById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
webhook_id: string;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const ShipengineGetWebhookByIdInput = z.object({ webhook_id: z.string().describe
|
|
|
5
5
|
const ShipengineGetWebhookById_WebhookHeaderSchema = z.object({
|
|
6
6
|
name: z.string().describe("Header name").nullable(),
|
|
7
7
|
value: z.string().describe("Header value").nullable()
|
|
8
|
-
}).describe("Custom header to be sent with webhook notifications.");
|
|
8
|
+
}).passthrough().describe("Custom header to be sent with webhook notifications.");
|
|
9
9
|
const shipengineGetWebhookById = action("SHIPENGINE_GET_WEBHOOK_BY_ID", {
|
|
10
10
|
slug: "shipengine-get-webhook-by-id",
|
|
11
11
|
name: "Get Webhook by ID",
|
|
@@ -18,7 +18,7 @@ const shipengineGetWebhookById = action("SHIPENGINE_GET_WEBHOOK_BY_ID", {
|
|
|
18
18
|
headers: z.array(ShipengineGetWebhookById_WebhookHeaderSchema).describe("Custom headers to be sent with webhook notifications.").nullable().optional(),
|
|
19
19
|
store_id: z.number().int().describe("Store ID associated with the webhook.").nullable().optional(),
|
|
20
20
|
webhook_id: z.string().describe("Unique identifier for the webhook.").nullable()
|
|
21
|
-
}).describe("Response returned when retrieving a webhook by ID.")
|
|
21
|
+
}).passthrough().describe("Response returned when retrieving a webhook by ID.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { shipengineGetWebhookById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-by-id.mjs","names":[],"sources":["../../src/actions/get-webhook-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetWebhookByIdInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier for the webhook to retrieve. Must be a valid ShipEngine webhook ID.\"),\n}).describe(\"Request parameters for retrieving a webhook by its ID.\");\nconst ShipengineGetWebhookById_WebhookHeaderSchema = z.object({\n name: z.string().describe(\"Header name\").nullable(),\n value: z.string().describe(\"Header value\").nullable(),\n}).describe(\"Custom header to be sent with webhook notifications.\");\nexport const ShipengineGetWebhookByIdOutput = z.object({\n url: z.string().describe(\"The webhook URL where event notifications are sent.\").nullable(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n event: z.string().describe(\"The event to which the webhook is subscribed (e.g., 'batch', 'track', 'rate').\").nullable(),\n headers: z.array(ShipengineGetWebhookById_WebhookHeaderSchema).describe(\"Custom headers to be sent with webhook notifications.\").nullable().optional(),\n store_id: z.number().int().describe(\"Store ID associated with the webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n}).describe(\"Response returned when retrieving a webhook by ID.\");\n\nexport const shipengineGetWebhookById = action(\"SHIPENGINE_GET_WEBHOOK_BY_ID\", {\n slug: \"shipengine-get-webhook-by-id\",\n name: \"Get Webhook by ID\",\n description: \"Tool to retrieve details of a specific webhook by ID. Use when you need to view the configuration of an existing webhook.\",\n input: ShipengineGetWebhookByIdInput,\n output: ShipengineGetWebhookByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACzH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"get-webhook-by-id.mjs","names":[],"sources":["../../src/actions/get-webhook-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetWebhookByIdInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier for the webhook to retrieve. Must be a valid ShipEngine webhook ID.\"),\n}).describe(\"Request parameters for retrieving a webhook by its ID.\");\nconst ShipengineGetWebhookById_WebhookHeaderSchema = z.object({\n name: z.string().describe(\"Header name\").nullable(),\n value: z.string().describe(\"Header value\").nullable(),\n}).passthrough().describe(\"Custom header to be sent with webhook notifications.\");\nexport const ShipengineGetWebhookByIdOutput = z.object({\n url: z.string().describe(\"The webhook URL where event notifications are sent.\").nullable(),\n name: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n event: z.string().describe(\"The event to which the webhook is subscribed (e.g., 'batch', 'track', 'rate').\").nullable(),\n headers: z.array(ShipengineGetWebhookById_WebhookHeaderSchema).describe(\"Custom headers to be sent with webhook notifications.\").nullable().optional(),\n store_id: z.number().int().describe(\"Store ID associated with the webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n}).passthrough().describe(\"Response returned when retrieving a webhook by ID.\");\n\nexport const shipengineGetWebhookById = action(\"SHIPENGINE_GET_WEBHOOK_BY_ID\", {\n slug: \"shipengine-get-webhook-by-id\",\n name: \"Get Webhook by ID\",\n description: \"Tool to retrieve details of a specific webhook by ID. Use when you need to view the configuration of an existing webhook.\",\n input: ShipengineGetWebhookByIdInput,\n output: ShipengineGetWebhookByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACzH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAUhF,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACtH,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ const ShipengineListAccountImages_AccountImageSchema = zod.z.object({
|
|
|
10
10
|
modified_at: zod.z.string().describe("Timestamp when the image was last modified (ISO 8601 format)").nullable().optional(),
|
|
11
11
|
label_image_id: zod.z.string().describe("Unique identifier for the label image").nullable().optional(),
|
|
12
12
|
image_content_type: zod.z.string().describe("MIME type of the image (e.g., image/png, image/jpeg)").nullable().optional()
|
|
13
|
-
}).describe("Represents an account image object.");
|
|
14
|
-
const ShipengineListAccountImagesOutput = zod.z.object({ images: zod.z.array(ShipengineListAccountImages_AccountImageSchema).describe("List of account images configured for the ShipEngine account") }).describe("Response model for listing account images.");
|
|
13
|
+
}).passthrough().describe("Represents an account image object.");
|
|
14
|
+
const ShipengineListAccountImagesOutput = zod.z.object({ images: zod.z.array(ShipengineListAccountImages_AccountImageSchema).describe("List of account images configured for the ShipEngine account") }).passthrough().describe("Response model for listing account images.");
|
|
15
15
|
const shipengineListAccountImages = require_action.action("SHIPENGINE_LIST_ACCOUNT_IMAGES", {
|
|
16
16
|
slug: "shipengine-list-account-images",
|
|
17
17
|
name: "List Account Images",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-account-images.cjs","names":["z","action"],"sources":["../../src/actions/list-account-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListAccountImagesInput = z.object({}).describe(\"Request model for listing account images. This endpoint does not require any parameters.\");\nconst ShipengineListAccountImages_AccountImageSchema = z.object({\n name: z.string().describe(\"Name of the account image\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the image was created (ISO 8601 format)\").nullable().optional(),\n image_data: z.string().describe(\"Base64-encoded image data\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the image was last modified (ISO 8601 format)\").nullable().optional(),\n label_image_id: z.string().describe(\"Unique identifier for the label image\").nullable().optional(),\n image_content_type: z.string().describe(\"MIME type of the image (e.g., image/png, image/jpeg)\").nullable().optional(),\n}).describe(\"Represents an account image object.\");\nexport const ShipengineListAccountImagesOutput = z.object({\n images: z.array(ShipengineListAccountImages_AccountImageSchema).describe(\"List of account images configured for the ShipEngine account\"),\n}).describe(\"Response model for listing account images.\");\n\nexport const shipengineListAccountImages = action(\"SHIPENGINE_LIST_ACCOUNT_IMAGES\", {\n slug: \"shipengine-list-account-images\",\n name: \"List Account Images\",\n description: \"Tool to list all account images. Use when you need to retrieve all images configured for the ShipEngine account, such as logos or branding images used on shipping labels.\",\n input: ShipengineListAccountImagesInput,\n output: ShipengineListAccountImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAChK,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"list-account-images.cjs","names":["z","action"],"sources":["../../src/actions/list-account-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListAccountImagesInput = z.object({}).describe(\"Request model for listing account images. This endpoint does not require any parameters.\");\nconst ShipengineListAccountImages_AccountImageSchema = z.object({\n name: z.string().describe(\"Name of the account image\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the image was created (ISO 8601 format)\").nullable().optional(),\n image_data: z.string().describe(\"Base64-encoded image data\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the image was last modified (ISO 8601 format)\").nullable().optional(),\n label_image_id: z.string().describe(\"Unique identifier for the label image\").nullable().optional(),\n image_content_type: z.string().describe(\"MIME type of the image (e.g., image/png, image/jpeg)\").nullable().optional(),\n}).passthrough().describe(\"Represents an account image object.\");\nexport const ShipengineListAccountImagesOutput = z.object({\n images: z.array(ShipengineListAccountImages_AccountImageSchema).describe(\"List of account images configured for the ShipEngine account\"),\n}).passthrough().describe(\"Response model for listing account images.\");\n\nexport const shipengineListAccountImages = action(\"SHIPENGINE_LIST_ACCOUNT_IMAGES\", {\n slug: \"shipengine-list-account-images\",\n name: \"List Account Images\",\n description: \"Tool to list all account images. Use when you need to retrieve all images configured for the ShipEngine account, such as logos or branding images used on shipping labels.\",\n input: ShipengineListAccountImagesInput,\n output: ShipengineListAccountImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAChK,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8DAA8D,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const ShipengineListAccountImagesOutput: z.ZodObject<{
|
|
|
11
11
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
label_image_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
image_content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const shipengineListAccountImages: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { shipengineListAccountImages };
|
|
@@ -11,8 +11,8 @@ declare const ShipengineListAccountImagesOutput: z.ZodObject<{
|
|
|
11
11
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
label_image_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
image_content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const shipengineListAccountImages: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { shipengineListAccountImages };
|
|
@@ -10,13 +10,13 @@ const ShipengineListAccountImages_AccountImageSchema = z.object({
|
|
|
10
10
|
modified_at: z.string().describe("Timestamp when the image was last modified (ISO 8601 format)").nullable().optional(),
|
|
11
11
|
label_image_id: z.string().describe("Unique identifier for the label image").nullable().optional(),
|
|
12
12
|
image_content_type: z.string().describe("MIME type of the image (e.g., image/png, image/jpeg)").nullable().optional()
|
|
13
|
-
}).describe("Represents an account image object.");
|
|
13
|
+
}).passthrough().describe("Represents an account image object.");
|
|
14
14
|
const shipengineListAccountImages = action("SHIPENGINE_LIST_ACCOUNT_IMAGES", {
|
|
15
15
|
slug: "shipengine-list-account-images",
|
|
16
16
|
name: "List Account Images",
|
|
17
17
|
description: "Tool to list all account images. Use when you need to retrieve all images configured for the ShipEngine account, such as logos or branding images used on shipping labels.",
|
|
18
18
|
input: ShipengineListAccountImagesInput,
|
|
19
|
-
output: z.object({ images: z.array(ShipengineListAccountImages_AccountImageSchema).describe("List of account images configured for the ShipEngine account") }).describe("Response model for listing account images.")
|
|
19
|
+
output: z.object({ images: z.array(ShipengineListAccountImages_AccountImageSchema).describe("List of account images configured for the ShipEngine account") }).passthrough().describe("Response model for listing account images.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { shipengineListAccountImages };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-account-images.mjs","names":[],"sources":["../../src/actions/list-account-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListAccountImagesInput = z.object({}).describe(\"Request model for listing account images. This endpoint does not require any parameters.\");\nconst ShipengineListAccountImages_AccountImageSchema = z.object({\n name: z.string().describe(\"Name of the account image\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the image was created (ISO 8601 format)\").nullable().optional(),\n image_data: z.string().describe(\"Base64-encoded image data\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the image was last modified (ISO 8601 format)\").nullable().optional(),\n label_image_id: z.string().describe(\"Unique identifier for the label image\").nullable().optional(),\n image_content_type: z.string().describe(\"MIME type of the image (e.g., image/png, image/jpeg)\").nullable().optional(),\n}).describe(\"Represents an account image object.\");\nexport const ShipengineListAccountImagesOutput = z.object({\n images: z.array(ShipengineListAccountImages_AccountImageSchema).describe(\"List of account images configured for the ShipEngine account\"),\n}).describe(\"Response model for listing account images.\");\n\nexport const shipengineListAccountImages = action(\"SHIPENGINE_LIST_ACCOUNT_IMAGES\", {\n slug: \"shipengine-list-account-images\",\n name: \"List Account Images\",\n description: \"Tool to list all account images. Use when you need to retrieve all images configured for the ShipEngine account, such as logos or branding images used on shipping labels.\",\n input: ShipengineListAccountImagesInput,\n output: ShipengineListAccountImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAChK,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"list-account-images.mjs","names":[],"sources":["../../src/actions/list-account-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListAccountImagesInput = z.object({}).describe(\"Request model for listing account images. This endpoint does not require any parameters.\");\nconst ShipengineListAccountImages_AccountImageSchema = z.object({\n name: z.string().describe(\"Name of the account image\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the image was created (ISO 8601 format)\").nullable().optional(),\n image_data: z.string().describe(\"Base64-encoded image data\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the image was last modified (ISO 8601 format)\").nullable().optional(),\n label_image_id: z.string().describe(\"Unique identifier for the label image\").nullable().optional(),\n image_content_type: z.string().describe(\"MIME type of the image (e.g., image/png, image/jpeg)\").nullable().optional(),\n}).passthrough().describe(\"Represents an account image object.\");\nexport const ShipengineListAccountImagesOutput = z.object({\n images: z.array(ShipengineListAccountImages_AccountImageSchema).describe(\"List of account images configured for the ShipEngine account\"),\n}).passthrough().describe(\"Response model for listing account images.\");\n\nexport const shipengineListAccountImages = action(\"SHIPENGINE_LIST_ACCOUNT_IMAGES\", {\n slug: \"shipengine-list-account-images\",\n name: \"List Account Images\",\n description: \"Tool to list all account images. Use when you need to retrieve all images configured for the ShipEngine account, such as logos or branding images used on shipping labels.\",\n input: ShipengineListAccountImagesInput,\n output: ShipengineListAccountImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAChK,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,QAAQ,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8DAA8D,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -31,7 +31,7 @@ const ShipengineListBatches2_PaginationLinkSchema = zod.z.object({
|
|
|
31
31
|
next: zod.z.unknown().describe("URL to the next page of results.").nullable().optional(),
|
|
32
32
|
prev: zod.z.unknown().describe("URL to the previous page of results.").nullable().optional(),
|
|
33
33
|
first: zod.z.unknown().describe("URL to the first page of results.").nullable().optional()
|
|
34
|
-
}).describe("Pagination links for navigating through result pages.");
|
|
34
|
+
}).passthrough().describe("Pagination links for navigating through result pages.");
|
|
35
35
|
const ShipengineListBatches2_BatchSchema = zod.z.object({
|
|
36
36
|
count: zod.z.number().int().describe("Total number of shipments in the batch.").nullable(),
|
|
37
37
|
forms: zod.z.number().int().describe("Number of forms in the batch.").nullable(),
|
|
@@ -54,14 +54,14 @@ const ShipengineListBatches2_BatchSchema = zod.z.object({
|
|
|
54
54
|
external_batch_id: zod.z.string().describe("External batch identifier.").nullable().optional(),
|
|
55
55
|
paperless_download: zod.z.unknown().describe("URL to download paperless documents.").nullable().optional(),
|
|
56
56
|
batch_shipments_url: zod.z.unknown().describe("URL to retrieve batch shipments.").nullable().optional()
|
|
57
|
-
}).describe("Batch information.");
|
|
57
|
+
}).passthrough().describe("Batch information.");
|
|
58
58
|
const ShipengineListBatches2Output = zod.z.object({
|
|
59
59
|
page: zod.z.number().int().describe("The current page number.").nullable(),
|
|
60
60
|
links: ShipengineListBatches2_PaginationLinkSchema.nullable(),
|
|
61
61
|
pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
|
|
62
62
|
total: zod.z.number().int().describe("Total number of batches matching the query.").nullable(),
|
|
63
63
|
batches: zod.z.array(ShipengineListBatches2_BatchSchema).describe("List of batches.")
|
|
64
|
-
}).describe("Response containing list of batches with pagination information.");
|
|
64
|
+
}).passthrough().describe("Response containing list of batches with pagination information.");
|
|
65
65
|
const shipengineListBatches2 = require_action.action("SHIPENGINE_LIST_BATCHES2", {
|
|
66
66
|
slug: "shipengine-list-batches2",
|
|
67
67
|
name: "List Batches (v2)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-batches2.cjs","names":["z","action"],"sources":["../../src/actions/list-batches2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListBatches2Input = z.object({\n page: z.number().int().default(1).describe(\"Return a specific page of results. Defaults to the first page. If set to a number greater than the number of pages of results, an empty page is returned.\").optional(),\n status: z.enum([\"open\", \"queued\", \"processing\", \"completed\", \"completed_with_errors\", \"archived\", \"notifying\", \"invalid\"]).describe(\"Possible batch status values\").optional(),\n sort_by: z.enum([\"ship_date\", \"processed_at\", \"created_at\"]).describe(\"Possible batch sort by values\").optional(),\n sort_dir: z.string().default(\"desc\").describe(\"Controls the sort order of the query (asc or desc).\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of results to return per response.\").optional(),\n batch_number: z.string().describe(\"Filter by batch number.\").optional(),\n created_at_end: z.string().describe(\"Only return batches that were created on or before a specific date/time (ISO 8601 format).\").optional(),\n created_at_start: z.string().describe(\"Only return batches that were created on or after a specific date/time (ISO 8601 format).\").optional(),\n processed_at_end: z.string().describe(\"Only return batches that were processed on or before a specific date/time (ISO 8601 format).\").optional(),\n processed_at_start: z.string().describe(\"Only return batches that were processed on or after a specific date/time (ISO 8601 format).\").optional(),\n}).describe(\"Parameters for listing batches with optional filtering.\");\nconst ShipengineListBatches2_PaginationLinkSchema = z.object({\n last: z.unknown().describe(\"URL to the last page of results.\").nullable().optional(),\n next: z.unknown().describe(\"URL to the next page of results.\").nullable().optional(),\n prev: z.unknown().describe(\"URL to the previous page of results.\").nullable().optional(),\n first: z.unknown().describe(\"URL to the first page of results.\").nullable().optional(),\n}).describe(\"Pagination links for navigating through result pages.\");\nconst ShipengineListBatches2_BatchSchema = z.object({\n count: z.number().int().describe(\"Total number of shipments in the batch.\").nullable(),\n forms: z.number().int().describe(\"Number of forms in the batch.\").nullable(),\n errors: z.number().int().describe(\"Number of errors in the batch.\").nullable(),\n status: z.string().describe(\"Current status of the batch.\").nullable(),\n batch_id: z.string().describe(\"Unique identifier for the batch.\").nullable(),\n warnings: z.number().int().describe(\"Number of warnings in the batch.\").nullable(),\n completed: z.number().int().describe(\"Number of completed items in the batch.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\").nullable(),\n batch_notes: z.string().describe(\"Notes associated with the batch.\").nullable().optional(),\n batch_number: z.string().describe(\"Batch number.\").nullable(),\n label_format: z.string().describe(\"Format of the batch labels (e.g., 'pdf', 'zpl').\").nullable().optional(),\n label_layout: z.string().describe(\"Layout of the batch labels.\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when the batch was processed (ISO 8601).\").nullable().optional(),\n form_download: z.unknown().describe(\"URL to download forms.\").nullable().optional(),\n label_download: z.unknown().describe(\"URL to download labels.\").nullable().optional(),\n process_errors: z.array(z.unknown()).describe(\"List of processing errors.\").nullable().optional(),\n batch_errors_url: z.unknown().describe(\"URL to retrieve batch errors.\").nullable().optional(),\n batch_labels_url: z.unknown().describe(\"URL to retrieve batch labels.\").nullable().optional(),\n external_batch_id: z.string().describe(\"External batch identifier.\").nullable().optional(),\n paperless_download: z.unknown().describe(\"URL to download paperless documents.\").nullable().optional(),\n batch_shipments_url: z.unknown().describe(\"URL to retrieve batch shipments.\").nullable().optional(),\n}).describe(\"Batch information.\");\nexport const ShipengineListBatches2Output = z.object({\n page: z.number().int().describe(\"The current page number.\").nullable(),\n links: ShipengineListBatches2_PaginationLinkSchema.nullable(),\n pages: z.number().int().describe(\"Total number of pages available.\").nullable(),\n total: z.number().int().describe(\"Total number of batches matching the query.\").nullable(),\n batches: z.array(ShipengineListBatches2_BatchSchema).describe(\"List of batches.\"),\n}).describe(\"Response containing list of batches with pagination information.\");\n\nexport const shipengineListBatches2 = action(\"SHIPENGINE_LIST_BATCHES2\", {\n slug: \"shipengine-list-batches2\",\n name: \"List Batches (v2)\",\n description: \"Tool to list all batches with comprehensive filtering options. Use when you need to retrieve batches with filters for status, creation/processing dates, batch number, or pagination.\",\n input: ShipengineListBatches2Input,\n output: ShipengineListBatches2Output,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACjN,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;EAAc;EAAa;EAAyB;EAAY;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7K,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAgB;CAAY,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC3I,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC5I,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC/I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,uDAAuD;
|
|
1
|
+
{"version":3,"file":"list-batches2.cjs","names":["z","action"],"sources":["../../src/actions/list-batches2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineListBatches2Input = z.object({\n page: z.number().int().default(1).describe(\"Return a specific page of results. Defaults to the first page. If set to a number greater than the number of pages of results, an empty page is returned.\").optional(),\n status: z.enum([\"open\", \"queued\", \"processing\", \"completed\", \"completed_with_errors\", \"archived\", \"notifying\", \"invalid\"]).describe(\"Possible batch status values\").optional(),\n sort_by: z.enum([\"ship_date\", \"processed_at\", \"created_at\"]).describe(\"Possible batch sort by values\").optional(),\n sort_dir: z.string().default(\"desc\").describe(\"Controls the sort order of the query (asc or desc).\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of results to return per response.\").optional(),\n batch_number: z.string().describe(\"Filter by batch number.\").optional(),\n created_at_end: z.string().describe(\"Only return batches that were created on or before a specific date/time (ISO 8601 format).\").optional(),\n created_at_start: z.string().describe(\"Only return batches that were created on or after a specific date/time (ISO 8601 format).\").optional(),\n processed_at_end: z.string().describe(\"Only return batches that were processed on or before a specific date/time (ISO 8601 format).\").optional(),\n processed_at_start: z.string().describe(\"Only return batches that were processed on or after a specific date/time (ISO 8601 format).\").optional(),\n}).describe(\"Parameters for listing batches with optional filtering.\");\nconst ShipengineListBatches2_PaginationLinkSchema = z.object({\n last: z.unknown().describe(\"URL to the last page of results.\").nullable().optional(),\n next: z.unknown().describe(\"URL to the next page of results.\").nullable().optional(),\n prev: z.unknown().describe(\"URL to the previous page of results.\").nullable().optional(),\n first: z.unknown().describe(\"URL to the first page of results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through result pages.\");\nconst ShipengineListBatches2_BatchSchema = z.object({\n count: z.number().int().describe(\"Total number of shipments in the batch.\").nullable(),\n forms: z.number().int().describe(\"Number of forms in the batch.\").nullable(),\n errors: z.number().int().describe(\"Number of errors in the batch.\").nullable(),\n status: z.string().describe(\"Current status of the batch.\").nullable(),\n batch_id: z.string().describe(\"Unique identifier for the batch.\").nullable(),\n warnings: z.number().int().describe(\"Number of warnings in the batch.\").nullable(),\n completed: z.number().int().describe(\"Number of completed items in the batch.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\").nullable(),\n batch_notes: z.string().describe(\"Notes associated with the batch.\").nullable().optional(),\n batch_number: z.string().describe(\"Batch number.\").nullable(),\n label_format: z.string().describe(\"Format of the batch labels (e.g., 'pdf', 'zpl').\").nullable().optional(),\n label_layout: z.string().describe(\"Layout of the batch labels.\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when the batch was processed (ISO 8601).\").nullable().optional(),\n form_download: z.unknown().describe(\"URL to download forms.\").nullable().optional(),\n label_download: z.unknown().describe(\"URL to download labels.\").nullable().optional(),\n process_errors: z.array(z.unknown()).describe(\"List of processing errors.\").nullable().optional(),\n batch_errors_url: z.unknown().describe(\"URL to retrieve batch errors.\").nullable().optional(),\n batch_labels_url: z.unknown().describe(\"URL to retrieve batch labels.\").nullable().optional(),\n external_batch_id: z.string().describe(\"External batch identifier.\").nullable().optional(),\n paperless_download: z.unknown().describe(\"URL to download paperless documents.\").nullable().optional(),\n batch_shipments_url: z.unknown().describe(\"URL to retrieve batch shipments.\").nullable().optional(),\n}).passthrough().describe(\"Batch information.\");\nexport const ShipengineListBatches2Output = z.object({\n page: z.number().int().describe(\"The current page number.\").nullable(),\n links: ShipengineListBatches2_PaginationLinkSchema.nullable(),\n pages: z.number().int().describe(\"Total number of pages available.\").nullable(),\n total: z.number().int().describe(\"Total number of batches matching the query.\").nullable(),\n batches: z.array(ShipengineListBatches2_BatchSchema).describe(\"List of batches.\"),\n}).passthrough().describe(\"Response containing list of batches with pagination information.\");\n\nexport const shipengineListBatches2 = action(\"SHIPENGINE_LIST_BATCHES2\", {\n slug: \"shipengine-list-batches2\",\n name: \"List Batches (v2)\",\n description: \"Tool to list all batches with comprehensive filtering options. Use when you need to retrieve batches with filters for status, creation/processing dates, batch number, or pagination.\",\n input: ShipengineListBatches2Input,\n output: ShipengineListBatches2Output,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACjN,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EA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AAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,kBAAkB;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,8 +15,8 @@ declare const ShipengineListBatches2Input: z.ZodObject<{
|
|
|
15
15
|
}>>;
|
|
16
16
|
sort_by: z.ZodOptional<z.ZodEnum<{
|
|
17
17
|
created_at: "created_at";
|
|
18
|
-
processed_at: "processed_at";
|
|
19
18
|
ship_date: "ship_date";
|
|
19
|
+
processed_at: "processed_at";
|
|
20
20
|
}>>;
|
|
21
21
|
sort_dir: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
22
22
|
page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
@@ -33,7 +33,7 @@ declare const ShipengineListBatches2Output: z.ZodObject<{
|
|
|
33
33
|
next: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
34
34
|
prev: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
35
35
|
first: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
37
|
pages: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
total: z.ZodNullable<z.ZodNumber>;
|
|
39
39
|
batches: z.ZodArray<z.ZodObject<{
|
|
@@ -58,12 +58,12 @@ declare const ShipengineListBatches2Output: z.ZodObject<{
|
|
|
58
58
|
external_batch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
paperless_download: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
60
60
|
batch_shipments_url: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
61
|
-
}, z.core.$
|
|
62
|
-
}, z.core.$
|
|
61
|
+
}, z.core.$loose>>;
|
|
62
|
+
}, z.core.$loose>;
|
|
63
63
|
declare const shipengineListBatches2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
64
64
|
page?: number | undefined;
|
|
65
65
|
status?: "completed" | "open" | "queued" | "processing" | "completed_with_errors" | "archived" | "notifying" | "invalid" | undefined;
|
|
66
|
-
sort_by?: "created_at" | "
|
|
66
|
+
sort_by?: "created_at" | "ship_date" | "processed_at" | undefined;
|
|
67
67
|
sort_dir?: string | undefined;
|
|
68
68
|
page_size?: number | undefined;
|
|
69
69
|
batch_number?: string | undefined;
|