@keystrokehq/shipengine 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-tag-to-shipment.cjs +1 -0
- package/dist/actions/add-tag-to-shipment.cjs.map +1 -1
- package/dist/actions/add-tag-to-shipment.d.cts +3 -16
- package/dist/actions/add-tag-to-shipment.d.cts.map +1 -1
- package/dist/actions/add-tag-to-shipment.d.mts +3 -16
- package/dist/actions/add-tag-to-shipment.d.mts.map +1 -1
- package/dist/actions/add-tag-to-shipment.mjs +1 -0
- package/dist/actions/add-tag-to-shipment.mjs.map +1 -1
- package/dist/actions/add-to-batch.cjs +1 -0
- package/dist/actions/add-to-batch.cjs.map +1 -1
- package/dist/actions/add-to-batch.d.cts +3 -17
- package/dist/actions/add-to-batch.d.cts.map +1 -1
- package/dist/actions/add-to-batch.d.mts +3 -17
- package/dist/actions/add-to-batch.d.mts.map +1 -1
- package/dist/actions/add-to-batch.mjs +1 -0
- package/dist/actions/add-to-batch.mjs.map +1 -1
- package/dist/actions/cancel-shipment.cjs +1 -0
- package/dist/actions/cancel-shipment.cjs.map +1 -1
- package/dist/actions/cancel-shipment.d.cts +3 -15
- package/dist/actions/cancel-shipment.d.cts.map +1 -1
- package/dist/actions/cancel-shipment.d.mts +3 -15
- package/dist/actions/cancel-shipment.d.mts.map +1 -1
- package/dist/actions/cancel-shipment.mjs +1 -0
- package/dist/actions/cancel-shipment.mjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.cjs +1 -0
- package/dist/actions/connect-ltl-carrier.cjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.d.cts +3 -16
- package/dist/actions/connect-ltl-carrier.d.cts.map +1 -1
- package/dist/actions/connect-ltl-carrier.d.mts +3 -16
- package/dist/actions/connect-ltl-carrier.d.mts.map +1 -1
- package/dist/actions/connect-ltl-carrier.mjs +1 -0
- package/dist/actions/connect-ltl-carrier.mjs.map +1 -1
- package/dist/actions/connect-shipsurance.cjs +1 -0
- package/dist/actions/connect-shipsurance.cjs.map +1 -1
- package/dist/actions/connect-shipsurance.d.cts +3 -16
- package/dist/actions/connect-shipsurance.d.cts.map +1 -1
- package/dist/actions/connect-shipsurance.d.mts +3 -16
- package/dist/actions/connect-shipsurance.d.mts.map +1 -1
- package/dist/actions/connect-shipsurance.mjs +1 -0
- package/dist/actions/connect-shipsurance.mjs.map +1 -1
- package/dist/actions/create-account-image.cjs +1 -0
- package/dist/actions/create-account-image.cjs.map +1 -1
- package/dist/actions/create-account-image.d.cts +3 -17
- package/dist/actions/create-account-image.d.cts.map +1 -1
- package/dist/actions/create-account-image.d.mts +3 -17
- package/dist/actions/create-account-image.d.mts.map +1 -1
- package/dist/actions/create-account-image.mjs +1 -0
- package/dist/actions/create-account-image.mjs.map +1 -1
- package/dist/actions/create-package-type.cjs +1 -0
- package/dist/actions/create-package-type.cjs.map +1 -1
- package/dist/actions/create-package-type.d.cts +3 -23
- package/dist/actions/create-package-type.d.cts.map +1 -1
- package/dist/actions/create-package-type.d.mts +3 -23
- package/dist/actions/create-package-type.d.mts.map +1 -1
- package/dist/actions/create-package-type.mjs +1 -0
- package/dist/actions/create-package-type.mjs.map +1 -1
- package/dist/actions/create-tag.cjs +1 -0
- package/dist/actions/create-tag.cjs.map +1 -1
- package/dist/actions/create-tag.d.cts +3 -15
- package/dist/actions/create-tag.d.cts.map +1 -1
- package/dist/actions/create-tag.d.mts +3 -15
- package/dist/actions/create-tag.d.mts.map +1 -1
- package/dist/actions/create-tag.mjs +1 -0
- package/dist/actions/create-tag.mjs.map +1 -1
- package/dist/actions/create-tag2.cjs +1 -0
- package/dist/actions/create-tag2.cjs.map +1 -1
- package/dist/actions/create-tag2.d.cts +3 -15
- package/dist/actions/create-tag2.d.cts.map +1 -1
- package/dist/actions/create-tag2.d.mts +3 -15
- package/dist/actions/create-tag2.d.mts.map +1 -1
- package/dist/actions/create-tag2.mjs +1 -0
- package/dist/actions/create-tag2.mjs.map +1 -1
- package/dist/actions/create-warehouse.cjs +1 -0
- package/dist/actions/create-warehouse.cjs.map +1 -1
- package/dist/actions/create-warehouse.d.cts +3 -42
- package/dist/actions/create-warehouse.d.cts.map +1 -1
- package/dist/actions/create-warehouse.d.mts +3 -42
- package/dist/actions/create-warehouse.d.mts.map +1 -1
- package/dist/actions/create-warehouse.mjs +1 -0
- package/dist/actions/create-warehouse.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -16
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -16
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-account-image-by-id.cjs +1 -0
- package/dist/actions/delete-account-image-by-id.cjs.map +1 -1
- package/dist/actions/delete-account-image-by-id.d.cts +3 -15
- package/dist/actions/delete-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/delete-account-image-by-id.d.mts +3 -15
- package/dist/actions/delete-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/delete-account-image-by-id.mjs +1 -0
- package/dist/actions/delete-account-image-by-id.mjs.map +1 -1
- package/dist/actions/delete-batch.cjs +1 -0
- package/dist/actions/delete-batch.cjs.map +1 -1
- package/dist/actions/delete-batch.d.cts +3 -15
- package/dist/actions/delete-batch.d.cts.map +1 -1
- package/dist/actions/delete-batch.d.mts +3 -15
- package/dist/actions/delete-batch.d.mts.map +1 -1
- package/dist/actions/delete-batch.mjs +1 -0
- package/dist/actions/delete-batch.mjs.map +1 -1
- package/dist/actions/delete-package.cjs +1 -0
- package/dist/actions/delete-package.cjs.map +1 -1
- package/dist/actions/delete-package.d.cts +3 -15
- package/dist/actions/delete-package.d.cts.map +1 -1
- package/dist/actions/delete-package.d.mts +3 -15
- package/dist/actions/delete-package.d.mts.map +1 -1
- package/dist/actions/delete-package.mjs +1 -0
- package/dist/actions/delete-package.mjs.map +1 -1
- package/dist/actions/delete-warehouse.cjs +1 -0
- package/dist/actions/delete-warehouse.cjs.map +1 -1
- package/dist/actions/delete-warehouse.d.cts +3 -15
- package/dist/actions/delete-warehouse.d.cts.map +1 -1
- package/dist/actions/delete-warehouse.d.mts +3 -15
- package/dist/actions/delete-warehouse.d.mts.map +1 -1
- package/dist/actions/delete-warehouse.mjs +1 -0
- package/dist/actions/delete-warehouse.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -15
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -15
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/disconnect-carrier.cjs +1 -0
- package/dist/actions/disconnect-carrier.cjs.map +1 -1
- package/dist/actions/disconnect-carrier.d.cts +3 -16
- package/dist/actions/disconnect-carrier.d.cts.map +1 -1
- package/dist/actions/disconnect-carrier.d.mts +3 -16
- package/dist/actions/disconnect-carrier.d.mts.map +1 -1
- package/dist/actions/disconnect-carrier.mjs +1 -0
- package/dist/actions/disconnect-carrier.mjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.cjs +1 -0
- package/dist/actions/disconnect-shipsurance.cjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.d.cts +3 -13
- package/dist/actions/disconnect-shipsurance.d.cts.map +1 -1
- package/dist/actions/disconnect-shipsurance.d.mts +3 -13
- package/dist/actions/disconnect-shipsurance.d.mts.map +1 -1
- package/dist/actions/disconnect-shipsurance.mjs +1 -0
- package/dist/actions/disconnect-shipsurance.mjs.map +1 -1
- package/dist/actions/download-file.cjs +1 -0
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +3 -19
- package/dist/actions/download-file.d.cts.map +1 -1
- package/dist/actions/download-file.d.mts +3 -19
- package/dist/actions/download-file.d.mts.map +1 -1
- package/dist/actions/download-file.mjs +1 -0
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/get-account-image-by-id.cjs +1 -0
- package/dist/actions/get-account-image-by-id.cjs.map +1 -1
- package/dist/actions/get-account-image-by-id.d.cts +3 -15
- package/dist/actions/get-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/get-account-image-by-id.d.mts +3 -15
- package/dist/actions/get-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/get-account-image-by-id.mjs +1 -0
- package/dist/actions/get-account-image-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-external-id.cjs +1 -0
- package/dist/actions/get-batch-by-external-id.cjs.map +1 -1
- package/dist/actions/get-batch-by-external-id.d.cts +3 -15
- package/dist/actions/get-batch-by-external-id.d.cts.map +1 -1
- package/dist/actions/get-batch-by-external-id.d.mts +3 -15
- package/dist/actions/get-batch-by-external-id.d.mts.map +1 -1
- package/dist/actions/get-batch-by-external-id.mjs +1 -0
- package/dist/actions/get-batch-by-external-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-id.cjs +1 -0
- package/dist/actions/get-batch-by-id.cjs.map +1 -1
- package/dist/actions/get-batch-by-id.d.cts +3 -15
- package/dist/actions/get-batch-by-id.d.cts.map +1 -1
- package/dist/actions/get-batch-by-id.d.mts +3 -15
- package/dist/actions/get-batch-by-id.d.mts.map +1 -1
- package/dist/actions/get-batch-by-id.mjs +1 -0
- package/dist/actions/get-batch-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-errors.cjs +1 -0
- package/dist/actions/get-batch-errors.cjs.map +1 -1
- package/dist/actions/get-batch-errors.d.cts +3 -17
- package/dist/actions/get-batch-errors.d.cts.map +1 -1
- package/dist/actions/get-batch-errors.d.mts +3 -17
- package/dist/actions/get-batch-errors.d.mts.map +1 -1
- package/dist/actions/get-batch-errors.mjs +1 -0
- package/dist/actions/get-batch-errors.mjs.map +1 -1
- package/dist/actions/get-bulk-rates.cjs +1 -0
- package/dist/actions/get-bulk-rates.cjs.map +1 -1
- package/dist/actions/get-bulk-rates.d.cts +3 -88
- package/dist/actions/get-bulk-rates.d.cts.map +1 -1
- package/dist/actions/get-bulk-rates.d.mts +3 -88
- package/dist/actions/get-bulk-rates.d.mts.map +1 -1
- package/dist/actions/get-bulk-rates.mjs +1 -0
- package/dist/actions/get-bulk-rates.mjs.map +1 -1
- package/dist/actions/get-insurance-balance.cjs +1 -0
- package/dist/actions/get-insurance-balance.cjs.map +1 -1
- package/dist/actions/get-insurance-balance.d.cts +3 -13
- package/dist/actions/get-insurance-balance.d.cts.map +1 -1
- package/dist/actions/get-insurance-balance.d.mts +3 -13
- package/dist/actions/get-insurance-balance.d.mts.map +1 -1
- package/dist/actions/get-insurance-balance.mjs +1 -0
- package/dist/actions/get-insurance-balance.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.cjs +1 -0
- package/dist/actions/get-ltl-carrier-credential-requirements.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.d.cts +3 -15
- package/dist/actions/get-ltl-carrier-credential-requirements.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.d.mts +3 -15
- package/dist/actions/get-ltl-carrier-credential-requirements.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.mjs +1 -0
- package/dist/actions/get-ltl-carrier-credential-requirements.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.cjs +1 -0
- package/dist/actions/get-ltl-carrier-features.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.d.cts +3 -15
- package/dist/actions/get-ltl-carrier-features.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-features.d.mts +3 -15
- package/dist/actions/get-ltl-carrier-features.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-features.mjs +1 -0
- package/dist/actions/get-ltl-carrier-features.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.cjs +1 -0
- package/dist/actions/get-ltl-carrier-options.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.d.cts +3 -15
- package/dist/actions/get-ltl-carrier-options.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-options.d.mts +3 -15
- package/dist/actions/get-ltl-carrier-options.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-options.mjs +1 -0
- package/dist/actions/get-ltl-carrier-options.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.cjs +1 -0
- package/dist/actions/get-ltl-carrier-packages.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.d.cts +3 -15
- package/dist/actions/get-ltl-carrier-packages.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.d.mts +3 -15
- package/dist/actions/get-ltl-carrier-packages.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.mjs +1 -0
- package/dist/actions/get-ltl-carrier-packages.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.cjs +1 -0
- package/dist/actions/get-ltl-carrier-services.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.d.cts +3 -15
- package/dist/actions/get-ltl-carrier-services.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-services.d.mts +3 -15
- package/dist/actions/get-ltl-carrier-services.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-services.mjs +1 -0
- package/dist/actions/get-ltl-carrier-services.mjs.map +1 -1
- package/dist/actions/get-package-by-id.cjs +1 -0
- package/dist/actions/get-package-by-id.cjs.map +1 -1
- package/dist/actions/get-package-by-id.d.cts +3 -15
- package/dist/actions/get-package-by-id.d.cts.map +1 -1
- package/dist/actions/get-package-by-id.d.mts +3 -15
- package/dist/actions/get-package-by-id.d.mts.map +1 -1
- package/dist/actions/get-package-by-id.mjs +1 -0
- package/dist/actions/get-package-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-external-id.cjs +1 -0
- package/dist/actions/get-shipment-by-external-id.cjs.map +1 -1
- package/dist/actions/get-shipment-by-external-id.d.cts +3 -15
- package/dist/actions/get-shipment-by-external-id.d.cts.map +1 -1
- package/dist/actions/get-shipment-by-external-id.d.mts +3 -15
- package/dist/actions/get-shipment-by-external-id.d.mts.map +1 -1
- package/dist/actions/get-shipment-by-external-id.mjs +1 -0
- package/dist/actions/get-shipment-by-external-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-id.cjs +1 -0
- package/dist/actions/get-shipment-by-id.cjs.map +1 -1
- package/dist/actions/get-shipment-by-id.d.cts +3 -15
- package/dist/actions/get-shipment-by-id.d.cts.map +1 -1
- package/dist/actions/get-shipment-by-id.d.mts +3 -15
- package/dist/actions/get-shipment-by-id.d.mts.map +1 -1
- package/dist/actions/get-shipment-by-id.mjs +1 -0
- package/dist/actions/get-shipment-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-rates.cjs +1 -0
- package/dist/actions/get-shipment-rates.cjs.map +1 -1
- package/dist/actions/get-shipment-rates.d.cts +3 -16
- package/dist/actions/get-shipment-rates.d.cts.map +1 -1
- package/dist/actions/get-shipment-rates.d.mts +3 -16
- package/dist/actions/get-shipment-rates.d.mts.map +1 -1
- package/dist/actions/get-shipment-rates.mjs +1 -0
- package/dist/actions/get-shipment-rates.mjs.map +1 -1
- package/dist/actions/get-tracking-info.cjs +1 -0
- package/dist/actions/get-tracking-info.cjs.map +1 -1
- package/dist/actions/get-tracking-info.d.cts +3 -16
- package/dist/actions/get-tracking-info.d.cts.map +1 -1
- package/dist/actions/get-tracking-info.d.mts +3 -16
- package/dist/actions/get-tracking-info.d.mts.map +1 -1
- package/dist/actions/get-tracking-info.mjs +1 -0
- package/dist/actions/get-tracking-info.mjs.map +1 -1
- package/dist/actions/get-warehouse-by-id.cjs +1 -0
- package/dist/actions/get-warehouse-by-id.cjs.map +1 -1
- package/dist/actions/get-warehouse-by-id.d.cts +3 -15
- package/dist/actions/get-warehouse-by-id.d.cts.map +1 -1
- package/dist/actions/get-warehouse-by-id.d.mts +3 -15
- package/dist/actions/get-warehouse-by-id.d.mts.map +1 -1
- package/dist/actions/get-warehouse-by-id.mjs +1 -0
- package/dist/actions/get-warehouse-by-id.mjs.map +1 -1
- package/dist/actions/get-webhook-by-id.cjs +1 -0
- package/dist/actions/get-webhook-by-id.cjs.map +1 -1
- package/dist/actions/get-webhook-by-id.d.cts +3 -15
- package/dist/actions/get-webhook-by-id.d.cts.map +1 -1
- package/dist/actions/get-webhook-by-id.d.mts +3 -15
- package/dist/actions/get-webhook-by-id.d.mts.map +1 -1
- package/dist/actions/get-webhook-by-id.mjs +1 -0
- package/dist/actions/get-webhook-by-id.mjs.map +1 -1
- package/dist/actions/list-account-images.cjs +1 -0
- package/dist/actions/list-account-images.cjs.map +1 -1
- package/dist/actions/list-account-images.d.cts +3 -13
- package/dist/actions/list-account-images.d.cts.map +1 -1
- package/dist/actions/list-account-images.d.mts +3 -13
- package/dist/actions/list-account-images.d.mts.map +1 -1
- package/dist/actions/list-account-images.mjs +1 -0
- package/dist/actions/list-account-images.mjs.map +1 -1
- package/dist/actions/list-account-settings.cjs +1 -0
- package/dist/actions/list-account-settings.cjs.map +1 -1
- package/dist/actions/list-account-settings.d.cts +3 -13
- package/dist/actions/list-account-settings.d.cts.map +1 -1
- package/dist/actions/list-account-settings.d.mts +3 -13
- package/dist/actions/list-account-settings.d.mts.map +1 -1
- package/dist/actions/list-account-settings.mjs +1 -0
- package/dist/actions/list-account-settings.mjs.map +1 -1
- package/dist/actions/list-batches2.cjs +1 -0
- package/dist/actions/list-batches2.cjs.map +1 -1
- package/dist/actions/list-batches2.d.cts +3 -24
- package/dist/actions/list-batches2.d.cts.map +1 -1
- package/dist/actions/list-batches2.d.mts +3 -24
- package/dist/actions/list-batches2.d.mts.map +1 -1
- package/dist/actions/list-batches2.mjs +1 -0
- package/dist/actions/list-batches2.mjs.map +1 -1
- package/dist/actions/list-carrier-package-types.cjs +1 -0
- package/dist/actions/list-carrier-package-types.cjs.map +1 -1
- package/dist/actions/list-carrier-package-types.d.cts +3 -15
- package/dist/actions/list-carrier-package-types.d.cts.map +1 -1
- package/dist/actions/list-carrier-package-types.d.mts +3 -15
- package/dist/actions/list-carrier-package-types.d.mts.map +1 -1
- package/dist/actions/list-carrier-package-types.mjs +1 -0
- package/dist/actions/list-carrier-package-types.mjs.map +1 -1
- package/dist/actions/list-labels2.cjs +1 -0
- package/dist/actions/list-labels2.cjs.map +1 -1
- package/dist/actions/list-labels2.d.cts +3 -28
- package/dist/actions/list-labels2.d.cts.map +1 -1
- package/dist/actions/list-labels2.d.mts +3 -28
- package/dist/actions/list-labels2.d.mts.map +1 -1
- package/dist/actions/list-labels2.mjs +1 -0
- package/dist/actions/list-labels2.mjs.map +1 -1
- package/dist/actions/list-ltl-carriers.cjs +1 -0
- package/dist/actions/list-ltl-carriers.cjs.map +1 -1
- package/dist/actions/list-ltl-carriers.d.cts +3 -13
- package/dist/actions/list-ltl-carriers.d.cts.map +1 -1
- package/dist/actions/list-ltl-carriers.d.mts +3 -13
- package/dist/actions/list-ltl-carriers.d.mts.map +1 -1
- package/dist/actions/list-ltl-carriers.mjs +1 -0
- package/dist/actions/list-ltl-carriers.mjs.map +1 -1
- package/dist/actions/list-manifests2.cjs +1 -0
- package/dist/actions/list-manifests2.cjs.map +1 -1
- package/dist/actions/list-manifests2.d.cts +3 -23
- package/dist/actions/list-manifests2.d.cts.map +1 -1
- package/dist/actions/list-manifests2.d.mts +3 -23
- package/dist/actions/list-manifests2.d.mts.map +1 -1
- package/dist/actions/list-manifests2.mjs +1 -0
- package/dist/actions/list-manifests2.mjs.map +1 -1
- package/dist/actions/list-packages.cjs +1 -0
- package/dist/actions/list-packages.cjs.map +1 -1
- package/dist/actions/list-packages.d.cts +3 -16
- package/dist/actions/list-packages.d.cts.map +1 -1
- package/dist/actions/list-packages.d.mts +3 -16
- package/dist/actions/list-packages.d.mts.map +1 -1
- package/dist/actions/list-packages.mjs +1 -0
- package/dist/actions/list-packages.mjs.map +1 -1
- package/dist/actions/list-pickups.cjs +1 -0
- package/dist/actions/list-pickups.cjs.map +1 -1
- package/dist/actions/list-pickups.d.cts +3 -20
- package/dist/actions/list-pickups.d.cts.map +1 -1
- package/dist/actions/list-pickups.d.mts +3 -20
- package/dist/actions/list-pickups.d.mts.map +1 -1
- package/dist/actions/list-pickups.mjs +1 -0
- package/dist/actions/list-pickups.mjs.map +1 -1
- package/dist/actions/list-shipments2.cjs +1 -0
- package/dist/actions/list-shipments2.cjs.map +1 -1
- package/dist/actions/list-shipments2.d.cts +3 -26
- package/dist/actions/list-shipments2.d.cts.map +1 -1
- package/dist/actions/list-shipments2.d.mts +3 -26
- package/dist/actions/list-shipments2.d.mts.map +1 -1
- package/dist/actions/list-shipments2.mjs +1 -0
- package/dist/actions/list-shipments2.mjs.map +1 -1
- package/dist/actions/list-tags2.cjs +1 -0
- package/dist/actions/list-tags2.cjs.map +1 -1
- package/dist/actions/list-tags2.d.cts +3 -13
- package/dist/actions/list-tags2.d.cts.map +1 -1
- package/dist/actions/list-tags2.d.mts +3 -13
- package/dist/actions/list-tags2.d.mts.map +1 -1
- package/dist/actions/list-tags2.mjs +1 -0
- package/dist/actions/list-tags2.mjs.map +1 -1
- package/dist/actions/list-warehouses.cjs +1 -0
- package/dist/actions/list-warehouses.cjs.map +1 -1
- package/dist/actions/list-warehouses.d.cts +3 -16
- package/dist/actions/list-warehouses.d.cts.map +1 -1
- package/dist/actions/list-warehouses.d.mts +3 -16
- package/dist/actions/list-warehouses.d.mts.map +1 -1
- package/dist/actions/list-warehouses.mjs +1 -0
- package/dist/actions/list-warehouses.mjs.map +1 -1
- package/dist/actions/list-webhook-events.cjs +1 -0
- package/dist/actions/list-webhook-events.cjs.map +1 -1
- package/dist/actions/list-webhook-events.d.cts +3 -13
- package/dist/actions/list-webhook-events.d.cts.map +1 -1
- package/dist/actions/list-webhook-events.d.mts +3 -13
- package/dist/actions/list-webhook-events.d.mts.map +1 -1
- package/dist/actions/list-webhook-events.mjs +1 -0
- package/dist/actions/list-webhook-events.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -13
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -13
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/parse-address.cjs +1 -0
- package/dist/actions/parse-address.cjs.map +1 -1
- package/dist/actions/parse-address.d.cts +3 -29
- package/dist/actions/parse-address.d.cts.map +1 -1
- package/dist/actions/parse-address.d.mts +3 -29
- package/dist/actions/parse-address.d.mts.map +1 -1
- package/dist/actions/parse-address.mjs +1 -0
- package/dist/actions/parse-address.mjs.map +1 -1
- package/dist/actions/process-batch-labels.cjs +1 -0
- package/dist/actions/process-batch-labels.cjs.map +1 -1
- package/dist/actions/process-batch-labels.d.cts +4 -20
- package/dist/actions/process-batch-labels.d.cts.map +1 -1
- package/dist/actions/process-batch-labels.d.mts +4 -20
- package/dist/actions/process-batch-labels.d.mts.map +1 -1
- package/dist/actions/process-batch-labels.mjs +1 -0
- package/dist/actions/process-batch-labels.mjs.map +1 -1
- package/dist/actions/remove-from-batch.cjs +1 -0
- package/dist/actions/remove-from-batch.cjs.map +1 -1
- package/dist/actions/remove-from-batch.d.cts +3 -17
- package/dist/actions/remove-from-batch.d.cts.map +1 -1
- package/dist/actions/remove-from-batch.d.mts +3 -17
- package/dist/actions/remove-from-batch.d.mts.map +1 -1
- package/dist/actions/remove-from-batch.mjs +1 -0
- package/dist/actions/remove-from-batch.mjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.cjs +1 -0
- package/dist/actions/remove-tag-from-shipment.cjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.d.cts +3 -16
- package/dist/actions/remove-tag-from-shipment.d.cts.map +1 -1
- package/dist/actions/remove-tag-from-shipment.d.mts +3 -16
- package/dist/actions/remove-tag-from-shipment.d.mts.map +1 -1
- package/dist/actions/remove-tag-from-shipment.mjs +1 -0
- package/dist/actions/remove-tag-from-shipment.mjs.map +1 -1
- package/dist/actions/start-tracking.cjs +1 -0
- package/dist/actions/start-tracking.cjs.map +1 -1
- package/dist/actions/start-tracking.d.cts +3 -17
- package/dist/actions/start-tracking.d.cts.map +1 -1
- package/dist/actions/start-tracking.d.mts +3 -17
- package/dist/actions/start-tracking.d.mts.map +1 -1
- package/dist/actions/start-tracking.mjs +1 -0
- package/dist/actions/start-tracking.mjs.map +1 -1
- package/dist/actions/stop-tracking.cjs +1 -0
- package/dist/actions/stop-tracking.cjs.map +1 -1
- package/dist/actions/stop-tracking.d.cts +3 -16
- package/dist/actions/stop-tracking.d.cts.map +1 -1
- package/dist/actions/stop-tracking.d.mts +3 -16
- package/dist/actions/stop-tracking.d.mts.map +1 -1
- package/dist/actions/stop-tracking.mjs +1 -0
- package/dist/actions/stop-tracking.mjs.map +1 -1
- package/dist/actions/track-ltl-shipment.cjs +1 -0
- package/dist/actions/track-ltl-shipment.cjs.map +1 -1
- package/dist/actions/track-ltl-shipment.d.cts +3 -16
- package/dist/actions/track-ltl-shipment.d.cts.map +1 -1
- package/dist/actions/track-ltl-shipment.d.mts +3 -16
- package/dist/actions/track-ltl-shipment.d.mts.map +1 -1
- package/dist/actions/track-ltl-shipment.mjs +1 -0
- package/dist/actions/track-ltl-shipment.mjs.map +1 -1
- package/dist/actions/update-account-image-by-id.cjs +1 -0
- package/dist/actions/update-account-image-by-id.cjs.map +1 -1
- package/dist/actions/update-account-image-by-id.d.cts +3 -18
- package/dist/actions/update-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/update-account-image-by-id.d.mts +3 -18
- package/dist/actions/update-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/update-account-image-by-id.mjs +1 -0
- package/dist/actions/update-account-image-by-id.mjs.map +1 -1
- package/dist/actions/update-ltl-connection.cjs +1 -0
- package/dist/actions/update-ltl-connection.cjs.map +1 -1
- package/dist/actions/update-ltl-connection.d.cts +3 -17
- package/dist/actions/update-ltl-connection.d.cts.map +1 -1
- package/dist/actions/update-ltl-connection.d.mts +3 -17
- package/dist/actions/update-ltl-connection.d.mts.map +1 -1
- package/dist/actions/update-ltl-connection.mjs +1 -0
- package/dist/actions/update-ltl-connection.mjs.map +1 -1
- package/dist/actions/update-package.cjs +1 -0
- package/dist/actions/update-package.cjs.map +1 -1
- package/dist/actions/update-package.d.cts +3 -24
- package/dist/actions/update-package.d.cts.map +1 -1
- package/dist/actions/update-package.d.mts +3 -24
- package/dist/actions/update-package.d.mts.map +1 -1
- package/dist/actions/update-package.mjs +1 -0
- package/dist/actions/update-package.mjs.map +1 -1
- package/dist/actions/update-shipment.cjs +1 -0
- package/dist/actions/update-shipment.cjs.map +1 -1
- package/dist/actions/update-shipment.d.cts +3 -124
- package/dist/actions/update-shipment.d.cts.map +1 -1
- package/dist/actions/update-shipment.d.mts +3 -124
- package/dist/actions/update-shipment.d.mts.map +1 -1
- package/dist/actions/update-shipment.mjs +1 -0
- package/dist/actions/update-shipment.mjs.map +1 -1
- package/dist/actions/update-shipments-tags.cjs +1 -0
- package/dist/actions/update-shipments-tags.cjs.map +1 -1
- package/dist/actions/update-shipments-tags.d.cts +3 -19
- package/dist/actions/update-shipments-tags.d.cts.map +1 -1
- package/dist/actions/update-shipments-tags.d.mts +3 -19
- package/dist/actions/update-shipments-tags.d.mts.map +1 -1
- package/dist/actions/update-shipments-tags.mjs +1 -0
- package/dist/actions/update-shipments-tags.mjs.map +1 -1
- package/dist/actions/update-warehouse.cjs +1 -0
- package/dist/actions/update-warehouse.cjs.map +1 -1
- package/dist/actions/update-warehouse.d.cts +3 -43
- package/dist/actions/update-warehouse.d.cts.map +1 -1
- package/dist/actions/update-warehouse.d.mts +3 -43
- package/dist/actions/update-warehouse.d.mts.map +1 -1
- package/dist/actions/update-warehouse.mjs +1 -0
- package/dist/actions/update-warehouse.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -0
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -23
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -23
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +1 -0
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/validate-address.cjs +1 -0
- package/dist/actions/validate-address.cjs.map +1 -1
- package/dist/actions/validate-address.d.cts +3 -28
- package/dist/actions/validate-address.d.cts.map +1 -1
- package/dist/actions/validate-address.d.mts +3 -28
- package/dist/actions/validate-address.d.mts.map +1 -1
- package/dist/actions/validate-address.mjs +1 -0
- package/dist/actions/validate-address.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account-image-by-id.mjs","names":[],"sources":["../../src/actions/get-account-image-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetAccountImageByIdInput = z.object({\n label_image_id: z.string().describe(\"Unique label image ID to retrieve the account image settings\"),\n}).describe(\"Request model for retrieving an account image by its label image ID.\");\nexport const ShipengineGetAccountImageByIdOutput = z.object({\n name: z.string().describe(\"Name of the account image\").nullable(),\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(),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image\").nullable(),\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(\"Response model for retrieving an account image by ID.\");\n\nexport const shipengineGetAccountImageById = action(\"SHIPENGINE_GET_ACCOUNT_IMAGE_BY_ID\", {\n slug: \"shipengine-get-account-image-by-id\",\n name: \"Get Account Image by ID\",\n description: \"Tool to retrieve account image settings by label image ID. Use when you need to fetch image data for labels or display account branding information.\",\n input: ShipengineGetAccountImageByIdInput,\n output: ShipengineGetAccountImageByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-account-image-by-id.mjs","names":[],"sources":["../../src/actions/get-account-image-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineGetAccountImageByIdInput = z.object({\n label_image_id: z.string().describe(\"Unique label image ID to retrieve the account image settings\"),\n}).describe(\"Request model for retrieving an account image by its label image ID.\");\nexport const ShipengineGetAccountImageByIdOutput = z.object({\n name: z.string().describe(\"Name of the account image\").nullable(),\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(),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image\").nullable(),\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(\"Response model for retrieving an account image by ID.\");\n\nexport const shipengineGetAccountImageById: AppAction<\n typeof ShipengineGetAccountImageByIdInput,\n typeof ShipengineGetAccountImageByIdOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_GET_ACCOUNT_IMAGE_BY_ID\", {\n slug: \"shipengine-get-account-image-by-id\",\n name: \"Get Account Image by ID\",\n description: \"Tool to retrieve account image settings by label image ID. Use when you need to fetch image data for labels or display account branding information.\",\n input: ShipengineGetAccountImageByIdInput,\n output: ShipengineGetAccountImageByIdOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,gCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBgD,EAAE,OAAO,EACzD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACpG,CAAC,CAAC,CAAC,SAAS,sEAmBH;CACP,QAnBiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-by-external-id.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-by-external-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBatchByExternalIdInput = z.object({\n external_batch_id: z.string().describe(\"External batch ID assigned by the client or external system to identify the batch\"),\n}).describe(\"Request model for retrieving a batch by its external batch ID.\");\nexport const ShipengineGetBatchByExternalIdOutput = 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 encountered during batch processing\").nullable(),\n status: z.string().describe(\"Current status of the batch\").nullable(),\n batch_id: z.string().describe(\"Unique ShipEngine batch identifier\").nullable(),\n warnings: z.number().int().describe(\"Number of warnings encountered during batch processing\").nullable(),\n completed: z.number().int().describe(\"Number of completed items in the batch\").nullable(),\n created_at: z.string().describe(\"Timestamp when batch was created (ISO 8601 format)\").nullable(),\n batch_notes: z.string().describe(\"Notes or description associated with the batch\").nullable().optional(),\n batch_number: z.string().describe(\"Batch number assigned by ShipEngine\").nullable(),\n label_format: z.string().describe(\"Format of batch labels (e.g., 'pdf', 'zpl')\").nullable(),\n label_layout: z.string().describe(\"Layout format for batch labels (e.g., '4x6')\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when batch was processed (ISO 8601 format)\").nullable().optional(),\n form_download: z.record(z.string(), z.unknown()).describe(\"Form download information and URLs\").nullable().optional(),\n label_download: z.record(z.string(), z.unknown()).describe(\"Label download information and URLs\").nullable().optional(),\n process_errors: z.array(z.record(z.string(), z.unknown())).describe(\"List of processing errors that occurred during batch execution\").nullable().optional(),\n batch_errors_url: z.record(z.string(), z.unknown()).describe(\"URL object to retrieve batch errors\").nullable().optional(),\n batch_labels_url: z.record(z.string(), z.unknown()).describe(\"URL object to download batch labels\").nullable().optional(),\n external_batch_id: z.string().describe(\"External batch ID provided by the client\").nullable(),\n paperless_download: z.record(z.string(), z.unknown()).describe(\"Paperless download information and URLs\").nullable().optional(),\n batch_shipments_url: z.record(z.string(), z.unknown()).describe(\"URL object to retrieve batch shipments\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a batch by external ID.\");\n\nexport const shipengineGetBatchByExternalId = action(\"SHIPENGINE_GET_BATCH_BY_EXTERNAL_ID\", {\n slug: \"shipengine-get-batch-by-external-id\",\n name: \"Get Batch by External ID\",\n description: \"Tool to retrieve batch details using an external batch ID. Use when you need to look up a batch by its client-assigned external identifier rather than ShipEngine's internal batch ID.\",\n input: ShipengineGetBatchByExternalIdInput,\n output: ShipengineGetBatchByExternalIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-by-external-id.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-by-external-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineGetBatchByExternalIdInput = z.object({\n external_batch_id: z.string().describe(\"External batch ID assigned by the client or external system to identify the batch\"),\n}).describe(\"Request model for retrieving a batch by its external batch ID.\");\nexport const ShipengineGetBatchByExternalIdOutput = 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 encountered during batch processing\").nullable(),\n status: z.string().describe(\"Current status of the batch\").nullable(),\n batch_id: z.string().describe(\"Unique ShipEngine batch identifier\").nullable(),\n warnings: z.number().int().describe(\"Number of warnings encountered during batch processing\").nullable(),\n completed: z.number().int().describe(\"Number of completed items in the batch\").nullable(),\n created_at: z.string().describe(\"Timestamp when batch was created (ISO 8601 format)\").nullable(),\n batch_notes: z.string().describe(\"Notes or description associated with the batch\").nullable().optional(),\n batch_number: z.string().describe(\"Batch number assigned by ShipEngine\").nullable(),\n label_format: z.string().describe(\"Format of batch labels (e.g., 'pdf', 'zpl')\").nullable(),\n label_layout: z.string().describe(\"Layout format for batch labels (e.g., '4x6')\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when batch was processed (ISO 8601 format)\").nullable().optional(),\n form_download: z.record(z.string(), z.unknown()).describe(\"Form download information and URLs\").nullable().optional(),\n label_download: z.record(z.string(), z.unknown()).describe(\"Label download information and URLs\").nullable().optional(),\n process_errors: z.array(z.record(z.string(), z.unknown())).describe(\"List of processing errors that occurred during batch execution\").nullable().optional(),\n batch_errors_url: z.record(z.string(), z.unknown()).describe(\"URL object to retrieve batch errors\").nullable().optional(),\n batch_labels_url: z.record(z.string(), z.unknown()).describe(\"URL object to download batch labels\").nullable().optional(),\n external_batch_id: z.string().describe(\"External batch ID provided by the client\").nullable(),\n paperless_download: z.record(z.string(), z.unknown()).describe(\"Paperless download information and URLs\").nullable().optional(),\n batch_shipments_url: z.record(z.string(), z.unknown()).describe(\"URL object to retrieve batch shipments\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a batch by external ID.\");\n\nexport const shipengineGetBatchByExternalId: AppAction<\n typeof ShipengineGetBatchByExternalIdInput,\n typeof ShipengineGetBatchByExternalIdOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_GET_BATCH_BY_EXTERNAL_ID\", {\n slug: \"shipengine-get-batch-by-external-id\",\n name: \"Get Batch by External ID\",\n description: \"Tool to retrieve batch details using an external batch ID. Use when you need to look up a batch by its client-assigned external identifier rather than ShipEngine's internal batch ID.\",\n input: ShipengineGetBatchByExternalIdInput,\n output: ShipengineGetBatchByExternalIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EAC5H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA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-27,21 +29,7 @@ declare const ShipengineGetBatchByExternalIdOutput: z.ZodObject<{
|
|
|
27
29
|
paperless_download: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
28
30
|
batch_shipments_url: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const shipengineGetBatchByExternalId:
|
|
31
|
-
external_batch_id: string;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const shipengineGetBatchByExternalId: AppAction<typeof ShipengineGetBatchByExternalIdInput, typeof ShipengineGetBatchByExternalIdOutput, typeof shipengine.credential>;
|
|
45
33
|
//#endregion
|
|
46
34
|
export { shipengineGetBatchByExternalId };
|
|
47
35
|
//# sourceMappingURL=get-batch-by-external-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-by-external-id.d.cts","names":[],"sources":["../../src/actions/get-batch-by-external-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-by-external-id.d.cts","names":[],"sources":["../../src/actions/get-batch-by-external-id.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAwBpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shipengine } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-batch-by-external-id.d.ts
|
|
@@ -27,21 +29,7 @@ declare const ShipengineGetBatchByExternalIdOutput: z.ZodObject<{
|
|
|
27
29
|
paperless_download: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
28
30
|
batch_shipments_url: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const shipengineGetBatchByExternalId:
|
|
31
|
-
external_batch_id: string;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const shipengineGetBatchByExternalId: AppAction<typeof ShipengineGetBatchByExternalIdInput, typeof ShipengineGetBatchByExternalIdOutput, typeof shipengine.credential>;
|
|
45
33
|
//#endregion
|
|
46
34
|
export { shipengineGetBatchByExternalId };
|
|
47
35
|
//# sourceMappingURL=get-batch-by-external-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-by-external-id.d.mts","names":[],"sources":["../../src/actions/get-batch-by-external-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-by-external-id.d.mts","names":[],"sources":["../../src/actions/get-batch-by-external-id.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAwBpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-by-external-id.mjs","names":[],"sources":["../../src/actions/get-batch-by-external-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBatchByExternalIdInput = z.object({\n external_batch_id: z.string().describe(\"External batch ID assigned by the client or external system to identify the batch\"),\n}).describe(\"Request model for retrieving a batch by its external batch ID.\");\nexport const ShipengineGetBatchByExternalIdOutput = 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 encountered during batch processing\").nullable(),\n status: z.string().describe(\"Current status of the batch\").nullable(),\n batch_id: z.string().describe(\"Unique ShipEngine batch identifier\").nullable(),\n warnings: z.number().int().describe(\"Number of warnings encountered during batch processing\").nullable(),\n completed: z.number().int().describe(\"Number of completed items in the batch\").nullable(),\n created_at: z.string().describe(\"Timestamp when batch was created (ISO 8601 format)\").nullable(),\n batch_notes: z.string().describe(\"Notes or description associated with the batch\").nullable().optional(),\n batch_number: z.string().describe(\"Batch number assigned by ShipEngine\").nullable(),\n label_format: z.string().describe(\"Format of batch labels (e.g., 'pdf', 'zpl')\").nullable(),\n label_layout: z.string().describe(\"Layout format for batch labels (e.g., '4x6')\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when batch was processed (ISO 8601 format)\").nullable().optional(),\n form_download: z.record(z.string(), z.unknown()).describe(\"Form download information and URLs\").nullable().optional(),\n label_download: z.record(z.string(), z.unknown()).describe(\"Label download information and URLs\").nullable().optional(),\n process_errors: z.array(z.record(z.string(), z.unknown())).describe(\"List of processing errors that occurred during batch execution\").nullable().optional(),\n batch_errors_url: z.record(z.string(), z.unknown()).describe(\"URL object to retrieve batch errors\").nullable().optional(),\n batch_labels_url: z.record(z.string(), z.unknown()).describe(\"URL object to download batch labels\").nullable().optional(),\n external_batch_id: z.string().describe(\"External batch ID provided by the client\").nullable(),\n paperless_download: z.record(z.string(), z.unknown()).describe(\"Paperless download information and URLs\").nullable().optional(),\n batch_shipments_url: z.record(z.string(), z.unknown()).describe(\"URL object to retrieve batch shipments\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a batch by external ID.\");\n\nexport const shipengineGetBatchByExternalId = action(\"SHIPENGINE_GET_BATCH_BY_EXTERNAL_ID\", {\n slug: \"shipengine-get-batch-by-external-id\",\n name: \"Get Batch by External ID\",\n description: \"Tool to retrieve batch details using an external batch ID. Use when you need to look up a batch by its client-assigned external identifier rather than ShipEngine's internal batch ID.\",\n input: ShipengineGetBatchByExternalIdInput,\n output: ShipengineGetBatchByExternalIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-by-external-id.mjs","names":[],"sources":["../../src/actions/get-batch-by-external-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineGetBatchByExternalIdInput = z.object({\n external_batch_id: z.string().describe(\"External batch ID assigned by the client or external system to identify the batch\"),\n}).describe(\"Request model for retrieving a batch by its external batch ID.\");\nexport const ShipengineGetBatchByExternalIdOutput = 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 encountered during batch processing\").nullable(),\n status: z.string().describe(\"Current status of the batch\").nullable(),\n batch_id: z.string().describe(\"Unique ShipEngine batch identifier\").nullable(),\n warnings: z.number().int().describe(\"Number of warnings encountered during batch processing\").nullable(),\n completed: z.number().int().describe(\"Number of completed items in the batch\").nullable(),\n created_at: z.string().describe(\"Timestamp when batch was created (ISO 8601 format)\").nullable(),\n batch_notes: z.string().describe(\"Notes or description associated with the batch\").nullable().optional(),\n batch_number: z.string().describe(\"Batch number assigned by ShipEngine\").nullable(),\n label_format: z.string().describe(\"Format of batch labels (e.g., 'pdf', 'zpl')\").nullable(),\n label_layout: z.string().describe(\"Layout format for batch labels (e.g., '4x6')\").nullable().optional(),\n processed_at: z.string().describe(\"Timestamp when batch was processed (ISO 8601 format)\").nullable().optional(),\n form_download: z.record(z.string(), z.unknown()).describe(\"Form download information and URLs\").nullable().optional(),\n label_download: z.record(z.string(), z.unknown()).describe(\"Label download information and URLs\").nullable().optional(),\n process_errors: z.array(z.record(z.string(), z.unknown())).describe(\"List of processing errors that occurred during batch execution\").nullable().optional(),\n batch_errors_url: z.record(z.string(), z.unknown()).describe(\"URL object to retrieve batch errors\").nullable().optional(),\n batch_labels_url: z.record(z.string(), z.unknown()).describe(\"URL object to download batch labels\").nullable().optional(),\n external_batch_id: z.string().describe(\"External batch ID provided by the client\").nullable(),\n paperless_download: z.record(z.string(), z.unknown()).describe(\"Paperless download information and URLs\").nullable().optional(),\n batch_shipments_url: z.record(z.string(), z.unknown()).describe(\"URL object to retrieve batch shipments\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a batch by external ID.\");\n\nexport const shipengineGetBatchByExternalId: AppAction<\n typeof ShipengineGetBatchByExternalIdInput,\n typeof ShipengineGetBatchByExternalIdOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_GET_BATCH_BY_EXTERNAL_ID\", {\n slug: \"shipengine-get-batch-by-external-id\",\n name: \"Get Batch by External ID\",\n description: \"Tool to retrieve batch details using an external batch ID. Use when you need to look up a batch by its client-assigned external identifier rather than ShipEngine's internal batch ID.\",\n input: ShipengineGetBatchByExternalIdInput,\n output: ShipengineGetBatchByExternalIdOutput,\n});\n"],"mappings":";;;AAiCA,MAAa,iCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnCiD,EAAE,OAAO,EAC1D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EAC5H,CAAC,CAAC,CAAC,SAAS,gEAiCH;CACP,QAjCkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,cAAc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wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBatchByIdInput = z.object({\n batch_id: z.string().describe(\"Unique ShipEngine batch ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for retrieving a batch by its ShipEngine ID.\");\nconst ShipengineGetBatchById_UrlObjectSchema = z.object({\n href: z.string().describe(\"The URL string\").nullable(),\n}).passthrough().describe(\"Model for URL objects returned by the API.\");\nconst ShipengineGetBatchById_ProcessErrorSchema = z.object({\n message: z.string().describe(\"Error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code\").nullable().optional(),\n}).passthrough().describe(\"Model for a batch processing error.\");\nexport const ShipengineGetBatchByIdOutput = z.object({\n count: z.number().int().default(0).describe(\"Total number of shipments in the batch\").nullable().optional(),\n forms: z.number().int().default(0).describe(\"Number of forms in the batch\").nullable().optional(),\n errors: z.number().int().default(0).describe(\"Number of errors in the batch\").nullable().optional(),\n status: z.string().describe(\"Current status of the batch\").nullable().optional(),\n batch_id: z.string().describe(\"Unique identifier for the batch\").nullable(),\n warnings: z.number().int().default(0).describe(\"Number of warnings in the batch\").nullable().optional(),\n completed: z.number().int().default(0).describe(\"Number of completed items in the batch\").nullable().optional(),\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: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n label_download: z.record(z.string(), z.unknown()).describe(\"Dict with label download URLs (pdf, zpl, href)\").nullable().optional(),\n process_errors: z.array(ShipengineGetBatchById_ProcessErrorSchema).describe(\"List of processing errors\").nullable().optional(),\n batch_errors_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_labels_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n external_batch_id: z.string().describe(\"External ID for the batch\").nullable().optional(),\n paperless_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_shipments_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a batch by ID.\");\n\nexport const shipengineGetBatchById = action(\"SHIPENGINE_GET_BATCH_BY_ID\", {\n slug: \"shipengine-get-batch-by-id\",\n name: \"Get Batch by ID\",\n description: \"Tool to retrieve detailed information about a specific batch by its ID. Use when you need to check batch status, download labels, or view errors.\",\n input: ShipengineGetBatchByIdInput,\n output: ShipengineGetBatchByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineGetBatchByIdInput = z.object({\n batch_id: z.string().describe(\"Unique ShipEngine batch ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for retrieving a batch by its ShipEngine ID.\");\nconst ShipengineGetBatchById_UrlObjectSchema = z.object({\n href: z.string().describe(\"The URL string\").nullable(),\n}).passthrough().describe(\"Model for URL objects returned by the API.\");\nconst ShipengineGetBatchById_ProcessErrorSchema = z.object({\n message: z.string().describe(\"Error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code\").nullable().optional(),\n}).passthrough().describe(\"Model for a batch processing error.\");\nexport const ShipengineGetBatchByIdOutput = z.object({\n count: z.number().int().default(0).describe(\"Total number of shipments in the batch\").nullable().optional(),\n forms: z.number().int().default(0).describe(\"Number of forms in the batch\").nullable().optional(),\n errors: z.number().int().default(0).describe(\"Number of errors in the batch\").nullable().optional(),\n status: z.string().describe(\"Current status of the batch\").nullable().optional(),\n batch_id: z.string().describe(\"Unique identifier for the batch\").nullable(),\n warnings: z.number().int().default(0).describe(\"Number of warnings in the batch\").nullable().optional(),\n completed: z.number().int().default(0).describe(\"Number of completed items in the batch\").nullable().optional(),\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: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n label_download: z.record(z.string(), z.unknown()).describe(\"Dict with label download URLs (pdf, zpl, href)\").nullable().optional(),\n process_errors: z.array(ShipengineGetBatchById_ProcessErrorSchema).describe(\"List of processing errors\").nullable().optional(),\n batch_errors_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_labels_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n external_batch_id: z.string().describe(\"External ID for the batch\").nullable().optional(),\n paperless_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_shipments_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a batch by ID.\");\n\nexport const shipengineGetBatchById: AppAction<\n typeof ShipengineGetBatchByIdInput,\n typeof ShipengineGetBatchByIdOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_GET_BATCH_BY_ID\", {\n slug: \"shipengine-get-batch-by-id\",\n name: \"Get Batch by ID\",\n description: \"Tool to retrieve detailed information about a specific batch by its ID. Use when you need to check batch status, download labels, or view errors.\",\n input: ShipengineGetBatchByIdInput,\n output: ShipengineGetBatchByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACvH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACl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AAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,kBAAkB,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAC7E,kBAAkB,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAC7E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,oBAAoB,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAC/E,qBAAqB,uCAAuC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,yBAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shipengine } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-batch-by-id.d.ts
|
|
@@ -40,21 +42,7 @@ declare const ShipengineGetBatchByIdOutput: z.ZodObject<{
|
|
|
40
42
|
href: z.ZodNullable<z.ZodString>;
|
|
41
43
|
}, z.core.$loose>>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const shipengineGetBatchById:
|
|
44
|
-
batch_id: string;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
45
|
+
declare const shipengineGetBatchById: AppAction<typeof ShipengineGetBatchByIdInput, typeof ShipengineGetBatchByIdOutput, typeof shipengine.credential>;
|
|
58
46
|
//#endregion
|
|
59
47
|
export { shipengineGetBatchById };
|
|
60
48
|
//# sourceMappingURL=get-batch-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-by-id.d.cts","names":[],"sources":["../../src/actions/get-batch-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-by-id.d.cts","names":[],"sources":["../../src/actions/get-batch-by-id.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shipengine } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-batch-by-id.d.ts
|
|
@@ -40,21 +42,7 @@ declare const ShipengineGetBatchByIdOutput: z.ZodObject<{
|
|
|
40
42
|
href: z.ZodNullable<z.ZodString>;
|
|
41
43
|
}, z.core.$loose>>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const shipengineGetBatchById:
|
|
44
|
-
batch_id: string;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
45
|
+
declare const shipengineGetBatchById: AppAction<typeof ShipengineGetBatchByIdInput, typeof ShipengineGetBatchByIdOutput, typeof shipengine.credential>;
|
|
58
46
|
//#endregion
|
|
59
47
|
export { shipengineGetBatchById };
|
|
60
48
|
//# sourceMappingURL=get-batch-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-by-id.d.mts","names":[],"sources":["../../src/actions/get-batch-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-by-id.d.mts","names":[],"sources":["../../src/actions/get-batch-by-id.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-by-id.mjs","names":[],"sources":["../../src/actions/get-batch-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBatchByIdInput = z.object({\n batch_id: z.string().describe(\"Unique ShipEngine batch ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for retrieving a batch by its ShipEngine ID.\");\nconst ShipengineGetBatchById_UrlObjectSchema = z.object({\n href: z.string().describe(\"The URL string\").nullable(),\n}).passthrough().describe(\"Model for URL objects returned by the API.\");\nconst ShipengineGetBatchById_ProcessErrorSchema = z.object({\n message: z.string().describe(\"Error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code\").nullable().optional(),\n}).passthrough().describe(\"Model for a batch processing error.\");\nexport const ShipengineGetBatchByIdOutput = z.object({\n count: z.number().int().default(0).describe(\"Total number of shipments in the batch\").nullable().optional(),\n forms: z.number().int().default(0).describe(\"Number of forms in the batch\").nullable().optional(),\n errors: z.number().int().default(0).describe(\"Number of errors in the batch\").nullable().optional(),\n status: z.string().describe(\"Current status of the batch\").nullable().optional(),\n batch_id: z.string().describe(\"Unique identifier for the batch\").nullable(),\n warnings: z.number().int().default(0).describe(\"Number of warnings in the batch\").nullable().optional(),\n completed: z.number().int().default(0).describe(\"Number of completed items in the batch\").nullable().optional(),\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: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n label_download: z.record(z.string(), z.unknown()).describe(\"Dict with label download URLs (pdf, zpl, href)\").nullable().optional(),\n process_errors: z.array(ShipengineGetBatchById_ProcessErrorSchema).describe(\"List of processing errors\").nullable().optional(),\n batch_errors_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_labels_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n external_batch_id: z.string().describe(\"External ID for the batch\").nullable().optional(),\n paperless_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_shipments_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a batch by ID.\");\n\nexport const shipengineGetBatchById = action(\"SHIPENGINE_GET_BATCH_BY_ID\", {\n slug: \"shipengine-get-batch-by-id\",\n name: \"Get Batch by ID\",\n description: \"Tool to retrieve detailed information about a specific batch by its ID. Use when you need to check batch status, download labels, or view errors.\",\n input: ShipengineGetBatchByIdInput,\n output: ShipengineGetBatchByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-by-id.mjs","names":[],"sources":["../../src/actions/get-batch-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineGetBatchByIdInput = z.object({\n batch_id: z.string().describe(\"Unique ShipEngine batch ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for retrieving a batch by its ShipEngine ID.\");\nconst ShipengineGetBatchById_UrlObjectSchema = z.object({\n href: z.string().describe(\"The URL string\").nullable(),\n}).passthrough().describe(\"Model for URL objects returned by the API.\");\nconst ShipengineGetBatchById_ProcessErrorSchema = z.object({\n message: z.string().describe(\"Error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code\").nullable().optional(),\n}).passthrough().describe(\"Model for a batch processing error.\");\nexport const ShipengineGetBatchByIdOutput = z.object({\n count: z.number().int().default(0).describe(\"Total number of shipments in the batch\").nullable().optional(),\n forms: z.number().int().default(0).describe(\"Number of forms in the batch\").nullable().optional(),\n errors: z.number().int().default(0).describe(\"Number of errors in the batch\").nullable().optional(),\n status: z.string().describe(\"Current status of the batch\").nullable().optional(),\n batch_id: z.string().describe(\"Unique identifier for the batch\").nullable(),\n warnings: z.number().int().default(0).describe(\"Number of warnings in the batch\").nullable().optional(),\n completed: z.number().int().default(0).describe(\"Number of completed items in the batch\").nullable().optional(),\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: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n label_download: z.record(z.string(), z.unknown()).describe(\"Dict with label download URLs (pdf, zpl, href)\").nullable().optional(),\n process_errors: z.array(ShipengineGetBatchById_ProcessErrorSchema).describe(\"List of processing errors\").nullable().optional(),\n batch_errors_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_labels_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n external_batch_id: z.string().describe(\"External ID for the batch\").nullable().optional(),\n paperless_download: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n batch_shipments_url: ShipengineGetBatchById_UrlObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a batch by ID.\");\n\nexport const shipengineGetBatchById: AppAction<\n typeof ShipengineGetBatchByIdInput,\n typeof ShipengineGetBatchByIdOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_GET_BATCH_BY_ID\", {\n slug: \"shipengine-get-batch-by-id\",\n name: \"Get Batch by ID\",\n description: \"Tool to retrieve detailed information about a specific batch by its ID. Use when you need to check batch status, download labels, or view errors.\",\n input: ShipengineGetBatchByIdInput,\n output: ShipengineGetBatchByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACvH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yCAAyC,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAA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z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBatchErrorsInput = 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 batch_id: z.string().describe(\"Unique ShipEngine batch ID to retrieve errors for, must begin with 'se-' followed by alphanumeric characters.\"),\n pagesize: z.number().int().describe(\"Number of results to return per page.\").optional(),\n});\nconst ShipengineGetBatchErrors_LinkObjectSchema = z.object({\n href: z.string().describe(\"URL for the link.\").nullable().optional(),\n}).passthrough();\nconst ShipengineGetBatchErrors_PaginationLinkSchema = z.object({\n last: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n next: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n prev: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n first: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n}).passthrough();\nconst ShipengineGetBatchErrors_BatchErrorDetailsSchema = z.object({\n error: z.string().describe(\"Error message describing what went wrong during batch processing.\").nullable().optional(),\n shipment_id: z.string().describe(\"Shipment identifier associated with the error.\").nullable().optional(),\n external_shipment_id: z.string().describe(\"External shipment identifier associated with the error.\").nullable().optional(),\n}).passthrough();\nexport const ShipengineGetBatchErrorsOutput = z.object({\n links: ShipengineGetBatchErrors_PaginationLinkSchema.nullable(),\n errors: z.array(ShipengineGetBatchErrors_BatchErrorDetailsSchema).default([]).describe(\"List of errors that occurred during batch processing.\").nullable().optional(),\n}).passthrough();\n\nexport const shipengineGetBatchErrors = action(\"SHIPENGINE_GET_BATCH_ERRORS\", {\n slug: \"shipengine-get-batch-errors\",\n name: \"Get Batch Errors\",\n description: \"Tool to retrieve errors that occurred during batch processing. Use when you need to investigate or troubleshoot issues with a specific batch.\",\n input: ShipengineGetBatchErrorsInput,\n output: ShipengineGetBatchErrorsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-errors.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-errors.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineGetBatchErrorsInput = 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 batch_id: z.string().describe(\"Unique ShipEngine batch ID to retrieve errors for, must begin with 'se-' followed by alphanumeric characters.\"),\n pagesize: z.number().int().describe(\"Number of results to return per page.\").optional(),\n});\nconst ShipengineGetBatchErrors_LinkObjectSchema = z.object({\n href: z.string().describe(\"URL for the link.\").nullable().optional(),\n}).passthrough();\nconst ShipengineGetBatchErrors_PaginationLinkSchema = z.object({\n last: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n next: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n prev: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n first: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n}).passthrough();\nconst ShipengineGetBatchErrors_BatchErrorDetailsSchema = z.object({\n error: z.string().describe(\"Error message describing what went wrong during batch processing.\").nullable().optional(),\n shipment_id: z.string().describe(\"Shipment identifier associated with the error.\").nullable().optional(),\n external_shipment_id: z.string().describe(\"External shipment identifier associated with the error.\").nullable().optional(),\n}).passthrough();\nexport const ShipengineGetBatchErrorsOutput = z.object({\n links: ShipengineGetBatchErrors_PaginationLinkSchema.nullable(),\n errors: z.array(ShipengineGetBatchErrors_BatchErrorDetailsSchema).default([]).describe(\"List of errors that occurred during batch processing.\").nullable().optional(),\n}).passthrough();\n\nexport const shipengineGetBatchErrors: AppAction<\n typeof ShipengineGetBatchErrorsInput,\n typeof ShipengineGetBatchErrorsOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_GET_BATCH_ERRORS\", {\n slug: \"shipengine-get-batch-errors\",\n name: \"Get Batch Errors\",\n description: \"Tool to retrieve errors that occurred during batch processing. Use when you need to investigate or troubleshoot issues with a specific batch.\",\n input: ShipengineGetBatchErrorsInput,\n output: ShipengineGetBatchErrorsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACjN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;CAC7I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACxF,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAO,8CAA8C,SAAS;CAC9D,QAAQA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shipengine } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-batch-errors.d.ts
|
|
@@ -27,23 +29,7 @@ declare const ShipengineGetBatchErrorsOutput: z.ZodObject<{
|
|
|
27
29
|
external_shipment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
}, z.core.$loose>>>>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const shipengineGetBatchErrors:
|
|
31
|
-
batch_id: string;
|
|
32
|
-
page?: number | undefined;
|
|
33
|
-
pagesize?: number | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const shipengineGetBatchErrors: AppAction<typeof ShipengineGetBatchErrorsInput, typeof ShipengineGetBatchErrorsOutput, typeof shipengine.credential>;
|
|
47
33
|
//#endregion
|
|
48
34
|
export { shipengineGetBatchErrors };
|
|
49
35
|
//# sourceMappingURL=get-batch-errors.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-errors.d.cts","names":[],"sources":["../../src/actions/get-batch-errors.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-errors.d.cts","names":[],"sources":["../../src/actions/get-batch-errors.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAmB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shipengine } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-batch-errors.d.ts
|
|
@@ -27,23 +29,7 @@ declare const ShipengineGetBatchErrorsOutput: z.ZodObject<{
|
|
|
27
29
|
external_shipment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
}, z.core.$loose>>>>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const shipengineGetBatchErrors:
|
|
31
|
-
batch_id: string;
|
|
32
|
-
page?: number | undefined;
|
|
33
|
-
pagesize?: number | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const shipengineGetBatchErrors: AppAction<typeof ShipengineGetBatchErrorsInput, typeof ShipengineGetBatchErrorsOutput, typeof shipengine.credential>;
|
|
47
33
|
//#endregion
|
|
48
34
|
export { shipengineGetBatchErrors };
|
|
49
35
|
//# sourceMappingURL=get-batch-errors.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-errors.d.mts","names":[],"sources":["../../src/actions/get-batch-errors.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-errors.d.mts","names":[],"sources":["../../src/actions/get-batch-errors.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAmB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-errors.mjs","names":[],"sources":["../../src/actions/get-batch-errors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBatchErrorsInput = 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 batch_id: z.string().describe(\"Unique ShipEngine batch ID to retrieve errors for, must begin with 'se-' followed by alphanumeric characters.\"),\n pagesize: z.number().int().describe(\"Number of results to return per page.\").optional(),\n});\nconst ShipengineGetBatchErrors_LinkObjectSchema = z.object({\n href: z.string().describe(\"URL for the link.\").nullable().optional(),\n}).passthrough();\nconst ShipengineGetBatchErrors_PaginationLinkSchema = z.object({\n last: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n next: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n prev: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n first: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n}).passthrough();\nconst ShipengineGetBatchErrors_BatchErrorDetailsSchema = z.object({\n error: z.string().describe(\"Error message describing what went wrong during batch processing.\").nullable().optional(),\n shipment_id: z.string().describe(\"Shipment identifier associated with the error.\").nullable().optional(),\n external_shipment_id: z.string().describe(\"External shipment identifier associated with the error.\").nullable().optional(),\n}).passthrough();\nexport const ShipengineGetBatchErrorsOutput = z.object({\n links: ShipengineGetBatchErrors_PaginationLinkSchema.nullable(),\n errors: z.array(ShipengineGetBatchErrors_BatchErrorDetailsSchema).default([]).describe(\"List of errors that occurred during batch processing.\").nullable().optional(),\n}).passthrough();\n\nexport const shipengineGetBatchErrors = action(\"SHIPENGINE_GET_BATCH_ERRORS\", {\n slug: \"shipengine-get-batch-errors\",\n name: \"Get Batch Errors\",\n description: \"Tool to retrieve errors that occurred during batch processing. Use when you need to investigate or troubleshoot issues with a specific batch.\",\n input: ShipengineGetBatchErrorsInput,\n output: ShipengineGetBatchErrorsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-errors.mjs","names":[],"sources":["../../src/actions/get-batch-errors.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineGetBatchErrorsInput = 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 batch_id: z.string().describe(\"Unique ShipEngine batch ID to retrieve errors for, must begin with 'se-' followed by alphanumeric characters.\"),\n pagesize: z.number().int().describe(\"Number of results to return per page.\").optional(),\n});\nconst ShipengineGetBatchErrors_LinkObjectSchema = z.object({\n href: z.string().describe(\"URL for the link.\").nullable().optional(),\n}).passthrough();\nconst ShipengineGetBatchErrors_PaginationLinkSchema = z.object({\n last: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n next: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n prev: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n first: ShipengineGetBatchErrors_LinkObjectSchema.nullable().optional(),\n}).passthrough();\nconst ShipengineGetBatchErrors_BatchErrorDetailsSchema = z.object({\n error: z.string().describe(\"Error message describing what went wrong during batch processing.\").nullable().optional(),\n shipment_id: z.string().describe(\"Shipment identifier associated with the error.\").nullable().optional(),\n external_shipment_id: z.string().describe(\"External shipment identifier associated with the error.\").nullable().optional(),\n}).passthrough();\nexport const ShipengineGetBatchErrorsOutput = z.object({\n links: ShipengineGetBatchErrors_PaginationLinkSchema.nullable(),\n errors: z.array(ShipengineGetBatchErrors_BatchErrorDetailsSchema).default([]).describe(\"List of errors that occurred during batch processing.\").nullable().optional(),\n}).passthrough();\n\nexport const shipengineGetBatchErrors: AppAction<\n typeof ShipengineGetBatchErrorsInput,\n typeof ShipengineGetBatchErrorsOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_GET_BATCH_ERRORS\", {\n slug: \"shipengine-get-batch-errors\",\n name: \"Get Batch Errors\",\n description: \"Tool to retrieve errors that occurred during batch processing. Use when you need to investigate or troubleshoot issues with a specific batch.\",\n input: ShipengineGetBatchErrorsInput,\n output: ShipengineGetBatchErrorsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC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
|
-
{"version":3,"file":"get-bulk-rates.cjs","names":["z","action"],"sources":["../../src/actions/get-bulk-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineGetBulkRatesInput = z.object({\n shipments: z.array(z.object({\n customs: z.record(z.string(), z.unknown()).describe(\"Customs information for international shipments\").optional(),\n ship_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Destination address\"),\n packages: z.array(z.object({\n weight: z.object({\n unit: z.enum([\"ounce\", \"pound\", \"gram\", \"kilogram\"]).describe(\"Unit of weight measurement.\"),\n value: z.number().describe(\"Weight value; must be non-negative.\"),\n}).describe(\"Package weight details\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of a package.\").optional(),\n}).passthrough().describe(\"Package information for a shipment.\")).describe(\"List of packages in this shipment\"),\n return_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Address information for shipment origin or destination.\").optional(),\n ship_date: z.string().describe(\"Ship date in ISO 8601 format (YYYY-MM-DD). Defaults to today if not provided.\").optional(),\n ship_from: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Origin address\"),\n carrier_id: z.string().describe(\"Carrier ID for this shipment (optional if using rate_options.carrier_ids)\").optional(),\n confirmation: z.string().describe(\"Delivery confirmation type (e.g., 'delivery', 'signature', 'adult_signature', 'direct_signature')\").optional(),\n service_code: z.string().describe(\"Service code for this shipment (optional if using rate_options.service_codes)\").optional(),\n advanced_options: z.record(z.string(), z.unknown()).describe(\"Advanced shipping options\").optional(),\n validate_address: z.string().describe(\"Address validation level. Options: 'no_validation', 'validate_only', 'validate_and_clean'\").optional(),\n insurance_provider: z.string().describe(\"Insurance provider (e.g., 'shipsurance', 'carrier', 'none')\").optional(),\n external_shipment_id: z.string().describe(\"External reference ID for this shipment\").optional(),\n}).passthrough().describe(\"Shipment details for bulk rate request.\")).describe(\"List of new shipment details to get rates for. Use this OR shipment_ids, not both.\").optional(),\n rate_options: z.object({\n carrier_ids: z.array(z.string()).describe(\"List of carrier IDs to get rates from. Required field - specify at least one carrier ID.\"),\n package_types: z.array(z.string()).describe(\"List of package types to get rates for. Leave empty to get rates for all package types.\").optional(),\n service_codes: z.array(z.string()).describe(\"List of service codes to filter rates. If not provided, all services will be included.\").optional(),\n preferred_currency: z.string().describe(\"Preferred currency for rate amounts (3-letter ISO 4217 currency code).\").optional(),\n calculate_tax_amount: z.boolean().describe(\"Whether to calculate tax amount for the shipment. Set to true to include tax calculations.\").optional(),\n}).describe(\"Rate options including carrier IDs, service codes, and other preferences for fetching rates\"),\n shipment_ids: z.array(z.string()).describe(\"List of existing ShipEngine shipment IDs to get rates for. Each ID must start with 'se-'. Use this OR shipments, not both.\").optional(),\n ship_to_service_point_id: z.string().describe(\"A unique identifier for a carrier service point where the shipment will be delivered by the carrier. This will take precedence over a shipment's ship to address.\").optional(),\n ship_from_service_point_id: z.string().describe(\"A unique identifier for a carrier drop off point where a merchant plans to deliver packages. This will take precedence over a shipment's ship from address.\").optional(),\n}).describe(\"Request model for getting bulk shipping rates.\\nMust provide either shipment_ids (for existing shipments) OR shipments (new shipment details).\");\nconst ShipengineGetBulkRates_ErrorDetailSchema = z.object({\n message: z.string().describe(\"Human-readable error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code identifying the specific error\").nullable().optional(),\n error_type: z.string().describe(\"Type of error (e.g., 'validation', 'business_rule')\").nullable().optional(),\n error_source: z.string().describe(\"Source of the error (e.g., 'shipengine', 'carrier')\").nullable().optional(),\n}).passthrough().describe(\"Error details for a bulk rate response.\");\nconst ShipengineGetBulkRates_BulkRateSchema = z.object({\n errors: z.array(ShipengineGetBulkRates_ErrorDetailSchema).describe(\"An array of errors that were returned while retrieving the rate\"),\n status: z.string().describe(\"Status of the rate request (e.g., 'working', 'completed', 'error')\").nullable(),\n created_at: z.string().describe(\"Timestamp when the rate request was created (ISO 8601 format)\").nullable(),\n shipment_id: z.string().describe(\"A string that uniquely identifies the shipment\").nullable(),\n rate_request_id: z.string().describe(\"A string that uniquely identifies the rate request\").nullable(),\n}).passthrough().describe(\"A bulk rate response for a single shipment.\");\nexport const ShipengineGetBulkRatesOutput = z.object({\n rates: z.array(ShipengineGetBulkRates_BulkRateSchema).describe(\"List of bulk rate responses, one for each shipment. Use the rate_request_id to poll for completed rates.\"),\n}).passthrough().describe(\"Response model for bulk rate requests.\\nReturns a list of rate request statuses.\");\n\nexport const shipengineGetBulkRates = action(\"SHIPENGINE_GET_BULK_RATES\", {\n slug: \"shipengine-get-bulk-rates\",\n name: \"Get Bulk Rates\",\n description: \"Tool to get shipping rates for multiple shipments in a single request. Use when you need to compare rates across multiple carriers or shipments efficiently. The request is processed asynchronously - use the returned rate_request_id to retrieve the actual rates once processing is complete.\",\n input: ShipengineGetBulkRatesInput,\n output: ShipengineGetBulkRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAChH,SAASA,IAAAA,EAAE,OAAO;GAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GACpD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;GACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;GAC/D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GACnD,eAAeA,IAAAA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,OAAO;CACrD,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iEAAiE;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0GAA0G,EAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-bulk-rates.cjs","names":["z","action"],"sources":["../../src/actions/get-bulk-rates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineGetBulkRatesInput = z.object({\n shipments: z.array(z.object({\n customs: z.record(z.string(), z.unknown()).describe(\"Customs information for international shipments\").optional(),\n ship_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Destination address\"),\n packages: z.array(z.object({\n weight: z.object({\n unit: z.enum([\"ounce\", \"pound\", \"gram\", \"kilogram\"]).describe(\"Unit of weight measurement.\"),\n value: z.number().describe(\"Weight value; must be non-negative.\"),\n}).describe(\"Package weight details\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of a package.\").optional(),\n}).passthrough().describe(\"Package information for a shipment.\")).describe(\"List of packages in this shipment\"),\n return_to: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Address information for shipment origin or destination.\").optional(),\n ship_date: z.string().describe(\"Ship date in ISO 8601 format (YYYY-MM-DD). Defaults to today if not provided.\").optional(),\n ship_from: z.object({\n name: z.string().describe(\"Recipient or sender name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"ZIP or postal code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"Two-letter ISO country code\"),\n address_line1: z.string().describe(\"Address line 1\"),\n address_line2: z.string().describe(\"Address line 2\").optional(),\n address_line3: z.string().describe(\"Address line 3\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.string().describe(\"Indicate whether the address is residential or commercial. Values: 'residential', 'commercial', 'unknown', 'yes', 'no'\").optional(),\n}).describe(\"Origin address\"),\n carrier_id: z.string().describe(\"Carrier ID for this shipment (optional if using rate_options.carrier_ids)\").optional(),\n confirmation: z.string().describe(\"Delivery confirmation type (e.g., 'delivery', 'signature', 'adult_signature', 'direct_signature')\").optional(),\n service_code: z.string().describe(\"Service code for this shipment (optional if using rate_options.service_codes)\").optional(),\n advanced_options: z.record(z.string(), z.unknown()).describe(\"Advanced shipping options\").optional(),\n validate_address: z.string().describe(\"Address validation level. Options: 'no_validation', 'validate_only', 'validate_and_clean'\").optional(),\n insurance_provider: z.string().describe(\"Insurance provider (e.g., 'shipsurance', 'carrier', 'none')\").optional(),\n external_shipment_id: z.string().describe(\"External reference ID for this shipment\").optional(),\n}).passthrough().describe(\"Shipment details for bulk rate request.\")).describe(\"List of new shipment details to get rates for. Use this OR shipment_ids, not both.\").optional(),\n rate_options: z.object({\n carrier_ids: z.array(z.string()).describe(\"List of carrier IDs to get rates from. Required field - specify at least one carrier ID.\"),\n package_types: z.array(z.string()).describe(\"List of package types to get rates for. Leave empty to get rates for all package types.\").optional(),\n service_codes: z.array(z.string()).describe(\"List of service codes to filter rates. If not provided, all services will be included.\").optional(),\n preferred_currency: z.string().describe(\"Preferred currency for rate amounts (3-letter ISO 4217 currency code).\").optional(),\n calculate_tax_amount: z.boolean().describe(\"Whether to calculate tax amount for the shipment. Set to true to include tax calculations.\").optional(),\n}).describe(\"Rate options including carrier IDs, service codes, and other preferences for fetching rates\"),\n shipment_ids: z.array(z.string()).describe(\"List of existing ShipEngine shipment IDs to get rates for. Each ID must start with 'se-'. Use this OR shipments, not both.\").optional(),\n ship_to_service_point_id: z.string().describe(\"A unique identifier for a carrier service point where the shipment will be delivered by the carrier. This will take precedence over a shipment's ship to address.\").optional(),\n ship_from_service_point_id: z.string().describe(\"A unique identifier for a carrier drop off point where a merchant plans to deliver packages. This will take precedence over a shipment's ship from address.\").optional(),\n}).describe(\"Request model for getting bulk shipping rates.\\nMust provide either shipment_ids (for existing shipments) OR shipments (new shipment details).\");\nconst ShipengineGetBulkRates_ErrorDetailSchema = z.object({\n message: z.string().describe(\"Human-readable error message\").nullable().optional(),\n error_code: z.string().describe(\"Error code identifying the specific error\").nullable().optional(),\n error_type: z.string().describe(\"Type of error (e.g., 'validation', 'business_rule')\").nullable().optional(),\n error_source: z.string().describe(\"Source of the error (e.g., 'shipengine', 'carrier')\").nullable().optional(),\n}).passthrough().describe(\"Error details for a bulk rate response.\");\nconst ShipengineGetBulkRates_BulkRateSchema = z.object({\n errors: z.array(ShipengineGetBulkRates_ErrorDetailSchema).describe(\"An array of errors that were returned while retrieving the rate\"),\n status: z.string().describe(\"Status of the rate request (e.g., 'working', 'completed', 'error')\").nullable(),\n created_at: z.string().describe(\"Timestamp when the rate request was created (ISO 8601 format)\").nullable(),\n shipment_id: z.string().describe(\"A string that uniquely identifies the shipment\").nullable(),\n rate_request_id: z.string().describe(\"A string that uniquely identifies the rate request\").nullable(),\n}).passthrough().describe(\"A bulk rate response for a single shipment.\");\nexport const ShipengineGetBulkRatesOutput = z.object({\n rates: z.array(ShipengineGetBulkRates_BulkRateSchema).describe(\"List of bulk rate responses, one for each shipment. Use the rate_request_id to poll for completed rates.\"),\n}).passthrough().describe(\"Response model for bulk rate requests.\\nReturns a list of rate request statuses.\");\n\nexport const shipengineGetBulkRates: AppAction<\n typeof ShipengineGetBulkRatesInput,\n typeof ShipengineGetBulkRatesOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_GET_BULK_RATES\", {\n slug: \"shipengine-get-bulk-rates\",\n name: \"Get Bulk Rates\",\n description: \"Tool to get shipping rates for multiple shipments in a single request. Use when you need to compare rates across multiple carriers or shipments efficiently. The request is processed asynchronously - use the returned rate_request_id to retrieve the actual rates once processing is complete.\",\n input: ShipengineGetBulkRatesInput,\n output: ShipengineGetBulkRatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAChH,SAASA,IAAAA,EAAE,OAAO;GAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GACpD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;GACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;GAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;GAC/D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GACnD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;GAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;GAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;GACrD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;GACvD,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EACxL,CAAC,CAAC,CAAC,SAAS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