@keystrokehq/shipengine 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-tag-to-shipment.cjs +1 -1
- package/dist/actions/add-tag-to-shipment.cjs.map +1 -1
- package/dist/actions/add-tag-to-shipment.d.cts +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 +1 -1
- package/dist/actions/add-tag-to-shipment.mjs.map +1 -1
- package/dist/actions/add-to-batch.cjs +1 -1
- package/dist/actions/add-to-batch.cjs.map +1 -1
- package/dist/actions/add-to-batch.d.cts +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 +1 -1
- package/dist/actions/add-to-batch.mjs.map +1 -1
- package/dist/actions/cancel-shipment.cjs +1 -1
- package/dist/actions/cancel-shipment.cjs.map +1 -1
- package/dist/actions/cancel-shipment.d.cts +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 +1 -1
- package/dist/actions/cancel-shipment.mjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.cjs +2 -2
- package/dist/actions/connect-ltl-carrier.cjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.d.cts +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 +2 -2
- package/dist/actions/connect-ltl-carrier.mjs.map +1 -1
- package/dist/actions/connect-shipsurance.cjs +1 -1
- package/dist/actions/connect-shipsurance.cjs.map +1 -1
- package/dist/actions/connect-shipsurance.d.cts +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 +1 -1
- package/dist/actions/connect-shipsurance.mjs.map +1 -1
- package/dist/actions/create-account-image.cjs +1 -1
- package/dist/actions/create-account-image.cjs.map +1 -1
- package/dist/actions/create-account-image.d.cts +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 +1 -1
- package/dist/actions/create-account-image.mjs.map +1 -1
- package/dist/actions/create-package-type.cjs +8 -8
- 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 +8 -8
- package/dist/actions/create-package-type.mjs.map +1 -1
- package/dist/actions/create-tag.cjs +1 -1
- package/dist/actions/create-tag.cjs.map +1 -1
- package/dist/actions/create-tag.d.cts +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 +1 -1
- package/dist/actions/create-tag.mjs.map +1 -1
- package/dist/actions/create-tag2.cjs +2 -2
- 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 +2 -2
- package/dist/actions/create-tag2.mjs.map +1 -1
- package/dist/actions/create-warehouse.cjs +11 -11
- 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 +11 -11
- package/dist/actions/create-warehouse.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +6 -6
- 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 +6 -6
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-account-image-by-id.cjs +3 -3
- 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 +3 -3
- package/dist/actions/delete-account-image-by-id.mjs.map +1 -1
- package/dist/actions/delete-batch.cjs +1 -1
- package/dist/actions/delete-batch.cjs.map +1 -1
- package/dist/actions/delete-batch.d.cts +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 +1 -1
- package/dist/actions/delete-batch.mjs.map +1 -1
- package/dist/actions/delete-package.cjs +1 -1
- package/dist/actions/delete-package.cjs.map +1 -1
- package/dist/actions/delete-package.d.cts +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 +1 -1
- package/dist/actions/delete-package.mjs.map +1 -1
- package/dist/actions/delete-warehouse.cjs +1 -1
- package/dist/actions/delete-warehouse.cjs.map +1 -1
- package/dist/actions/delete-warehouse.d.cts +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 +1 -1
- package/dist/actions/delete-warehouse.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +3 -3
- 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 +3 -3
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/disconnect-carrier.cjs +1 -1
- package/dist/actions/disconnect-carrier.cjs.map +1 -1
- package/dist/actions/disconnect-carrier.d.cts +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 +1 -1
- package/dist/actions/disconnect-carrier.mjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.cjs +1 -1
- package/dist/actions/disconnect-shipsurance.cjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.d.cts +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 +1 -1
- package/dist/actions/disconnect-shipsurance.mjs.map +1 -1
- package/dist/actions/download-file.cjs +5 -5
- 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 +5 -5
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/get-account-image-by-id.cjs +4 -4
- 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 +4 -4
- package/dist/actions/get-account-image-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-external-id.cjs +19 -19
- 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 +19 -19
- package/dist/actions/get-batch-by-external-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-id.cjs +7 -7
- 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 +7 -7
- package/dist/actions/get-batch-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-errors.cjs +4 -4
- package/dist/actions/get-batch-errors.cjs.map +1 -1
- package/dist/actions/get-batch-errors.d.cts +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 +4 -4
- package/dist/actions/get-batch-errors.mjs.map +1 -1
- package/dist/actions/get-bulk-rates.cjs +11 -11
- package/dist/actions/get-bulk-rates.cjs.map +1 -1
- package/dist/actions/get-bulk-rates.d.cts +172 -3
- package/dist/actions/get-bulk-rates.d.cts.map +1 -1
- package/dist/actions/get-bulk-rates.d.mts +172 -3
- package/dist/actions/get-bulk-rates.d.mts.map +1 -1
- package/dist/actions/get-bulk-rates.mjs +11 -11
- package/dist/actions/get-bulk-rates.mjs.map +1 -1
- package/dist/actions/get-insurance-balance.cjs +4 -4
- 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 +4 -4
- package/dist/actions/get-insurance-balance.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.cjs +2 -2
- package/dist/actions/get-ltl-carrier-credential-requirements.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.d.cts +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 +2 -2
- package/dist/actions/get-ltl-carrier-credential-requirements.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.cjs +1 -1
- package/dist/actions/get-ltl-carrier-features.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.d.cts +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 +1 -1
- package/dist/actions/get-ltl-carrier-features.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.cjs +3 -3
- package/dist/actions/get-ltl-carrier-options.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.d.cts +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 +3 -3
- package/dist/actions/get-ltl-carrier-options.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.cjs +4 -4
- 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 +4 -4
- package/dist/actions/get-ltl-carrier-packages.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.cjs +2 -2
- package/dist/actions/get-ltl-carrier-services.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.d.cts +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 +2 -2
- package/dist/actions/get-ltl-carrier-services.mjs.map +1 -1
- package/dist/actions/get-package-by-id.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-package-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-external-id.cjs +20 -20
- 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 +20 -20
- package/dist/actions/get-shipment-by-external-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-id.cjs +27 -27
- 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 +27 -27
- package/dist/actions/get-shipment-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-rates.cjs +7 -7
- 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 +7 -7
- package/dist/actions/get-shipment-rates.mjs.map +1 -1
- package/dist/actions/get-tracking-info.cjs +7 -7
- 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 +7 -7
- package/dist/actions/get-tracking-info.mjs.map +1 -1
- package/dist/actions/get-warehouse-by-id.cjs +10 -10
- 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 +10 -10
- package/dist/actions/get-warehouse-by-id.mjs.map +1 -1
- package/dist/actions/get-webhook-by-id.cjs +7 -7
- 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 +7 -7
- package/dist/actions/get-webhook-by-id.mjs.map +1 -1
- package/dist/actions/list-account-images.cjs +2 -2
- package/dist/actions/list-account-images.cjs.map +1 -1
- package/dist/actions/list-account-images.d.cts +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 +2 -2
- 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 +15 -15
- 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 +15 -15
- package/dist/actions/list-batches2.mjs.map +1 -1
- package/dist/actions/list-carrier-package-types.cjs +5 -5
- 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 +5 -5
- package/dist/actions/list-carrier-package-types.mjs.map +1 -1
- package/dist/actions/list-labels2.cjs +12 -12
- 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 +12 -12
- package/dist/actions/list-labels2.mjs.map +1 -1
- package/dist/actions/list-ltl-carriers.cjs +10 -10
- 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 +10 -10
- package/dist/actions/list-ltl-carriers.mjs.map +1 -1
- package/dist/actions/list-manifests2.cjs +8 -8
- 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 +8 -8
- package/dist/actions/list-manifests2.mjs.map +1 -1
- package/dist/actions/list-packages.cjs +7 -7
- 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 +7 -7
- package/dist/actions/list-packages.mjs.map +1 -1
- package/dist/actions/list-pickups.cjs +10 -10
- 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 +10 -10
- package/dist/actions/list-pickups.mjs.map +1 -1
- package/dist/actions/list-shipments2.cjs +16 -16
- 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 +16 -16
- package/dist/actions/list-shipments2.mjs.map +1 -1
- package/dist/actions/list-tags2.cjs +3 -3
- 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 +3 -3
- package/dist/actions/list-tags2.mjs.map +1 -1
- package/dist/actions/list-warehouses.cjs +11 -11
- 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 +11 -11
- package/dist/actions/list-warehouses.mjs.map +1 -1
- package/dist/actions/list-webhook-events.cjs +4 -4
- 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 +4 -4
- package/dist/actions/list-webhook-events.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +8 -8
- 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 +8 -8
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/parse-address.cjs +9 -9
- 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 +9 -9
- package/dist/actions/parse-address.mjs.map +1 -1
- package/dist/actions/process-batch-labels.cjs +1 -1
- package/dist/actions/process-batch-labels.cjs.map +1 -1
- package/dist/actions/process-batch-labels.d.cts +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 +1 -1
- package/dist/actions/process-batch-labels.mjs.map +1 -1
- package/dist/actions/remove-from-batch.cjs +1 -1
- package/dist/actions/remove-from-batch.cjs.map +1 -1
- package/dist/actions/remove-from-batch.d.cts +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 +1 -1
- package/dist/actions/remove-from-batch.mjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.cjs +1 -1
- package/dist/actions/remove-tag-from-shipment.cjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.d.cts +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 +1 -1
- package/dist/actions/remove-tag-from-shipment.mjs.map +1 -1
- package/dist/actions/start-tracking.cjs +3 -3
- 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 +3 -3
- package/dist/actions/start-tracking.mjs.map +1 -1
- package/dist/actions/stop-tracking.cjs +1 -1
- package/dist/actions/stop-tracking.cjs.map +1 -1
- package/dist/actions/stop-tracking.d.cts +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 +1 -1
- package/dist/actions/stop-tracking.mjs.map +1 -1
- package/dist/actions/track-ltl-shipment.cjs +2 -2
- package/dist/actions/track-ltl-shipment.cjs.map +1 -1
- package/dist/actions/track-ltl-shipment.d.cts +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 +2 -2
- package/dist/actions/track-ltl-shipment.mjs.map +1 -1
- package/dist/actions/update-account-image-by-id.cjs +1 -1
- package/dist/actions/update-account-image-by-id.cjs.map +1 -1
- package/dist/actions/update-account-image-by-id.d.cts +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 +1 -1
- package/dist/actions/update-account-image-by-id.mjs.map +1 -1
- package/dist/actions/update-ltl-connection.cjs +2 -2
- package/dist/actions/update-ltl-connection.cjs.map +1 -1
- package/dist/actions/update-ltl-connection.d.cts +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 +2 -2
- package/dist/actions/update-ltl-connection.mjs.map +1 -1
- package/dist/actions/update-package.cjs +3 -3
- 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 +3 -3
- package/dist/actions/update-package.mjs.map +1 -1
- package/dist/actions/update-shipment.cjs +40 -40
- package/dist/actions/update-shipment.cjs.map +1 -1
- package/dist/actions/update-shipment.d.cts +431 -3
- package/dist/actions/update-shipment.d.cts.map +1 -1
- package/dist/actions/update-shipment.d.mts +431 -3
- package/dist/actions/update-shipment.d.mts.map +1 -1
- package/dist/actions/update-shipment.mjs +40 -40
- package/dist/actions/update-shipment.mjs.map +1 -1
- package/dist/actions/update-shipments-tags.cjs +2 -2
- package/dist/actions/update-shipments-tags.cjs.map +1 -1
- package/dist/actions/update-shipments-tags.d.cts +17 -3
- package/dist/actions/update-shipments-tags.d.cts.map +1 -1
- package/dist/actions/update-shipments-tags.d.mts +17 -3
- package/dist/actions/update-shipments-tags.d.mts.map +1 -1
- package/dist/actions/update-shipments-tags.mjs +2 -2
- package/dist/actions/update-shipments-tags.mjs.map +1 -1
- package/dist/actions/update-warehouse.cjs +3 -3
- 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 +3 -3
- package/dist/actions/update-warehouse.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +2 -2
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +24 -3
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +24 -3
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +2 -2
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/validate-address.cjs +9 -9
- package/dist/actions/validate-address.cjs.map +1 -1
- package/dist/actions/validate-address.d.cts +87 -3
- package/dist/actions/validate-address.d.cts.map +1 -1
- package/dist/actions/validate-address.d.mts +87 -3
- package/dist/actions/validate-address.d.mts.map +1 -1
- package/dist/actions/validate-address.mjs +9 -9
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-warehouse.cjs","names":["z","action"],"sources":["../../src/actions/create-warehouse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateWarehouseInput
|
|
1
|
+
{"version":3,"file":"create-warehouse.cjs","names":["z","action"],"sources":["../../src/actions/create-warehouse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateWarehouseInput = z.object({\n is_default: z.boolean().default(false).describe(\"Whether this warehouse should be set as default\").optional(),\n origin_address: z.object({\n name: z.string().describe(\"Name at the address (required)\"),\n phone: z.string().describe(\"Phone number at the address (required)\"),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n company_name: z.string().describe(\"Company name at the address\").optional(),\n country_code: z.string().describe(\"2-letter ISO country code\"),\n address_line1: z.string().describe(\"Street address (line 1)\"),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").optional(),\n address_line3: z.string().describe(\"Additional address line\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").optional(),\n}).describe(\"The address where inventory is stored\"),\n return_address: z.object({\n name: z.string().describe(\"Name at the address (required)\"),\n phone: z.string().describe(\"Phone number at the address (required)\"),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n company_name: z.string().describe(\"Company name at the address\").optional(),\n country_code: z.string().describe(\"2-letter ISO country code\"),\n address_line1: z.string().describe(\"Street address (line 1)\"),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").optional(),\n address_line3: z.string().describe(\"Additional address line\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").optional(),\n}).describe(\"Address object for warehouse origin or return address.\").optional(),\n warehouse_name: z.string().describe(\"Name of the warehouse\"),\n}).describe(\"Request payload to create a new warehouse.\");\nconst ShipengineCreateWarehouse_AddressResponseSchema = z.object({\n name: z.string().describe(\"Name at the address\").nullable().optional(),\n phone: z.string().describe(\"Phone number at the address\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable(),\n company_name: z.string().describe(\"Company name at the address\").nullable().optional(),\n country_code: z.string().describe(\"2-letter ISO country code\").nullable(),\n address_line1: z.string().describe(\"Street address (line 1)\").nullable(),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").nullable().optional(),\n address_line3: z.string().describe(\"Additional address line\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality\").nullable(),\n state_province: z.string().describe(\"State or province\").nullable(),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").nullable().optional(),\n}).passthrough().describe(\"Address object returned by ShipEngine for warehouse.\");\nexport const ShipengineCreateWarehouseOutput = z.object({\n name: z.string().describe(\"Name of the warehouse\").nullable(),\n created_at: z.string().describe(\"Timestamp when warehouse was created (ISO 8601)\").nullable(),\n is_default: z.boolean().describe(\"True if this is the default warehouse\").nullable(),\n warehouse_id: z.string().describe(\"Unique identifier for the warehouse\").nullable(),\n origin_address: ShipengineCreateWarehouse_AddressResponseSchema.nullable(),\n return_address: ShipengineCreateWarehouse_AddressResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response body after creating a warehouse.\");\n\nexport const shipengineCreateWarehouse = action(\"SHIPENGINE_CREATE_WAREHOUSE\", {\n slug: \"shipengine-create-warehouse\",\n name: \"Create Warehouse\",\n description: \"Tool to create a new warehouse. Use when adding a new inventory location after verifying its full address details.\",\n input: ShipengineCreateWarehouseInput,\n output: ShipengineCreateWarehouseOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,9 +1,114 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-warehouse.d.ts
|
|
4
|
-
declare const ShipengineCreateWarehouseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineCreateWarehouseInput: z.ZodObject<{
|
|
5
|
+
is_default: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
6
|
+
origin_address: z.ZodObject<{
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
phone: z.ZodString;
|
|
9
|
+
postal_code: z.ZodString;
|
|
10
|
+
company_name: z.ZodOptional<z.ZodString>;
|
|
11
|
+
country_code: z.ZodString;
|
|
12
|
+
address_line1: z.ZodString;
|
|
13
|
+
address_line2: z.ZodOptional<z.ZodString>;
|
|
14
|
+
address_line3: z.ZodOptional<z.ZodString>;
|
|
15
|
+
city_locality: z.ZodString;
|
|
16
|
+
state_province: z.ZodString;
|
|
17
|
+
address_residential_indicator: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
yes: "yes";
|
|
19
|
+
no: "no";
|
|
20
|
+
unknown: "unknown";
|
|
21
|
+
}>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
return_address: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
phone: z.ZodString;
|
|
26
|
+
postal_code: z.ZodString;
|
|
27
|
+
company_name: z.ZodOptional<z.ZodString>;
|
|
28
|
+
country_code: z.ZodString;
|
|
29
|
+
address_line1: z.ZodString;
|
|
30
|
+
address_line2: z.ZodOptional<z.ZodString>;
|
|
31
|
+
address_line3: z.ZodOptional<z.ZodString>;
|
|
32
|
+
city_locality: z.ZodString;
|
|
33
|
+
state_province: z.ZodString;
|
|
34
|
+
address_residential_indicator: z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
yes: "yes";
|
|
36
|
+
no: "no";
|
|
37
|
+
unknown: "unknown";
|
|
38
|
+
}>>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
warehouse_name: z.ZodString;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const ShipengineCreateWarehouseOutput: z.ZodObject<{
|
|
43
|
+
name: z.ZodNullable<z.ZodString>;
|
|
44
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
45
|
+
is_default: z.ZodNullable<z.ZodBoolean>;
|
|
46
|
+
warehouse_id: z.ZodNullable<z.ZodString>;
|
|
47
|
+
origin_address: z.ZodNullable<z.ZodObject<{
|
|
48
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
postal_code: z.ZodNullable<z.ZodString>;
|
|
51
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
53
|
+
address_line1: z.ZodNullable<z.ZodString>;
|
|
54
|
+
address_line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
address_line3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
city_locality: z.ZodNullable<z.ZodString>;
|
|
57
|
+
state_province: z.ZodNullable<z.ZodString>;
|
|
58
|
+
address_residential_indicator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
59
|
+
yes: "yes";
|
|
60
|
+
no: "no";
|
|
61
|
+
unknown: "unknown";
|
|
62
|
+
}>>>;
|
|
63
|
+
}, z.core.$loose>>;
|
|
64
|
+
return_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
65
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
+
postal_code: z.ZodNullable<z.ZodString>;
|
|
68
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
70
|
+
address_line1: z.ZodNullable<z.ZodString>;
|
|
71
|
+
address_line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
address_line3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
city_locality: z.ZodNullable<z.ZodString>;
|
|
74
|
+
state_province: z.ZodNullable<z.ZodString>;
|
|
75
|
+
address_residential_indicator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
76
|
+
yes: "yes";
|
|
77
|
+
no: "no";
|
|
78
|
+
unknown: "unknown";
|
|
79
|
+
}>>>;
|
|
80
|
+
}, z.core.$loose>>>;
|
|
81
|
+
}, z.core.$loose>;
|
|
82
|
+
declare const shipengineCreateWarehouse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
83
|
+
origin_address: {
|
|
84
|
+
name: string;
|
|
85
|
+
phone: string;
|
|
86
|
+
postal_code: string;
|
|
87
|
+
country_code: string;
|
|
88
|
+
address_line1: string;
|
|
89
|
+
city_locality: string;
|
|
90
|
+
state_province: string;
|
|
91
|
+
company_name?: string | undefined;
|
|
92
|
+
address_line2?: string | undefined;
|
|
93
|
+
address_line3?: string | undefined;
|
|
94
|
+
address_residential_indicator?: "yes" | "no" | "unknown" | undefined;
|
|
95
|
+
};
|
|
96
|
+
warehouse_name: string;
|
|
97
|
+
is_default?: boolean | undefined;
|
|
98
|
+
return_address?: {
|
|
99
|
+
name: string;
|
|
100
|
+
phone: string;
|
|
101
|
+
postal_code: string;
|
|
102
|
+
country_code: string;
|
|
103
|
+
address_line1: string;
|
|
104
|
+
city_locality: string;
|
|
105
|
+
state_province: string;
|
|
106
|
+
company_name?: string | undefined;
|
|
107
|
+
address_line2?: string | undefined;
|
|
108
|
+
address_line3?: string | undefined;
|
|
109
|
+
address_residential_indicator?: "yes" | "no" | "unknown" | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
112
|
//#endregion
|
|
8
113
|
export { shipengineCreateWarehouse };
|
|
9
114
|
//# sourceMappingURL=create-warehouse.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-warehouse.d.cts","names":[],"sources":["../../src/actions/create-warehouse.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"create-warehouse.d.cts","names":[],"sources":["../../src/actions/create-warehouse.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,114 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-warehouse.d.ts
|
|
4
|
-
declare const ShipengineCreateWarehouseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineCreateWarehouseInput: z.ZodObject<{
|
|
5
|
+
is_default: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
6
|
+
origin_address: z.ZodObject<{
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
phone: z.ZodString;
|
|
9
|
+
postal_code: z.ZodString;
|
|
10
|
+
company_name: z.ZodOptional<z.ZodString>;
|
|
11
|
+
country_code: z.ZodString;
|
|
12
|
+
address_line1: z.ZodString;
|
|
13
|
+
address_line2: z.ZodOptional<z.ZodString>;
|
|
14
|
+
address_line3: z.ZodOptional<z.ZodString>;
|
|
15
|
+
city_locality: z.ZodString;
|
|
16
|
+
state_province: z.ZodString;
|
|
17
|
+
address_residential_indicator: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
yes: "yes";
|
|
19
|
+
no: "no";
|
|
20
|
+
unknown: "unknown";
|
|
21
|
+
}>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
return_address: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
phone: z.ZodString;
|
|
26
|
+
postal_code: z.ZodString;
|
|
27
|
+
company_name: z.ZodOptional<z.ZodString>;
|
|
28
|
+
country_code: z.ZodString;
|
|
29
|
+
address_line1: z.ZodString;
|
|
30
|
+
address_line2: z.ZodOptional<z.ZodString>;
|
|
31
|
+
address_line3: z.ZodOptional<z.ZodString>;
|
|
32
|
+
city_locality: z.ZodString;
|
|
33
|
+
state_province: z.ZodString;
|
|
34
|
+
address_residential_indicator: z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
yes: "yes";
|
|
36
|
+
no: "no";
|
|
37
|
+
unknown: "unknown";
|
|
38
|
+
}>>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
warehouse_name: z.ZodString;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const ShipengineCreateWarehouseOutput: z.ZodObject<{
|
|
43
|
+
name: z.ZodNullable<z.ZodString>;
|
|
44
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
45
|
+
is_default: z.ZodNullable<z.ZodBoolean>;
|
|
46
|
+
warehouse_id: z.ZodNullable<z.ZodString>;
|
|
47
|
+
origin_address: z.ZodNullable<z.ZodObject<{
|
|
48
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
postal_code: z.ZodNullable<z.ZodString>;
|
|
51
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
53
|
+
address_line1: z.ZodNullable<z.ZodString>;
|
|
54
|
+
address_line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
address_line3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
city_locality: z.ZodNullable<z.ZodString>;
|
|
57
|
+
state_province: z.ZodNullable<z.ZodString>;
|
|
58
|
+
address_residential_indicator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
59
|
+
yes: "yes";
|
|
60
|
+
no: "no";
|
|
61
|
+
unknown: "unknown";
|
|
62
|
+
}>>>;
|
|
63
|
+
}, z.core.$loose>>;
|
|
64
|
+
return_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
65
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
+
postal_code: z.ZodNullable<z.ZodString>;
|
|
68
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
70
|
+
address_line1: z.ZodNullable<z.ZodString>;
|
|
71
|
+
address_line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
address_line3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
city_locality: z.ZodNullable<z.ZodString>;
|
|
74
|
+
state_province: z.ZodNullable<z.ZodString>;
|
|
75
|
+
address_residential_indicator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
76
|
+
yes: "yes";
|
|
77
|
+
no: "no";
|
|
78
|
+
unknown: "unknown";
|
|
79
|
+
}>>>;
|
|
80
|
+
}, z.core.$loose>>>;
|
|
81
|
+
}, z.core.$loose>;
|
|
82
|
+
declare const shipengineCreateWarehouse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
83
|
+
origin_address: {
|
|
84
|
+
name: string;
|
|
85
|
+
phone: string;
|
|
86
|
+
postal_code: string;
|
|
87
|
+
country_code: string;
|
|
88
|
+
address_line1: string;
|
|
89
|
+
city_locality: string;
|
|
90
|
+
state_province: string;
|
|
91
|
+
company_name?: string | undefined;
|
|
92
|
+
address_line2?: string | undefined;
|
|
93
|
+
address_line3?: string | undefined;
|
|
94
|
+
address_residential_indicator?: "yes" | "no" | "unknown" | undefined;
|
|
95
|
+
};
|
|
96
|
+
warehouse_name: string;
|
|
97
|
+
is_default?: boolean | undefined;
|
|
98
|
+
return_address?: {
|
|
99
|
+
name: string;
|
|
100
|
+
phone: string;
|
|
101
|
+
postal_code: string;
|
|
102
|
+
country_code: string;
|
|
103
|
+
address_line1: string;
|
|
104
|
+
city_locality: string;
|
|
105
|
+
state_province: string;
|
|
106
|
+
company_name?: string | undefined;
|
|
107
|
+
address_line2?: string | undefined;
|
|
108
|
+
address_line3?: string | undefined;
|
|
109
|
+
address_residential_indicator?: "yes" | "no" | "unknown" | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
112
|
//#endregion
|
|
8
113
|
export { shipengineCreateWarehouse };
|
|
9
114
|
//# sourceMappingURL=create-warehouse.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-warehouse.d.mts","names":[],"sources":["../../src/actions/create-warehouse.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"create-warehouse.d.mts","names":[],"sources":["../../src/actions/create-warehouse.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -42,33 +42,33 @@ const ShipengineCreateWarehouseInput = z.object({
|
|
|
42
42
|
const ShipengineCreateWarehouse_AddressResponseSchema = z.object({
|
|
43
43
|
name: z.string().describe("Name at the address").nullable().optional(),
|
|
44
44
|
phone: z.string().describe("Phone number at the address").nullable().optional(),
|
|
45
|
-
postal_code: z.string().describe("Postal or ZIP code"),
|
|
45
|
+
postal_code: z.string().describe("Postal or ZIP code").nullable(),
|
|
46
46
|
company_name: z.string().describe("Company name at the address").nullable().optional(),
|
|
47
|
-
country_code: z.string().describe("2-letter ISO country code"),
|
|
48
|
-
address_line1: z.string().describe("Street address (line 1)"),
|
|
47
|
+
country_code: z.string().describe("2-letter ISO country code").nullable(),
|
|
48
|
+
address_line1: z.string().describe("Street address (line 1)").nullable(),
|
|
49
49
|
address_line2: z.string().describe("Address line 2 (apt, suite, etc.)").nullable().optional(),
|
|
50
50
|
address_line3: z.string().describe("Additional address line").nullable().optional(),
|
|
51
|
-
city_locality: z.string().describe("City or locality"),
|
|
52
|
-
state_province: z.string().describe("State or province"),
|
|
51
|
+
city_locality: z.string().describe("City or locality").nullable(),
|
|
52
|
+
state_province: z.string().describe("State or province").nullable(),
|
|
53
53
|
address_residential_indicator: z.enum([
|
|
54
54
|
"yes",
|
|
55
55
|
"no",
|
|
56
56
|
"unknown"
|
|
57
57
|
]).describe("Indicates whether the address is residential (yes/no/unknown)").nullable().optional()
|
|
58
|
-
}).describe("Address object returned by ShipEngine for warehouse.");
|
|
58
|
+
}).passthrough().describe("Address object returned by ShipEngine for warehouse.");
|
|
59
59
|
const shipengineCreateWarehouse = action("SHIPENGINE_CREATE_WAREHOUSE", {
|
|
60
60
|
slug: "shipengine-create-warehouse",
|
|
61
61
|
name: "Create Warehouse",
|
|
62
62
|
description: "Tool to create a new warehouse. Use when adding a new inventory location after verifying its full address details.",
|
|
63
63
|
input: ShipengineCreateWarehouseInput,
|
|
64
64
|
output: z.object({
|
|
65
|
-
name: z.string().describe("Name of the warehouse"),
|
|
66
|
-
created_at: z.string().describe("Timestamp when warehouse was created (ISO 8601)"),
|
|
67
|
-
is_default: z.boolean().describe("True if this is the default warehouse"),
|
|
68
|
-
warehouse_id: z.string().describe("Unique identifier for the warehouse"),
|
|
65
|
+
name: z.string().describe("Name of the warehouse").nullable(),
|
|
66
|
+
created_at: z.string().describe("Timestamp when warehouse was created (ISO 8601)").nullable(),
|
|
67
|
+
is_default: z.boolean().describe("True if this is the default warehouse").nullable(),
|
|
68
|
+
warehouse_id: z.string().describe("Unique identifier for the warehouse").nullable(),
|
|
69
69
|
origin_address: ShipengineCreateWarehouse_AddressResponseSchema.nullable(),
|
|
70
70
|
return_address: ShipengineCreateWarehouse_AddressResponseSchema.nullable().optional()
|
|
71
|
-
}).describe("Response body after creating a warehouse.")
|
|
71
|
+
}).passthrough().describe("Response body after creating a warehouse.")
|
|
72
72
|
});
|
|
73
73
|
//#endregion
|
|
74
74
|
export { shipengineCreateWarehouse };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-warehouse.mjs","names":[],"sources":["../../src/actions/create-warehouse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateWarehouseInput
|
|
1
|
+
{"version":3,"file":"create-warehouse.mjs","names":[],"sources":["../../src/actions/create-warehouse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateWarehouseInput = z.object({\n is_default: z.boolean().default(false).describe(\"Whether this warehouse should be set as default\").optional(),\n origin_address: z.object({\n name: z.string().describe(\"Name at the address (required)\"),\n phone: z.string().describe(\"Phone number at the address (required)\"),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n company_name: z.string().describe(\"Company name at the address\").optional(),\n country_code: z.string().describe(\"2-letter ISO country code\"),\n address_line1: z.string().describe(\"Street address (line 1)\"),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").optional(),\n address_line3: z.string().describe(\"Additional address line\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").optional(),\n}).describe(\"The address where inventory is stored\"),\n return_address: z.object({\n name: z.string().describe(\"Name at the address (required)\"),\n phone: z.string().describe(\"Phone number at the address (required)\"),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n company_name: z.string().describe(\"Company name at the address\").optional(),\n country_code: z.string().describe(\"2-letter ISO country code\"),\n address_line1: z.string().describe(\"Street address (line 1)\"),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").optional(),\n address_line3: z.string().describe(\"Additional address line\").optional(),\n city_locality: z.string().describe(\"City or locality\"),\n state_province: z.string().describe(\"State or province\"),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").optional(),\n}).describe(\"Address object for warehouse origin or return address.\").optional(),\n warehouse_name: z.string().describe(\"Name of the warehouse\"),\n}).describe(\"Request payload to create a new warehouse.\");\nconst ShipengineCreateWarehouse_AddressResponseSchema = z.object({\n name: z.string().describe(\"Name at the address\").nullable().optional(),\n phone: z.string().describe(\"Phone number at the address\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable(),\n company_name: z.string().describe(\"Company name at the address\").nullable().optional(),\n country_code: z.string().describe(\"2-letter ISO country code\").nullable(),\n address_line1: z.string().describe(\"Street address (line 1)\").nullable(),\n address_line2: z.string().describe(\"Address line 2 (apt, suite, etc.)\").nullable().optional(),\n address_line3: z.string().describe(\"Additional address line\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality\").nullable(),\n state_province: z.string().describe(\"State or province\").nullable(),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Indicates whether the address is residential (yes/no/unknown)\").nullable().optional(),\n}).passthrough().describe(\"Address object returned by ShipEngine for warehouse.\");\nexport const ShipengineCreateWarehouseOutput = z.object({\n name: z.string().describe(\"Name of the warehouse\").nullable(),\n created_at: z.string().describe(\"Timestamp when warehouse was created (ISO 8601)\").nullable(),\n is_default: z.boolean().describe(\"True if this is the default warehouse\").nullable(),\n warehouse_id: z.string().describe(\"Unique identifier for the warehouse\").nullable(),\n origin_address: ShipengineCreateWarehouse_AddressResponseSchema.nullable(),\n return_address: ShipengineCreateWarehouse_AddressResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response body after creating a warehouse.\");\n\nexport const shipengineCreateWarehouse = action(\"SHIPENGINE_CREATE_WAREHOUSE\", {\n slug: \"shipengine-create-warehouse\",\n name: \"Create Warehouse\",\n description: \"Tool to create a new warehouse. Use when adding a new inventory location after verifying its full address details.\",\n input: ShipengineCreateWarehouseInput,\n output: ShipengineCreateWarehouseOutput,\n});\n"],"mappings":"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"}
|
|
@@ -6,14 +6,14 @@ const ShipengineCreateWebhookInput = zod.z.object({
|
|
|
6
6
|
event: zod.z.string().describe("The event to subscribe to. Valid events: 'batch', 'track', 'rate', 'carrier_connected', 'report_complete', 'order_source_refresh_complete', 'sales_orders_imported', 'batch_processed_v2', 'fulfillment_rejected_v2', 'fulfillment_shipped_v2'.")
|
|
7
7
|
}).describe("Request parameters for creating a ShipEngine webhook.");
|
|
8
8
|
const ShipengineCreateWebhookOutput = zod.z.object({
|
|
9
|
-
url: zod.z.string().describe("The webhook URL configured for notifications."),
|
|
9
|
+
url: zod.z.string().describe("The webhook URL configured for notifications.").nullable(),
|
|
10
10
|
name: zod.z.string().default("").describe("Name of the webhook.").nullable().optional(),
|
|
11
|
-
event: zod.z.string().describe("The event to which the webhook is subscribed."),
|
|
12
|
-
headers: zod.z.array(zod.z.
|
|
11
|
+
event: zod.z.string().describe("The event to which the webhook is subscribed.").nullable(),
|
|
12
|
+
headers: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Custom headers to be sent with webhook notifications.").nullable().optional(),
|
|
13
13
|
store_id: zod.z.string().describe("Store ID associated with the webhook.").nullable().optional(),
|
|
14
|
-
is_active: zod.z.boolean().describe("Indicates if the webhook is currently active/enabled."),
|
|
15
|
-
webhook_id: zod.z.string().describe("Unique identifier for the created webhook.")
|
|
16
|
-
}).describe("Response returned after creating a ShipEngine webhook.");
|
|
14
|
+
is_active: zod.z.boolean().describe("Indicates if the webhook is currently active/enabled.").nullable(),
|
|
15
|
+
webhook_id: zod.z.string().describe("Unique identifier for the created webhook.").nullable()
|
|
16
|
+
}).passthrough().describe("Response returned after creating a ShipEngine webhook.");
|
|
17
17
|
const shipengineCreateWebhook = require_action.action("SHIPENGINE_CREATE_WEBHOOK", {
|
|
18
18
|
slug: "shipengine-create-webhook",
|
|
19
19
|
name: "Create Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateWebhookInput
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where event notifications will be sent. Must be publicly reachable before registration; unreachable URLs silently drop notifications with no error indication.\"),\n event: z.string().describe(\"The event to subscribe to. Valid events: 'batch', 'track', 'rate', 'carrier_connected', 'report_complete', 'order_source_refresh_complete', 'sales_orders_imported', 'batch_processed_v2', 'fulfillment_rejected_v2', 'fulfillment_shipped_v2'.\"),\n}).describe(\"Request parameters for creating a ShipEngine webhook.\");\nexport const ShipengineCreateWebhookOutput = z.object({\n url: z.string().describe(\"The webhook URL configured for notifications.\").nullable(),\n name: z.string().default(\"\").describe(\"Name of the webhook.\").nullable().optional(),\n event: z.string().describe(\"The event to which the webhook is subscribed.\").nullable(),\n headers: z.array(z.record(z.string(), z.unknown())).describe(\"Custom headers to be sent with webhook notifications.\").nullable().optional(),\n store_id: z.string().describe(\"Store ID associated with the webhook.\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates if the webhook is currently active/enabled.\").nullable(),\n webhook_id: z.string().describe(\"Unique identifier for the created webhook.\").nullable(),\n}).passthrough().describe(\"Response returned after creating a ShipEngine webhook.\");\n\nexport const shipengineCreateWebhook = action(\"SHIPENGINE_CREATE_WEBHOOK\", {\n slug: \"shipengine-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a ShipEngine webhook. Use when you need to register a webhook for specific events. Use after confirming your event-handling endpoint is ready.\",\n input: ShipengineCreateWebhookInput,\n output: ShipengineCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACzM,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iPAAiP;AAC9Q,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-webhook.d.ts
|
|
4
|
-
declare const ShipengineCreateWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineCreateWebhookInput: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
event: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ShipengineCreateWebhookOutput: z.ZodObject<{
|
|
9
|
+
url: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
|
+
event: z.ZodNullable<z.ZodString>;
|
|
12
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
13
|
+
store_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
webhook_id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const shipengineCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
url: string;
|
|
19
|
+
event: string;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { shipengineCreateWebhook };
|
|
9
23
|
//# sourceMappingURL=create-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-webhook.d.ts
|
|
4
|
-
declare const ShipengineCreateWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineCreateWebhookInput: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
event: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ShipengineCreateWebhookOutput: z.ZodObject<{
|
|
9
|
+
url: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
|
+
event: z.ZodNullable<z.ZodString>;
|
|
12
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
13
|
+
store_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
webhook_id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const shipengineCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
url: string;
|
|
19
|
+
event: string;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { shipengineCreateWebhook };
|
|
9
23
|
//# sourceMappingURL=create-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -9,14 +9,14 @@ const shipengineCreateWebhook = action("SHIPENGINE_CREATE_WEBHOOK", {
|
|
|
9
9
|
event: z.string().describe("The event to subscribe to. Valid events: 'batch', 'track', 'rate', 'carrier_connected', 'report_complete', 'order_source_refresh_complete', 'sales_orders_imported', 'batch_processed_v2', 'fulfillment_rejected_v2', 'fulfillment_shipped_v2'.")
|
|
10
10
|
}).describe("Request parameters for creating a ShipEngine webhook."),
|
|
11
11
|
output: z.object({
|
|
12
|
-
url: z.string().describe("The webhook URL configured for notifications."),
|
|
12
|
+
url: z.string().describe("The webhook URL configured for notifications.").nullable(),
|
|
13
13
|
name: z.string().default("").describe("Name of the webhook.").nullable().optional(),
|
|
14
|
-
event: z.string().describe("The event to which the webhook is subscribed."),
|
|
15
|
-
headers: z.array(z.
|
|
14
|
+
event: z.string().describe("The event to which the webhook is subscribed.").nullable(),
|
|
15
|
+
headers: z.array(z.record(z.string(), z.unknown())).describe("Custom headers to be sent with webhook notifications.").nullable().optional(),
|
|
16
16
|
store_id: z.string().describe("Store ID associated with the webhook.").nullable().optional(),
|
|
17
|
-
is_active: z.boolean().describe("Indicates if the webhook is currently active/enabled."),
|
|
18
|
-
webhook_id: z.string().describe("Unique identifier for the created webhook.")
|
|
19
|
-
}).describe("Response returned after creating a ShipEngine webhook.")
|
|
17
|
+
is_active: z.boolean().describe("Indicates if the webhook is currently active/enabled.").nullable(),
|
|
18
|
+
webhook_id: z.string().describe("Unique identifier for the created webhook.").nullable()
|
|
19
|
+
}).passthrough().describe("Response returned after creating a ShipEngine webhook.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { shipengineCreateWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateWebhookInput
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateWebhookInput = z.object({\n url: z.string().describe(\"The webhook URL where event notifications will be sent. Must be publicly reachable before registration; unreachable URLs silently drop notifications with no error indication.\"),\n event: z.string().describe(\"The event to subscribe to. Valid events: 'batch', 'track', 'rate', 'carrier_connected', 'report_complete', 'order_source_refresh_complete', 'sales_orders_imported', 'batch_processed_v2', 'fulfillment_rejected_v2', 'fulfillment_shipped_v2'.\"),\n}).describe(\"Request parameters for creating a ShipEngine webhook.\");\nexport const ShipengineCreateWebhookOutput = z.object({\n url: z.string().describe(\"The webhook URL configured for notifications.\").nullable(),\n name: z.string().default(\"\").describe(\"Name of the webhook.\").nullable().optional(),\n event: z.string().describe(\"The event to which the webhook is subscribed.\").nullable(),\n headers: z.array(z.record(z.string(), z.unknown())).describe(\"Custom headers to be sent with webhook notifications.\").nullable().optional(),\n store_id: z.string().describe(\"Store ID associated with the webhook.\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates if the webhook is currently active/enabled.\").nullable(),\n webhook_id: z.string().describe(\"Unique identifier for the created webhook.\").nullable(),\n}).passthrough().describe(\"Response returned after creating a ShipEngine webhook.\");\n\nexport const shipengineCreateWebhook = action(\"SHIPENGINE_CREATE_WEBHOOK\", {\n slug: \"shipengine-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to create a ShipEngine webhook. Use when you need to register a webhook for specific events. Use after confirming your event-handling endpoint is ready.\",\n input: ShipengineCreateWebhookInput,\n output: ShipengineCreateWebhookOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;EACzM,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iPAAiP;CAC9Q,CAAC,CAAC,CAAC,SAAS,uDAeH;CACP,QAf2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -3,9 +3,9 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/delete-account-image-by-id.ts
|
|
4
4
|
const ShipengineDeleteAccountImageByIdInput = zod.z.object({ label_image_id: zod.z.string().describe("Unique identifier for the label image to delete. Must be a valid image ID from ShipEngine.") }).describe("Request parameters for deleting a ShipEngine account image by ID.");
|
|
5
5
|
const ShipengineDeleteAccountImageByIdOutput = zod.z.object({
|
|
6
|
-
message: zod.z.string().describe("Confirmation message for the deletion operation."),
|
|
7
|
-
success: zod.z.boolean().describe("Indicates if the account image was successfully deleted.")
|
|
8
|
-
}).describe("Response returned after successfully deleting a ShipEngine account image.");
|
|
6
|
+
message: zod.z.string().describe("Confirmation message for the deletion operation.").nullable(),
|
|
7
|
+
success: zod.z.boolean().describe("Indicates if the account image was successfully deleted.").nullable()
|
|
8
|
+
}).passthrough().describe("Response returned after successfully deleting a ShipEngine account image.");
|
|
9
9
|
const shipengineDeleteAccountImageById = require_action.action("SHIPENGINE_DELETE_ACCOUNT_IMAGE_BY_ID", {
|
|
10
10
|
slug: "shipengine-delete-account-image-by-id",
|
|
11
11
|
name: "Delete Account Image by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-account-image-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-account-image-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineDeleteAccountImageByIdInput
|
|
1
|
+
{"version":3,"file":"delete-account-image-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-account-image-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineDeleteAccountImageByIdInput = z.object({\n label_image_id: z.string().describe(\"Unique identifier for the label image to delete. Must be a valid image ID from ShipEngine.\"),\n}).describe(\"Request parameters for deleting a ShipEngine account image by ID.\");\nexport const ShipengineDeleteAccountImageByIdOutput = z.object({\n message: z.string().describe(\"Confirmation message for the deletion operation.\").nullable(),\n success: z.boolean().describe(\"Indicates if the account image was successfully deleted.\").nullable(),\n}).passthrough().describe(\"Response returned after successfully deleting a ShipEngine account image.\");\n\nexport const shipengineDeleteAccountImageById = action(\"SHIPENGINE_DELETE_ACCOUNT_IMAGE_BY_ID\", {\n slug: \"shipengine-delete-account-image-by-id\",\n name: \"Delete Account Image by ID\",\n description: \"Tool to delete a ShipEngine account image by its ID. Use when you need to remove an image from account settings. The image will be permanently removed from the account.\",\n input: ShipengineDeleteAccountImageByIdInput,\n output: ShipengineDeleteAccountImageByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAClI,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-account-image-by-id.d.ts
|
|
4
|
-
declare const ShipengineDeleteAccountImageByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineDeleteAccountImageByIdInput: z.ZodObject<{
|
|
5
|
+
label_image_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShipengineDeleteAccountImageByIdOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const shipengineDeleteAccountImageById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
label_image_id: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { shipengineDeleteAccountImageById };
|
|
9
16
|
//# sourceMappingURL=delete-account-image-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-account-image-by-id.d.cts","names":[],"sources":["../../src/actions/delete-account-image-by-id.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"delete-account-image-by-id.d.cts","names":[],"sources":["../../src/actions/delete-account-image-by-id.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAKtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-account-image-by-id.d.ts
|
|
4
|
-
declare const ShipengineDeleteAccountImageByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipengineDeleteAccountImageByIdInput: z.ZodObject<{
|
|
5
|
+
label_image_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShipengineDeleteAccountImageByIdOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const shipengineDeleteAccountImageById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
label_image_id: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { shipengineDeleteAccountImageById };
|
|
9
16
|
//# sourceMappingURL=delete-account-image-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-account-image-by-id.d.mts","names":[],"sources":["../../src/actions/delete-account-image-by-id.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"delete-account-image-by-id.d.mts","names":[],"sources":["../../src/actions/delete-account-image-by-id.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAKtC,gCAAA,gCAAgC,wBAAA"}
|