@keystrokehq/shipengine 0.1.0 → 0.1.2
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.map +1 -1
- package/dist/actions/add-tag-to-shipment.d.cts +11 -3
- package/dist/actions/add-tag-to-shipment.d.cts.map +1 -1
- package/dist/actions/add-tag-to-shipment.d.mts +11 -3
- package/dist/actions/add-tag-to-shipment.d.mts.map +1 -1
- package/dist/actions/add-tag-to-shipment.mjs.map +1 -1
- package/dist/actions/add-to-batch.cjs.map +1 -1
- package/dist/actions/add-to-batch.d.cts +13 -3
- package/dist/actions/add-to-batch.d.cts.map +1 -1
- package/dist/actions/add-to-batch.d.mts +13 -3
- package/dist/actions/add-to-batch.d.mts.map +1 -1
- package/dist/actions/add-to-batch.mjs.map +1 -1
- package/dist/actions/cancel-shipment.cjs.map +1 -1
- package/dist/actions/cancel-shipment.d.cts +9 -3
- package/dist/actions/cancel-shipment.d.cts.map +1 -1
- package/dist/actions/cancel-shipment.d.mts +9 -3
- package/dist/actions/cancel-shipment.d.mts.map +1 -1
- package/dist/actions/cancel-shipment.mjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.cjs +1 -1
- package/dist/actions/connect-ltl-carrier.cjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.d.cts +11 -3
- package/dist/actions/connect-ltl-carrier.d.cts.map +1 -1
- package/dist/actions/connect-ltl-carrier.d.mts +11 -3
- package/dist/actions/connect-ltl-carrier.d.mts.map +1 -1
- package/dist/actions/connect-ltl-carrier.mjs +1 -1
- package/dist/actions/connect-ltl-carrier.mjs.map +1 -1
- package/dist/actions/connect-shipsurance.cjs.map +1 -1
- package/dist/actions/connect-shipsurance.d.cts +9 -3
- package/dist/actions/connect-shipsurance.d.cts.map +1 -1
- package/dist/actions/connect-shipsurance.d.mts +9 -3
- package/dist/actions/connect-shipsurance.d.mts.map +1 -1
- package/dist/actions/connect-shipsurance.mjs.map +1 -1
- package/dist/actions/create-account-image.cjs.map +1 -1
- package/dist/actions/create-account-image.d.cts +22 -3
- package/dist/actions/create-account-image.d.cts.map +1 -1
- package/dist/actions/create-account-image.d.mts +22 -3
- package/dist/actions/create-account-image.d.mts.map +1 -1
- package/dist/actions/create-account-image.mjs.map +1 -1
- package/dist/actions/create-package-type.cjs +6 -6
- package/dist/actions/create-package-type.cjs.map +1 -1
- package/dist/actions/create-package-type.d.cts +40 -3
- package/dist/actions/create-package-type.d.cts.map +1 -1
- package/dist/actions/create-package-type.d.mts +40 -3
- package/dist/actions/create-package-type.d.mts.map +1 -1
- package/dist/actions/create-package-type.mjs +6 -6
- package/dist/actions/create-package-type.mjs.map +1 -1
- package/dist/actions/create-tag.cjs.map +1 -1
- package/dist/actions/create-tag.d.cts +11 -3
- package/dist/actions/create-tag.d.cts.map +1 -1
- package/dist/actions/create-tag.d.mts +11 -3
- package/dist/actions/create-tag.d.mts.map +1 -1
- package/dist/actions/create-tag.mjs.map +1 -1
- package/dist/actions/create-tag2.cjs +1 -1
- package/dist/actions/create-tag2.cjs.map +1 -1
- package/dist/actions/create-tag2.d.cts +11 -3
- package/dist/actions/create-tag2.d.cts.map +1 -1
- package/dist/actions/create-tag2.d.mts +11 -3
- package/dist/actions/create-tag2.d.mts.map +1 -1
- package/dist/actions/create-tag2.mjs +1 -1
- package/dist/actions/create-tag2.mjs.map +1 -1
- package/dist/actions/create-warehouse.cjs +9 -9
- package/dist/actions/create-warehouse.cjs.map +1 -1
- package/dist/actions/create-warehouse.d.cts +108 -3
- package/dist/actions/create-warehouse.d.cts.map +1 -1
- package/dist/actions/create-warehouse.d.mts +108 -3
- package/dist/actions/create-warehouse.d.mts.map +1 -1
- package/dist/actions/create-warehouse.mjs +9 -9
- package/dist/actions/create-warehouse.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +4 -4
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +17 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +17 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +4 -4
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-account-image-by-id.cjs +2 -2
- package/dist/actions/delete-account-image-by-id.cjs.map +1 -1
- package/dist/actions/delete-account-image-by-id.d.cts +10 -3
- package/dist/actions/delete-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/delete-account-image-by-id.d.mts +10 -3
- package/dist/actions/delete-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/delete-account-image-by-id.mjs +2 -2
- package/dist/actions/delete-account-image-by-id.mjs.map +1 -1
- package/dist/actions/delete-batch.cjs.map +1 -1
- package/dist/actions/delete-batch.d.cts +9 -3
- package/dist/actions/delete-batch.d.cts.map +1 -1
- package/dist/actions/delete-batch.d.mts +9 -3
- package/dist/actions/delete-batch.d.mts.map +1 -1
- package/dist/actions/delete-batch.mjs.map +1 -1
- package/dist/actions/delete-package.cjs.map +1 -1
- package/dist/actions/delete-package.d.cts +10 -3
- package/dist/actions/delete-package.d.cts.map +1 -1
- package/dist/actions/delete-package.d.mts +10 -3
- package/dist/actions/delete-package.d.mts.map +1 -1
- package/dist/actions/delete-package.mjs.map +1 -1
- package/dist/actions/delete-warehouse.cjs.map +1 -1
- package/dist/actions/delete-warehouse.d.cts +10 -3
- package/dist/actions/delete-warehouse.d.cts.map +1 -1
- package/dist/actions/delete-warehouse.d.mts +10 -3
- package/dist/actions/delete-warehouse.d.mts.map +1 -1
- package/dist/actions/delete-warehouse.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +2 -2
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +10 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +10 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +2 -2
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/disconnect-carrier.cjs.map +1 -1
- package/dist/actions/disconnect-carrier.d.cts +40 -3
- package/dist/actions/disconnect-carrier.d.cts.map +1 -1
- package/dist/actions/disconnect-carrier.d.mts +40 -3
- package/dist/actions/disconnect-carrier.d.mts.map +1 -1
- package/dist/actions/disconnect-carrier.mjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.cjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.d.cts +3 -3
- package/dist/actions/disconnect-shipsurance.d.cts.map +1 -1
- package/dist/actions/disconnect-shipsurance.d.mts +3 -3
- package/dist/actions/disconnect-shipsurance.d.mts.map +1 -1
- package/dist/actions/disconnect-shipsurance.mjs.map +1 -1
- package/dist/actions/download-file.cjs +3 -3
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +21 -3
- package/dist/actions/download-file.d.cts.map +1 -1
- package/dist/actions/download-file.d.mts +21 -3
- package/dist/actions/download-file.d.mts.map +1 -1
- package/dist/actions/download-file.mjs +3 -3
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/get-account-image-by-id.cjs +3 -3
- package/dist/actions/get-account-image-by-id.cjs.map +1 -1
- package/dist/actions/get-account-image-by-id.d.cts +15 -3
- package/dist/actions/get-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/get-account-image-by-id.d.mts +15 -3
- package/dist/actions/get-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/get-account-image-by-id.mjs +3 -3
- package/dist/actions/get-account-image-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-external-id.cjs +11 -11
- package/dist/actions/get-batch-by-external-id.cjs.map +1 -1
- package/dist/actions/get-batch-by-external-id.d.cts +29 -3
- package/dist/actions/get-batch-by-external-id.d.cts.map +1 -1
- package/dist/actions/get-batch-by-external-id.d.mts +29 -3
- package/dist/actions/get-batch-by-external-id.d.mts.map +1 -1
- package/dist/actions/get-batch-by-external-id.mjs +11 -11
- package/dist/actions/get-batch-by-external-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-id.cjs +4 -4
- package/dist/actions/get-batch-by-id.cjs.map +1 -1
- package/dist/actions/get-batch-by-id.d.cts +42 -3
- package/dist/actions/get-batch-by-id.d.cts.map +1 -1
- package/dist/actions/get-batch-by-id.d.mts +42 -3
- package/dist/actions/get-batch-by-id.d.mts.map +1 -1
- package/dist/actions/get-batch-by-id.mjs +4 -4
- package/dist/actions/get-batch-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-errors.cjs.map +1 -1
- package/dist/actions/get-batch-errors.d.cts +31 -3
- package/dist/actions/get-batch-errors.d.cts.map +1 -1
- package/dist/actions/get-batch-errors.d.mts +31 -3
- package/dist/actions/get-batch-errors.d.mts.map +1 -1
- package/dist/actions/get-batch-errors.mjs.map +1 -1
- package/dist/actions/get-bulk-rates.cjs +4 -4
- package/dist/actions/get-bulk-rates.cjs.map +1 -1
- package/dist/actions/get-bulk-rates.d.cts +170 -3
- package/dist/actions/get-bulk-rates.d.cts.map +1 -1
- package/dist/actions/get-bulk-rates.d.mts +170 -3
- package/dist/actions/get-bulk-rates.d.mts.map +1 -1
- package/dist/actions/get-bulk-rates.mjs +4 -4
- package/dist/actions/get-bulk-rates.mjs.map +1 -1
- package/dist/actions/get-insurance-balance.cjs +2 -2
- package/dist/actions/get-insurance-balance.cjs.map +1 -1
- package/dist/actions/get-insurance-balance.d.cts +9 -3
- package/dist/actions/get-insurance-balance.d.cts.map +1 -1
- package/dist/actions/get-insurance-balance.d.mts +9 -3
- package/dist/actions/get-insurance-balance.d.mts.map +1 -1
- package/dist/actions/get-insurance-balance.mjs +2 -2
- package/dist/actions/get-insurance-balance.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.d.cts +13 -3
- package/dist/actions/get-ltl-carrier-credential-requirements.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.d.mts +13 -3
- package/dist/actions/get-ltl-carrier-credential-requirements.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.d.cts +17 -3
- package/dist/actions/get-ltl-carrier-features.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-features.d.mts +17 -3
- package/dist/actions/get-ltl-carrier-features.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-features.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.d.cts +17 -3
- package/dist/actions/get-ltl-carrier-options.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-options.d.mts +17 -3
- package/dist/actions/get-ltl-carrier-options.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-options.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.cjs +2 -2
- package/dist/actions/get-ltl-carrier-packages.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.d.cts +13 -3
- package/dist/actions/get-ltl-carrier-packages.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.d.mts +13 -3
- package/dist/actions/get-ltl-carrier-packages.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.mjs +2 -2
- package/dist/actions/get-ltl-carrier-packages.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.d.cts +13 -3
- package/dist/actions/get-ltl-carrier-services.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-services.d.mts +13 -3
- package/dist/actions/get-ltl-carrier-services.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-services.mjs.map +1 -1
- package/dist/actions/get-package-by-id.cjs +3 -3
- package/dist/actions/get-package-by-id.cjs.map +1 -1
- package/dist/actions/get-package-by-id.d.cts +18 -3
- package/dist/actions/get-package-by-id.d.cts.map +1 -1
- package/dist/actions/get-package-by-id.d.mts +18 -3
- package/dist/actions/get-package-by-id.d.mts.map +1 -1
- package/dist/actions/get-package-by-id.mjs +3 -3
- package/dist/actions/get-package-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-external-id.cjs +11 -11
- package/dist/actions/get-shipment-by-external-id.cjs.map +1 -1
- package/dist/actions/get-shipment-by-external-id.d.cts +137 -3
- package/dist/actions/get-shipment-by-external-id.d.cts.map +1 -1
- package/dist/actions/get-shipment-by-external-id.d.mts +137 -3
- package/dist/actions/get-shipment-by-external-id.d.mts.map +1 -1
- package/dist/actions/get-shipment-by-external-id.mjs +11 -11
- package/dist/actions/get-shipment-by-external-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-id.cjs +18 -18
- package/dist/actions/get-shipment-by-id.cjs.map +1 -1
- package/dist/actions/get-shipment-by-id.d.cts +128 -3
- package/dist/actions/get-shipment-by-id.d.cts.map +1 -1
- package/dist/actions/get-shipment-by-id.d.mts +128 -3
- package/dist/actions/get-shipment-by-id.d.mts.map +1 -1
- package/dist/actions/get-shipment-by-id.mjs +18 -18
- package/dist/actions/get-shipment-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-rates.cjs +3 -3
- package/dist/actions/get-shipment-rates.cjs.map +1 -1
- package/dist/actions/get-shipment-rates.d.cts +104 -3
- package/dist/actions/get-shipment-rates.d.cts.map +1 -1
- package/dist/actions/get-shipment-rates.d.mts +104 -3
- package/dist/actions/get-shipment-rates.d.mts.map +1 -1
- package/dist/actions/get-shipment-rates.mjs +3 -3
- package/dist/actions/get-shipment-rates.mjs.map +1 -1
- package/dist/actions/get-tracking-info.cjs +5 -5
- package/dist/actions/get-tracking-info.cjs.map +1 -1
- package/dist/actions/get-tracking-info.d.cts +44 -3
- package/dist/actions/get-tracking-info.d.cts.map +1 -1
- package/dist/actions/get-tracking-info.d.mts +44 -3
- package/dist/actions/get-tracking-info.d.mts.map +1 -1
- package/dist/actions/get-tracking-info.mjs +5 -5
- package/dist/actions/get-tracking-info.mjs.map +1 -1
- package/dist/actions/get-warehouse-by-id.cjs +8 -8
- package/dist/actions/get-warehouse-by-id.cjs.map +1 -1
- package/dist/actions/get-warehouse-by-id.d.cts +46 -3
- package/dist/actions/get-warehouse-by-id.d.cts.map +1 -1
- package/dist/actions/get-warehouse-by-id.d.mts +46 -3
- package/dist/actions/get-warehouse-by-id.d.mts.map +1 -1
- package/dist/actions/get-warehouse-by-id.mjs +8 -8
- package/dist/actions/get-warehouse-by-id.mjs.map +1 -1
- package/dist/actions/get-webhook-by-id.cjs +5 -5
- package/dist/actions/get-webhook-by-id.cjs.map +1 -1
- package/dist/actions/get-webhook-by-id.d.cts +17 -3
- package/dist/actions/get-webhook-by-id.d.cts.map +1 -1
- package/dist/actions/get-webhook-by-id.d.mts +17 -3
- package/dist/actions/get-webhook-by-id.d.mts.map +1 -1
- package/dist/actions/get-webhook-by-id.mjs +5 -5
- package/dist/actions/get-webhook-by-id.mjs.map +1 -1
- package/dist/actions/list-account-images.cjs.map +1 -1
- package/dist/actions/list-account-images.d.cts +13 -3
- package/dist/actions/list-account-images.d.cts.map +1 -1
- package/dist/actions/list-account-images.d.mts +13 -3
- package/dist/actions/list-account-images.d.mts.map +1 -1
- package/dist/actions/list-account-images.mjs.map +1 -1
- package/dist/actions/list-account-settings.cjs.map +1 -1
- package/dist/actions/list-account-settings.d.cts +3 -3
- package/dist/actions/list-account-settings.d.cts.map +1 -1
- package/dist/actions/list-account-settings.d.mts +3 -3
- package/dist/actions/list-account-settings.d.mts.map +1 -1
- package/dist/actions/list-account-settings.mjs.map +1 -1
- package/dist/actions/list-batches2.cjs +12 -12
- package/dist/actions/list-batches2.cjs.map +1 -1
- package/dist/actions/list-batches2.d.cts +71 -3
- package/dist/actions/list-batches2.d.cts.map +1 -1
- package/dist/actions/list-batches2.d.mts +71 -3
- package/dist/actions/list-batches2.d.mts.map +1 -1
- package/dist/actions/list-batches2.mjs +12 -12
- package/dist/actions/list-batches2.mjs.map +1 -1
- package/dist/actions/list-carrier-package-types.cjs +2 -2
- package/dist/actions/list-carrier-package-types.cjs.map +1 -1
- package/dist/actions/list-carrier-package-types.d.cts +20 -3
- package/dist/actions/list-carrier-package-types.d.cts.map +1 -1
- package/dist/actions/list-carrier-package-types.d.mts +20 -3
- package/dist/actions/list-carrier-package-types.d.mts.map +1 -1
- package/dist/actions/list-carrier-package-types.mjs +2 -2
- package/dist/actions/list-carrier-package-types.mjs.map +1 -1
- package/dist/actions/list-labels2.cjs +3 -3
- package/dist/actions/list-labels2.cjs.map +1 -1
- package/dist/actions/list-labels2.d.cts +215 -3
- package/dist/actions/list-labels2.d.cts.map +1 -1
- package/dist/actions/list-labels2.d.mts +215 -3
- package/dist/actions/list-labels2.d.mts.map +1 -1
- package/dist/actions/list-labels2.mjs +3 -3
- package/dist/actions/list-labels2.mjs.map +1 -1
- package/dist/actions/list-ltl-carriers.cjs +5 -5
- package/dist/actions/list-ltl-carriers.cjs.map +1 -1
- package/dist/actions/list-ltl-carriers.d.cts +38 -3
- package/dist/actions/list-ltl-carriers.d.cts.map +1 -1
- package/dist/actions/list-ltl-carriers.d.mts +38 -3
- package/dist/actions/list-ltl-carriers.d.mts.map +1 -1
- package/dist/actions/list-ltl-carriers.mjs +5 -5
- package/dist/actions/list-ltl-carriers.mjs.map +1 -1
- package/dist/actions/list-manifests2.cjs +3 -3
- package/dist/actions/list-manifests2.cjs.map +1 -1
- package/dist/actions/list-manifests2.d.cts +58 -3
- package/dist/actions/list-manifests2.d.cts.map +1 -1
- package/dist/actions/list-manifests2.d.mts +58 -3
- package/dist/actions/list-manifests2.d.mts.map +1 -1
- package/dist/actions/list-manifests2.mjs +3 -3
- package/dist/actions/list-manifests2.mjs.map +1 -1
- package/dist/actions/list-packages.cjs +3 -3
- package/dist/actions/list-packages.cjs.map +1 -1
- package/dist/actions/list-packages.d.cts +30 -3
- package/dist/actions/list-packages.d.cts.map +1 -1
- package/dist/actions/list-packages.d.mts +30 -3
- package/dist/actions/list-packages.d.mts.map +1 -1
- package/dist/actions/list-packages.mjs +3 -3
- package/dist/actions/list-packages.mjs.map +1 -1
- package/dist/actions/list-pickups.cjs +3 -3
- package/dist/actions/list-pickups.cjs.map +1 -1
- package/dist/actions/list-pickups.d.cts +67 -3
- package/dist/actions/list-pickups.d.cts.map +1 -1
- package/dist/actions/list-pickups.d.mts +67 -3
- package/dist/actions/list-pickups.d.mts.map +1 -1
- package/dist/actions/list-pickups.mjs +3 -3
- package/dist/actions/list-pickups.mjs.map +1 -1
- package/dist/actions/list-shipments2.cjs +6 -6
- package/dist/actions/list-shipments2.cjs.map +1 -1
- package/dist/actions/list-shipments2.d.cts +152 -3
- package/dist/actions/list-shipments2.d.cts.map +1 -1
- package/dist/actions/list-shipments2.d.mts +152 -3
- package/dist/actions/list-shipments2.d.mts.map +1 -1
- package/dist/actions/list-shipments2.mjs +6 -6
- package/dist/actions/list-shipments2.mjs.map +1 -1
- package/dist/actions/list-tags2.cjs +1 -1
- package/dist/actions/list-tags2.cjs.map +1 -1
- package/dist/actions/list-tags2.d.cts +9 -3
- package/dist/actions/list-tags2.d.cts.map +1 -1
- package/dist/actions/list-tags2.d.mts +9 -3
- package/dist/actions/list-tags2.d.mts.map +1 -1
- package/dist/actions/list-tags2.mjs +1 -1
- package/dist/actions/list-tags2.mjs.map +1 -1
- package/dist/actions/list-warehouses.cjs +8 -8
- package/dist/actions/list-warehouses.cjs.map +1 -1
- package/dist/actions/list-warehouses.d.cts +32 -3
- package/dist/actions/list-warehouses.d.cts.map +1 -1
- package/dist/actions/list-warehouses.d.mts +32 -3
- package/dist/actions/list-warehouses.d.mts.map +1 -1
- package/dist/actions/list-warehouses.mjs +8 -8
- package/dist/actions/list-warehouses.mjs.map +1 -1
- package/dist/actions/list-webhook-events.cjs +2 -2
- package/dist/actions/list-webhook-events.cjs.map +1 -1
- package/dist/actions/list-webhook-events.d.cts +8 -3
- package/dist/actions/list-webhook-events.d.cts.map +1 -1
- package/dist/actions/list-webhook-events.d.mts +8 -3
- package/dist/actions/list-webhook-events.d.mts.map +1 -1
- package/dist/actions/list-webhook-events.mjs +2 -2
- package/dist/actions/list-webhook-events.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +5 -5
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +15 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +15 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +5 -5
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/parse-address.cjs +6 -6
- package/dist/actions/parse-address.cjs.map +1 -1
- package/dist/actions/parse-address.d.cts +59 -3
- package/dist/actions/parse-address.d.cts.map +1 -1
- package/dist/actions/parse-address.d.mts +59 -3
- package/dist/actions/parse-address.d.mts.map +1 -1
- package/dist/actions/parse-address.mjs +6 -6
- package/dist/actions/parse-address.mjs.map +1 -1
- package/dist/actions/process-batch-labels.cjs.map +1 -1
- package/dist/actions/process-batch-labels.d.cts +28 -3
- package/dist/actions/process-batch-labels.d.cts.map +1 -1
- package/dist/actions/process-batch-labels.d.mts +28 -3
- package/dist/actions/process-batch-labels.d.mts.map +1 -1
- package/dist/actions/process-batch-labels.mjs.map +1 -1
- package/dist/actions/remove-from-batch.cjs.map +1 -1
- package/dist/actions/remove-from-batch.d.cts +13 -3
- package/dist/actions/remove-from-batch.d.cts.map +1 -1
- package/dist/actions/remove-from-batch.d.mts +13 -3
- package/dist/actions/remove-from-batch.d.mts.map +1 -1
- package/dist/actions/remove-from-batch.mjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.cjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.d.cts +11 -3
- package/dist/actions/remove-tag-from-shipment.d.cts.map +1 -1
- package/dist/actions/remove-tag-from-shipment.d.mts +11 -3
- package/dist/actions/remove-tag-from-shipment.d.mts.map +1 -1
- package/dist/actions/remove-tag-from-shipment.mjs.map +1 -1
- package/dist/actions/start-tracking.cjs +2 -2
- package/dist/actions/start-tracking.cjs.map +1 -1
- package/dist/actions/start-tracking.d.cts +14 -3
- package/dist/actions/start-tracking.d.cts.map +1 -1
- package/dist/actions/start-tracking.d.mts +14 -3
- package/dist/actions/start-tracking.d.mts.map +1 -1
- package/dist/actions/start-tracking.mjs +2 -2
- package/dist/actions/start-tracking.mjs.map +1 -1
- package/dist/actions/stop-tracking.cjs.map +1 -1
- package/dist/actions/stop-tracking.d.cts +12 -3
- package/dist/actions/stop-tracking.d.cts.map +1 -1
- package/dist/actions/stop-tracking.d.mts +12 -3
- package/dist/actions/stop-tracking.d.mts.map +1 -1
- package/dist/actions/stop-tracking.mjs.map +1 -1
- package/dist/actions/track-ltl-shipment.cjs.map +1 -1
- package/dist/actions/track-ltl-shipment.d.cts +37 -3
- package/dist/actions/track-ltl-shipment.d.cts.map +1 -1
- package/dist/actions/track-ltl-shipment.d.mts +37 -3
- package/dist/actions/track-ltl-shipment.d.mts.map +1 -1
- package/dist/actions/track-ltl-shipment.mjs.map +1 -1
- package/dist/actions/update-account-image-by-id.cjs.map +1 -1
- package/dist/actions/update-account-image-by-id.d.cts +15 -3
- package/dist/actions/update-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/update-account-image-by-id.d.mts +15 -3
- package/dist/actions/update-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/update-account-image-by-id.mjs.map +1 -1
- package/dist/actions/update-ltl-connection.cjs.map +1 -1
- package/dist/actions/update-ltl-connection.d.cts +13 -3
- package/dist/actions/update-ltl-connection.d.cts.map +1 -1
- package/dist/actions/update-ltl-connection.d.mts +13 -3
- package/dist/actions/update-ltl-connection.d.mts.map +1 -1
- package/dist/actions/update-ltl-connection.mjs.map +1 -1
- package/dist/actions/update-package.cjs +2 -2
- package/dist/actions/update-package.cjs.map +1 -1
- package/dist/actions/update-package.d.cts +31 -3
- package/dist/actions/update-package.d.cts.map +1 -1
- package/dist/actions/update-package.d.mts +31 -3
- package/dist/actions/update-package.d.mts.map +1 -1
- package/dist/actions/update-package.mjs +2 -2
- package/dist/actions/update-package.mjs.map +1 -1
- package/dist/actions/update-shipment.cjs +25 -25
- package/dist/actions/update-shipment.cjs.map +1 -1
- package/dist/actions/update-shipment.d.cts +428 -3
- package/dist/actions/update-shipment.d.cts.map +1 -1
- package/dist/actions/update-shipment.d.mts +428 -3
- package/dist/actions/update-shipment.d.mts.map +1 -1
- package/dist/actions/update-shipment.mjs +25 -25
- package/dist/actions/update-shipment.mjs.map +1 -1
- package/dist/actions/update-shipments-tags.cjs.map +1 -1
- package/dist/actions/update-shipments-tags.d.cts +16 -3
- package/dist/actions/update-shipments-tags.d.cts.map +1 -1
- package/dist/actions/update-shipments-tags.d.mts +16 -3
- package/dist/actions/update-shipments-tags.d.mts.map +1 -1
- package/dist/actions/update-shipments-tags.mjs.map +1 -1
- package/dist/actions/update-warehouse.cjs +2 -2
- package/dist/actions/update-warehouse.cjs.map +1 -1
- package/dist/actions/update-warehouse.d.cts +74 -3
- package/dist/actions/update-warehouse.d.cts.map +1 -1
- package/dist/actions/update-warehouse.d.mts +74 -3
- package/dist/actions/update-warehouse.d.mts.map +1 -1
- package/dist/actions/update-warehouse.mjs +2 -2
- package/dist/actions/update-warehouse.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +23 -3
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +23 -3
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/validate-address.cjs +4 -4
- package/dist/actions/validate-address.cjs.map +1 -1
- package/dist/actions/validate-address.d.cts +86 -3
- package/dist/actions/validate-address.d.cts.map +1 -1
- package/dist/actions/validate-address.d.mts +86 -3
- package/dist/actions/validate-address.d.mts.map +1 -1
- package/dist/actions/validate-address.mjs +4 -4
- package/dist/actions/validate-address.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["shipengine","executeShipengineTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { shipengine } from \"./app\";\nimport { executeShipengineTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["shipengine","executeShipengineTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { shipengine } from \"./app\";\nimport { executeShipengineTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return shipengine.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeShipengineTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { shipengine } from \"./app\";\nimport { executeShipengineTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { shipengine } from \"./app\";\nimport { executeShipengineTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return shipengine.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeShipengineTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-tag-to-shipment.cjs","names":["z","action"],"sources":["../../src/actions/add-tag-to-shipment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineAddTagToShipmentInput
|
|
1
|
+
{"version":3,"file":"add-tag-to-shipment.cjs","names":["z","action"],"sources":["../../src/actions/add-tag-to-shipment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineAddTagToShipmentInput = z.object({\n tag_name: z.string().describe(\"Tag name to add to the shipment. Tags are arbitrary strings that you can use to categorize shipments. For example, you may want to use tags to distinguish between domestic and international shipments, or between insured and uninsured shipments.\"),\n shipment_id: z.string().describe(\"Unique ShipEngine shipment ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for adding a tag to a shipment.\");\nexport const ShipengineAddTagToShipmentOutput = z.object({\n tags: z.array(z.string()).describe(\"List containing the tag that was just added to the shipment\").nullable().optional(),\n}).describe(\"Response model after adding a tag to a shipment.\");\n\nexport const shipengineAddTagToShipment = action(\"SHIPENGINE_ADD_TAG_TO_SHIPMENT\", {\n slug: \"shipengine-add-tag-to-shipment\",\n name: \"Add Tag to Shipment\",\n description: \"Tool to add a tag to a shipment for organization and filtering. Use when you need to categorize or label a shipment.\",\n input: ShipengineAddTagToShipmentInput,\n output: ShipengineAddTagToShipmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sPAAsP;CACpR,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;AAC7H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-tag-to-shipment.d.ts
|
|
4
|
-
declare const ShipengineAddTagToShipmentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineAddTagToShipmentInput: z.ZodObject<{
|
|
5
|
+
tag_name: z.ZodString;
|
|
6
|
+
shipment_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ShipengineAddTagToShipmentOutput: z.ZodObject<{
|
|
9
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const shipengineAddTagToShipment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
tag_name: string;
|
|
13
|
+
shipment_id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { shipengineAddTagToShipment };
|
|
9
17
|
//# sourceMappingURL=add-tag-to-shipment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-tag-to-shipment.d.cts","names":[],"sources":["../../src/actions/add-tag-to-shipment.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"add-tag-to-shipment.d.cts","names":[],"sources":["../../src/actions/add-tag-to-shipment.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-tag-to-shipment.d.ts
|
|
4
|
-
declare const ShipengineAddTagToShipmentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineAddTagToShipmentInput: z.ZodObject<{
|
|
5
|
+
tag_name: z.ZodString;
|
|
6
|
+
shipment_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ShipengineAddTagToShipmentOutput: z.ZodObject<{
|
|
9
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const shipengineAddTagToShipment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
tag_name: string;
|
|
13
|
+
shipment_id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { shipengineAddTagToShipment };
|
|
9
17
|
//# sourceMappingURL=add-tag-to-shipment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-tag-to-shipment.d.mts","names":[],"sources":["../../src/actions/add-tag-to-shipment.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"add-tag-to-shipment.d.mts","names":[],"sources":["../../src/actions/add-tag-to-shipment.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-tag-to-shipment.mjs","names":[],"sources":["../../src/actions/add-tag-to-shipment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineAddTagToShipmentInput
|
|
1
|
+
{"version":3,"file":"add-tag-to-shipment.mjs","names":[],"sources":["../../src/actions/add-tag-to-shipment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineAddTagToShipmentInput = z.object({\n tag_name: z.string().describe(\"Tag name to add to the shipment. Tags are arbitrary strings that you can use to categorize shipments. For example, you may want to use tags to distinguish between domestic and international shipments, or between insured and uninsured shipments.\"),\n shipment_id: z.string().describe(\"Unique ShipEngine shipment ID, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for adding a tag to a shipment.\");\nexport const ShipengineAddTagToShipmentOutput = z.object({\n tags: z.array(z.string()).describe(\"List containing the tag that was just added to the shipment\").nullable().optional(),\n}).describe(\"Response model after adding a tag to a shipment.\");\n\nexport const shipengineAddTagToShipment = action(\"SHIPENGINE_ADD_TAG_TO_SHIPMENT\", {\n slug: \"shipengine-add-tag-to-shipment\",\n name: \"Add Tag to Shipment\",\n description: \"Tool to add a tag to a shipment for organization and filtering. Use when you need to categorize or label a shipment.\",\n input: ShipengineAddTagToShipmentInput,\n output: ShipengineAddTagToShipmentOutput,\n});\n"],"mappings":";;AAYA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6C,EAAE,OAAO;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sPAAsP;EACpR,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CAC7H,CAAC,CAAC,CAAC,SAAS,+CASH;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-to-batch.cjs","names":["z","action"],"sources":["../../src/actions/add-to-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineAddToBatchInput
|
|
1
|
+
{"version":3,"file":"add-to-batch.cjs","names":["z","action"],"sources":["../../src/actions/add-to-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineAddToBatchInput = z.object({\n batch_id: z.string().describe(\"Unique identifier of the batch to add items to.\"),\n rate_ids: z.array(z.string()).describe(\"List of rate IDs to add to the batch. At least one of shipment_ids or rate_ids must be provided.\").optional(),\n shipment_ids: z.array(z.string()).describe(\"List of shipment IDs to add to the batch. At least one of shipment_ids or rate_ids must be provided.\").optional(),\n}).describe(\"Request parameters for adding shipments or rates to an existing batch.\");\nexport const ShipengineAddToBatchOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the items were successfully added to the batch.\").nullable().optional(),\n}).describe(\"Response returned after adding items to a batch. The API returns 204 No Content on success.\");\n\nexport const shipengineAddToBatch = action(\"SHIPENGINE_ADD_TO_BATCH\", {\n slug: \"shipengine-add-to-batch\",\n name: \"Add to Batch\",\n description: \"Tool to add shipments or rate IDs to an existing batch. Use when you need to add items to a batch after the batch has been created. At least one of shipment_ids or rate_ids must be provided.\",\n input: ShipengineAddToBatchInput,\n output: ShipengineAddToBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACpJ,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvI,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAEzG,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-to-batch.d.ts
|
|
4
|
-
declare const ShipengineAddToBatchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineAddToBatchInput: z.ZodObject<{
|
|
5
|
+
batch_id: z.ZodString;
|
|
6
|
+
rate_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
shipment_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ShipengineAddToBatchOutput: z.ZodObject<{
|
|
10
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const shipengineAddToBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
batch_id: string;
|
|
14
|
+
rate_ids?: string[] | undefined;
|
|
15
|
+
shipment_ids?: string[] | undefined;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { shipengineAddToBatch };
|
|
9
19
|
//# sourceMappingURL=add-to-batch.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-to-batch.d.cts","names":[],"sources":["../../src/actions/add-to-batch.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"add-to-batch.d.cts","names":[],"sources":["../../src/actions/add-to-batch.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-to-batch.d.ts
|
|
4
|
-
declare const ShipengineAddToBatchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineAddToBatchInput: z.ZodObject<{
|
|
5
|
+
batch_id: z.ZodString;
|
|
6
|
+
rate_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
shipment_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ShipengineAddToBatchOutput: z.ZodObject<{
|
|
10
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const shipengineAddToBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
batch_id: string;
|
|
14
|
+
rate_ids?: string[] | undefined;
|
|
15
|
+
shipment_ids?: string[] | undefined;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { shipengineAddToBatch };
|
|
9
19
|
//# sourceMappingURL=add-to-batch.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-to-batch.d.mts","names":[],"sources":["../../src/actions/add-to-batch.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"add-to-batch.d.mts","names":[],"sources":["../../src/actions/add-to-batch.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-to-batch.mjs","names":[],"sources":["../../src/actions/add-to-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineAddToBatchInput
|
|
1
|
+
{"version":3,"file":"add-to-batch.mjs","names":[],"sources":["../../src/actions/add-to-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineAddToBatchInput = z.object({\n batch_id: z.string().describe(\"Unique identifier of the batch to add items to.\"),\n rate_ids: z.array(z.string()).describe(\"List of rate IDs to add to the batch. At least one of shipment_ids or rate_ids must be provided.\").optional(),\n shipment_ids: z.array(z.string()).describe(\"List of shipment IDs to add to the batch. At least one of shipment_ids or rate_ids must be provided.\").optional(),\n}).describe(\"Request parameters for adding shipments or rates to an existing batch.\");\nexport const ShipengineAddToBatchOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the items were successfully added to the batch.\").nullable().optional(),\n}).describe(\"Response returned after adding items to a batch. The API returns 204 No Content on success.\");\n\nexport const shipengineAddToBatch = action(\"SHIPENGINE_ADD_TO_BATCH\", {\n slug: \"shipengine-add-to-batch\",\n name: \"Add to Batch\",\n description: \"Tool to add shipments or rate IDs to an existing batch. Use when you need to add items to a batch after the batch has been created. At least one of shipment_ids or rate_ids must be provided.\",\n input: ShipengineAddToBatchInput,\n output: ShipengineAddToBatchOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC/E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACpJ,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,wEASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvI,CAAC,CAAC,CAAC,SAAS,6FAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-shipment.cjs","names":["z","action"],"sources":["../../src/actions/cancel-shipment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCancelShipmentInput
|
|
1
|
+
{"version":3,"file":"cancel-shipment.cjs","names":["z","action"],"sources":["../../src/actions/cancel-shipment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCancelShipmentInput = z.object({\n shipment_id: z.string().describe(\"Unique ShipEngine shipment ID to cancel, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for canceling a shipment by its ID.\");\nexport const ShipengineCancelShipmentOutput = z.object({\n message: z.string().default(\"Shipment canceled successfully\").describe(\"Confirmation message for successful shipment cancellation\").nullable().optional(),\n}).describe(\"Response model for canceling a shipment. Returns empty on success (204 No Content).\");\n\nexport const shipengineCancelShipment = action(\"SHIPENGINE_CANCEL_SHIPMENT\", {\n slug: \"shipengine-cancel-shipment\",\n name: \"Cancel Shipment\",\n description: \"Tool to cancel a shipment by ID. Use when you need to cancel a shipment that has been created but not yet shipped. Note that once a shipment is in transit, it may not be cancellable depending on carrier policies.\",\n input: ShipengineCancelShipmentInput,\n output: ShipengineCancelShipmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EACvI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,gCAAgC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1J,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAEjG,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/cancel-shipment.d.ts
|
|
4
|
-
declare const ShipengineCancelShipmentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineCancelShipmentInput: z.ZodObject<{
|
|
5
|
+
shipment_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShipengineCancelShipmentOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const shipengineCancelShipment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
shipment_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { shipengineCancelShipment };
|
|
9
15
|
//# sourceMappingURL=cancel-shipment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-shipment.d.cts","names":[],"sources":["../../src/actions/cancel-shipment.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"cancel-shipment.d.cts","names":[],"sources":["../../src/actions/cancel-shipment.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/cancel-shipment.d.ts
|
|
4
|
-
declare const ShipengineCancelShipmentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineCancelShipmentInput: z.ZodObject<{
|
|
5
|
+
shipment_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShipengineCancelShipmentOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const shipengineCancelShipment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
shipment_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { shipengineCancelShipment };
|
|
9
15
|
//# sourceMappingURL=cancel-shipment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-shipment.d.mts","names":[],"sources":["../../src/actions/cancel-shipment.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"cancel-shipment.d.mts","names":[],"sources":["../../src/actions/cancel-shipment.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-shipment.mjs","names":[],"sources":["../../src/actions/cancel-shipment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCancelShipmentInput
|
|
1
|
+
{"version":3,"file":"cancel-shipment.mjs","names":[],"sources":["../../src/actions/cancel-shipment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCancelShipmentInput = z.object({\n shipment_id: z.string().describe(\"Unique ShipEngine shipment ID to cancel, must begin with 'se-' followed by alphanumeric characters\"),\n}).describe(\"Request model for canceling a shipment by its ID.\");\nexport const ShipengineCancelShipmentOutput = z.object({\n message: z.string().default(\"Shipment canceled successfully\").describe(\"Confirmation message for successful shipment cancellation\").nullable().optional(),\n}).describe(\"Response model for canceling a shipment. Returns empty on success (204 No Content).\");\n\nexport const shipengineCancelShipment = action(\"SHIPENGINE_CANCEL_SHIPMENT\", {\n slug: \"shipengine-cancel-shipment\",\n name: \"Cancel Shipment\",\n description: \"Tool to cancel a shipment by ID. Use when you need to cancel a shipment that has been created but not yet shipped. Note that once a shipment is in transit, it may not be cancellable depending on carrier policies.\",\n input: ShipengineCancelShipmentInput,\n output: ShipengineCancelShipmentOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EACvI,CAAC,CAAC,CAAC,SAAS,mDASH;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,gCAAgC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1J,CAAC,CAAC,CAAC,SAAS,qFAOF;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ShipengineConnectLtlCarrierInput = zod.z.object({
|
|
|
5
5
|
credentials: zod.z.object({}).describe("Carrier-specific credentials. For TEST/WARN/FAIL sandbox carriers, use empty object {}. For production carriers, use carrier-specific fields (username, password, account_number, etc.) as required by the carrier.").optional(),
|
|
6
6
|
carrier_code: zod.z.string().describe("The carrier code (SCAC) of the LTL carrier to connect. Use TEST, WARN, or FAIL for sandbox testing. For production, use the actual carrier SCAC code.")
|
|
7
7
|
}).describe("Request parameters for connecting an LTL carrier account to ShipEngine.");
|
|
8
|
-
const ShipengineConnectLtlCarrierOutput = zod.z.object({ carrier_id: zod.z.string().describe("The unique identifier (UUID) assigned to the connected LTL carrier account.") }).describe("Response returned after connecting an LTL carrier account.");
|
|
8
|
+
const ShipengineConnectLtlCarrierOutput = zod.z.object({ carrier_id: zod.z.string().describe("The unique identifier (UUID) assigned to the connected LTL carrier account.").nullable() }).describe("Response returned after connecting an LTL carrier account.");
|
|
9
9
|
const shipengineConnectLtlCarrier = require_action.action("SHIPENGINE_CONNECT_LTL_CARRIER", {
|
|
10
10
|
slug: "shipengine-connect-ltl-carrier",
|
|
11
11
|
name: "Connect LTL Carrier",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-ltl-carrier.cjs","names":["z","action"],"sources":["../../src/actions/connect-ltl-carrier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineConnectLtlCarrierInput
|
|
1
|
+
{"version":3,"file":"connect-ltl-carrier.cjs","names":["z","action"],"sources":["../../src/actions/connect-ltl-carrier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineConnectLtlCarrierInput = z.object({\n credentials: z.object({}).describe(\"Carrier-specific credentials. For TEST/WARN/FAIL sandbox carriers, use empty object {}. For production carriers, use carrier-specific fields (username, password, account_number, etc.) as required by the carrier.\").optional(),\n carrier_code: z.string().describe(\"The carrier code (SCAC) of the LTL carrier to connect. Use TEST, WARN, or FAIL for sandbox testing. For production, use the actual carrier SCAC code.\"),\n}).describe(\"Request parameters for connecting an LTL carrier account to ShipEngine.\");\nexport const ShipengineConnectLtlCarrierOutput = z.object({\n carrier_id: z.string().describe(\"The unique identifier (UUID) assigned to the connected LTL carrier account.\").nullable(),\n}).describe(\"Response returned after connecting an LTL carrier account.\");\n\nexport const shipengineConnectLtlCarrier = action(\"SHIPENGINE_CONNECT_LTL_CARRIER\", {\n slug: \"shipengine-connect-ltl-carrier\",\n name: \"Connect LTL Carrier\",\n description: \"Tool to connect an LTL carrier account to ShipEngine. Use when you need to add an LTL carrier connection for freight shipping. For sandbox testing, use carrier codes TEST, WARN, or FAIL with empty credentials {}.\",\n input: ShipengineConnectLtlCarrierInput,\n output: ShipengineConnectLtlCarrierOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS;CACnQ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ;AAC3L,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/connect-ltl-carrier.d.ts
|
|
4
|
-
declare const ShipengineConnectLtlCarrierInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineConnectLtlCarrierInput: z.ZodObject<{
|
|
5
|
+
credentials: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
6
|
+
carrier_code: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ShipengineConnectLtlCarrierOutput: z.ZodObject<{
|
|
9
|
+
carrier_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const shipengineConnectLtlCarrier: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
carrier_code: string;
|
|
13
|
+
credentials?: Record<string, never> | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { shipengineConnectLtlCarrier };
|
|
9
17
|
//# sourceMappingURL=connect-ltl-carrier.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-ltl-carrier.d.cts","names":[],"sources":["../../src/actions/connect-ltl-carrier.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"connect-ltl-carrier.d.cts","names":[],"sources":["../../src/actions/connect-ltl-carrier.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA;;gBAMtC,MAAA;AAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/connect-ltl-carrier.d.ts
|
|
4
|
-
declare const ShipengineConnectLtlCarrierInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineConnectLtlCarrierInput: z.ZodObject<{
|
|
5
|
+
credentials: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
6
|
+
carrier_code: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ShipengineConnectLtlCarrierOutput: z.ZodObject<{
|
|
9
|
+
carrier_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const shipengineConnectLtlCarrier: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
carrier_code: string;
|
|
13
|
+
credentials?: Record<string, never> | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { shipengineConnectLtlCarrier };
|
|
9
17
|
//# sourceMappingURL=connect-ltl-carrier.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-ltl-carrier.d.mts","names":[],"sources":["../../src/actions/connect-ltl-carrier.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"connect-ltl-carrier.d.mts","names":[],"sources":["../../src/actions/connect-ltl-carrier.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA;;gBAMtC,MAAA;AAAA"}
|
|
@@ -8,7 +8,7 @@ const shipengineConnectLtlCarrier = action("SHIPENGINE_CONNECT_LTL_CARRIER", {
|
|
|
8
8
|
credentials: z.object({}).describe("Carrier-specific credentials. For TEST/WARN/FAIL sandbox carriers, use empty object {}. For production carriers, use carrier-specific fields (username, password, account_number, etc.) as required by the carrier.").optional(),
|
|
9
9
|
carrier_code: z.string().describe("The carrier code (SCAC) of the LTL carrier to connect. Use TEST, WARN, or FAIL for sandbox testing. For production, use the actual carrier SCAC code.")
|
|
10
10
|
}).describe("Request parameters for connecting an LTL carrier account to ShipEngine."),
|
|
11
|
-
output: z.object({ carrier_id: z.string().describe("The unique identifier (UUID) assigned to the connected LTL carrier account.") }).describe("Response returned after connecting an LTL carrier account.")
|
|
11
|
+
output: z.object({ carrier_id: z.string().describe("The unique identifier (UUID) assigned to the connected LTL carrier account.").nullable() }).describe("Response returned after connecting an LTL carrier account.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { shipengineConnectLtlCarrier };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-ltl-carrier.mjs","names":[],"sources":["../../src/actions/connect-ltl-carrier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineConnectLtlCarrierInput
|
|
1
|
+
{"version":3,"file":"connect-ltl-carrier.mjs","names":[],"sources":["../../src/actions/connect-ltl-carrier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineConnectLtlCarrierInput = z.object({\n credentials: z.object({}).describe(\"Carrier-specific credentials. For TEST/WARN/FAIL sandbox carriers, use empty object {}. For production carriers, use carrier-specific fields (username, password, account_number, etc.) as required by the carrier.\").optional(),\n carrier_code: z.string().describe(\"The carrier code (SCAC) of the LTL carrier to connect. Use TEST, WARN, or FAIL for sandbox testing. For production, use the actual carrier SCAC code.\"),\n}).describe(\"Request parameters for connecting an LTL carrier account to ShipEngine.\");\nexport const ShipengineConnectLtlCarrierOutput = z.object({\n carrier_id: z.string().describe(\"The unique identifier (UUID) assigned to the connected LTL carrier account.\").nullable(),\n}).describe(\"Response returned after connecting an LTL carrier account.\");\n\nexport const shipengineConnectLtlCarrier = action(\"SHIPENGINE_CONNECT_LTL_CARRIER\", {\n slug: \"shipengine-connect-ltl-carrier\",\n name: \"Connect LTL Carrier\",\n description: \"Tool to connect an LTL carrier account to ShipEngine. Use when you need to add an LTL carrier connection for freight shipping. For sandbox testing, use carrier codes TEST, WARN, or FAIL with empty credentials {}.\",\n input: ShipengineConnectLtlCarrierInput,\n output: ShipengineConnectLtlCarrierOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO;EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS;EACnQ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ;CAC3L,CAAC,CAAC,CAAC,SAAS,yEASH;CACP,QAT+C,EAAE,OAAO,EACxD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-shipsurance.cjs","names":["z","action"],"sources":["../../src/actions/connect-shipsurance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineConnectShipsuranceInput
|
|
1
|
+
{"version":3,"file":"connect-shipsurance.cjs","names":["z","action"],"sources":["../../src/actions/connect-shipsurance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineConnectShipsuranceInput = z.object({\n email: z.string().describe(\"Email address associated with the Shipsurance account.\"),\n policy_id: z.string().describe(\"The Shipsurance policy ID to connect.\"),\n}).describe(\"Request parameters for connecting a Shipsurance account.\");\nexport const ShipengineConnectShipsuranceOutput = z.object({}).describe(\"Response returned after connecting a Shipsurance account.\");\n\nexport const shipengineConnectShipsurance = action(\"SHIPENGINE_CONNECT_SHIPSURANCE\", {\n slug: \"shipengine-connect-shipsurance\",\n name: \"Connect Shipsurance Account\",\n description: \"Tool to connect a Shipsurance insurance account to ShipEngine. Use when you need to integrate a Shipsurance policy for insurance coverage on shipments.\",\n input: ShipengineConnectShipsuranceInput,\n output: ShipengineConnectShipsuranceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACxE,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEnI,MAAa,+BAA+BC,eAAAA,OAAO,kCAAkC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/connect-shipsurance.d.ts
|
|
4
|
-
declare const ShipengineConnectShipsuranceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineConnectShipsuranceInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodString;
|
|
6
|
+
policy_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ShipengineConnectShipsuranceOutput: z.ZodObject<{}, z.core.$strip>;
|
|
9
|
+
declare const shipengineConnectShipsurance: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
email: string;
|
|
11
|
+
policy_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { shipengineConnectShipsurance };
|
|
9
15
|
//# sourceMappingURL=connect-shipsurance.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-shipsurance.d.cts","names":[],"sources":["../../src/actions/connect-shipsurance.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"connect-shipsurance.d.cts","names":[],"sources":["../../src/actions/connect-shipsurance.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAElC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/connect-shipsurance.d.ts
|
|
4
|
-
declare const ShipengineConnectShipsuranceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineConnectShipsuranceInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodString;
|
|
6
|
+
policy_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ShipengineConnectShipsuranceOutput: z.ZodObject<{}, z.core.$strip>;
|
|
9
|
+
declare const shipengineConnectShipsurance: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
email: string;
|
|
11
|
+
policy_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { shipengineConnectShipsurance };
|
|
9
15
|
//# sourceMappingURL=connect-shipsurance.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-shipsurance.d.mts","names":[],"sources":["../../src/actions/connect-shipsurance.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"connect-shipsurance.d.mts","names":[],"sources":["../../src/actions/connect-shipsurance.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAElC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-shipsurance.mjs","names":[],"sources":["../../src/actions/connect-shipsurance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineConnectShipsuranceInput
|
|
1
|
+
{"version":3,"file":"connect-shipsurance.mjs","names":[],"sources":["../../src/actions/connect-shipsurance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineConnectShipsuranceInput = z.object({\n email: z.string().describe(\"Email address associated with the Shipsurance account.\"),\n policy_id: z.string().describe(\"The Shipsurance policy ID to connect.\"),\n}).describe(\"Request parameters for connecting a Shipsurance account.\");\nexport const ShipengineConnectShipsuranceOutput = z.object({}).describe(\"Response returned after connecting a Shipsurance account.\");\n\nexport const shipengineConnectShipsurance = action(\"SHIPENGINE_CONNECT_SHIPSURANCE\", {\n slug: \"shipengine-connect-shipsurance\",\n name: \"Connect Shipsurance Account\",\n description: \"Tool to connect a Shipsurance insurance account to ShipEngine. Use when you need to integrate a Shipsurance policy for insurance coverage on shipments.\",\n input: ShipengineConnectShipsuranceInput,\n output: ShipengineConnectShipsuranceOutput,\n});\n"],"mappings":";;AAUA,MAAa,+BAA+B,OAAO,kCAAkC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,CAAC,CAAC,CAAC,SAAS,0DAOH;CACP,QAPgD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAO9D;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account-image.cjs","names":["z","action"],"sources":["../../src/actions/create-account-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateAccountImageInput
|
|
1
|
+
{"version":3,"file":"create-account-image.cjs","names":["z","action"],"sources":["../../src/actions/create-account-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateAccountImageInput = z.object({\n name: z.string().describe(\"Name of the image (used for identification).\"),\n image_data: z.string().describe(\"Base64-encoded image data string. The image should be encoded in base64 format.\"),\n image_content_type: z.enum([\"image/png\", \"image/jpeg\"]).describe(\"MIME type of the image (e.g., image/png, image/jpeg).\"),\n}).describe(\"Request schema for creating a new account image in ShipEngine.\");\nexport const ShipengineCreateAccountImageOutput = z.object({\n name: z.string().describe(\"Name of the image.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the image was created (ISO 8601 format).\").nullable().optional(),\n image_data: z.string().describe(\"Base64-encoded image data.\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the image was last modified (ISO 8601 format).\").nullable().optional(),\n label_image_id: z.string().describe(\"Unique identifier for the created image.\").nullable().optional(),\n image_content_type: z.string().describe(\"MIME type of the image.\").nullable().optional(),\n}).describe(\"Response schema after creating an account image in ShipEngine.\");\n\nexport const shipengineCreateAccountImage = action(\"SHIPENGINE_CREATE_ACCOUNT_IMAGE\", {\n slug: \"shipengine-create-account-image\",\n name: \"Create Account Image\",\n description: \"Tool to create a new account image in ShipEngine. Use when uploading a logo or image for use on shipping labels.\",\n input: ShipengineCreateAccountImageInput,\n output: ShipengineCreateAccountImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACjH,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAC1H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-account-image.d.ts
|
|
4
|
-
declare const ShipengineCreateAccountImageInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineCreateAccountImageInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
image_data: z.ZodString;
|
|
7
|
+
image_content_type: z.ZodEnum<{
|
|
8
|
+
"image/png": "image/png";
|
|
9
|
+
"image/jpeg": "image/jpeg";
|
|
10
|
+
}>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ShipengineCreateAccountImageOutput: z.ZodObject<{
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
image_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
is_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
label_image_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
image_content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const shipengineCreateAccountImage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
name: string;
|
|
23
|
+
image_data: string;
|
|
24
|
+
image_content_type: "image/png" | "image/jpeg";
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { shipengineCreateAccountImage };
|
|
9
28
|
//# sourceMappingURL=create-account-image.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account-image.d.cts","names":[],"sources":["../../src/actions/create-account-image.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"create-account-image.d.cts","names":[],"sources":["../../src/actions/create-account-image.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;cAUlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-account-image.d.ts
|
|
4
|
-
declare const ShipengineCreateAccountImageInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineCreateAccountImageInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
image_data: z.ZodString;
|
|
7
|
+
image_content_type: z.ZodEnum<{
|
|
8
|
+
"image/png": "image/png";
|
|
9
|
+
"image/jpeg": "image/jpeg";
|
|
10
|
+
}>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ShipengineCreateAccountImageOutput: z.ZodObject<{
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
image_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
is_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
label_image_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
image_content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const shipengineCreateAccountImage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
name: string;
|
|
23
|
+
image_data: string;
|
|
24
|
+
image_content_type: "image/png" | "image/jpeg";
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { shipengineCreateAccountImage };
|
|
9
28
|
//# sourceMappingURL=create-account-image.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account-image.d.mts","names":[],"sources":["../../src/actions/create-account-image.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"create-account-image.d.mts","names":[],"sources":["../../src/actions/create-account-image.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;cAUlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account-image.mjs","names":[],"sources":["../../src/actions/create-account-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateAccountImageInput
|
|
1
|
+
{"version":3,"file":"create-account-image.mjs","names":[],"sources":["../../src/actions/create-account-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateAccountImageInput = z.object({\n name: z.string().describe(\"Name of the image (used for identification).\"),\n image_data: z.string().describe(\"Base64-encoded image data string. The image should be encoded in base64 format.\"),\n image_content_type: z.enum([\"image/png\", \"image/jpeg\"]).describe(\"MIME type of the image (e.g., image/png, image/jpeg).\"),\n}).describe(\"Request schema for creating a new account image in ShipEngine.\");\nexport const ShipengineCreateAccountImageOutput = z.object({\n name: z.string().describe(\"Name of the image.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the image was created (ISO 8601 format).\").nullable().optional(),\n image_data: z.string().describe(\"Base64-encoded image data.\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the image was last modified (ISO 8601 format).\").nullable().optional(),\n label_image_id: z.string().describe(\"Unique identifier for the created image.\").nullable().optional(),\n image_content_type: z.string().describe(\"MIME type of the image.\").nullable().optional(),\n}).describe(\"Response schema after creating an account image in ShipEngine.\");\n\nexport const shipengineCreateAccountImage = action(\"SHIPENGINE_CREATE_ACCOUNT_IMAGE\", {\n slug: \"shipengine-create-account-image\",\n name: \"Create Account Image\",\n description: \"Tool to create a new account image in ShipEngine. Use when uploading a logo or image for use on shipping labels.\",\n input: ShipengineCreateAccountImageInput,\n output: ShipengineCreateAccountImageOutput,\n});\n"],"mappings":";;AAmBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EACjH,oBAAoB,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD;CAC1H,CAAC,CAAC,CAAC,SAAS,gEAeH;CACP,QAfgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
|
|
@@ -13,17 +13,17 @@ const ShipengineCreatePackageTypeInput = zod.z.object({
|
|
|
13
13
|
package_code: zod.z.string().describe("Code identifier for the package. MUST have prefix 'custom_' (e.g., 'custom_bigbox', 'custom_test_box'). This is a required format enforced by the ShipEngine API.")
|
|
14
14
|
}).describe("Request model for creating a custom package type in ShipEngine.");
|
|
15
15
|
const ShipengineCreatePackageType_DimensionsSchema = zod.z.object({
|
|
16
|
-
unit: zod.z.enum(["inch", "centimeter"]).describe("Unit of measurement for dimensions."),
|
|
17
|
-
width: zod.z.number().describe("Width of the package; must be greater than 0."),
|
|
18
|
-
height: zod.z.number().describe("Height of the package; must be greater than 0."),
|
|
19
|
-
length: zod.z.number().describe("Length of the package; must be greater than 0.")
|
|
16
|
+
unit: zod.z.enum(["inch", "centimeter"]).describe("Unit of measurement for dimensions.").nullable(),
|
|
17
|
+
width: zod.z.number().describe("Width of the package; must be greater than 0.").nullable(),
|
|
18
|
+
height: zod.z.number().describe("Height of the package; must be greater than 0.").nullable(),
|
|
19
|
+
length: zod.z.number().describe("Length of the package; must be greater than 0.").nullable()
|
|
20
20
|
}).describe("Dimensions of the package.");
|
|
21
21
|
const ShipengineCreatePackageTypeOutput = zod.z.object({
|
|
22
|
-
name: zod.z.string().describe("Name of the package type."),
|
|
22
|
+
name: zod.z.string().describe("Name of the package type.").nullable(),
|
|
23
23
|
dimensions: ShipengineCreatePackageType_DimensionsSchema.nullable().optional(),
|
|
24
24
|
package_id: zod.z.string().describe("Unique identifier for the package (UUID).").nullable().optional(),
|
|
25
25
|
description: zod.z.string().describe("Description of the package type.").nullable().optional(),
|
|
26
|
-
package_code: zod.z.string().describe("The code used to identify the package type.")
|
|
26
|
+
package_code: zod.z.string().describe("The code used to identify the package type.").nullable()
|
|
27
27
|
}).describe("Response model for a created custom package type in ShipEngine.");
|
|
28
28
|
const shipengineCreatePackageType = require_action.action("SHIPENGINE_CREATE_PACKAGE_TYPE", {
|
|
29
29
|
slug: "shipengine-create-package-type",
|