@keystrokehq/shipengine 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-tag-to-shipment.cjs +1 -0
- package/dist/actions/add-tag-to-shipment.cjs.map +1 -1
- package/dist/actions/add-tag-to-shipment.d.cts +3 -4
- package/dist/actions/add-tag-to-shipment.d.cts.map +1 -1
- package/dist/actions/add-tag-to-shipment.d.mts +3 -4
- package/dist/actions/add-tag-to-shipment.d.mts.map +1 -1
- package/dist/actions/add-tag-to-shipment.mjs +1 -0
- package/dist/actions/add-tag-to-shipment.mjs.map +1 -1
- package/dist/actions/add-to-batch.cjs +1 -0
- package/dist/actions/add-to-batch.cjs.map +1 -1
- package/dist/actions/add-to-batch.d.cts +3 -5
- package/dist/actions/add-to-batch.d.cts.map +1 -1
- package/dist/actions/add-to-batch.d.mts +3 -5
- package/dist/actions/add-to-batch.d.mts.map +1 -1
- package/dist/actions/add-to-batch.mjs +1 -0
- package/dist/actions/add-to-batch.mjs.map +1 -1
- package/dist/actions/cancel-shipment.cjs +1 -0
- package/dist/actions/cancel-shipment.cjs.map +1 -1
- package/dist/actions/cancel-shipment.d.cts +3 -3
- package/dist/actions/cancel-shipment.d.cts.map +1 -1
- package/dist/actions/cancel-shipment.d.mts +3 -3
- package/dist/actions/cancel-shipment.d.mts.map +1 -1
- package/dist/actions/cancel-shipment.mjs +1 -0
- package/dist/actions/cancel-shipment.mjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.cjs +1 -0
- package/dist/actions/connect-ltl-carrier.cjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.d.cts +3 -4
- package/dist/actions/connect-ltl-carrier.d.cts.map +1 -1
- package/dist/actions/connect-ltl-carrier.d.mts +3 -4
- package/dist/actions/connect-ltl-carrier.d.mts.map +1 -1
- package/dist/actions/connect-ltl-carrier.mjs +1 -0
- package/dist/actions/connect-ltl-carrier.mjs.map +1 -1
- package/dist/actions/connect-shipsurance.cjs +1 -0
- package/dist/actions/connect-shipsurance.cjs.map +1 -1
- package/dist/actions/connect-shipsurance.d.cts +3 -4
- package/dist/actions/connect-shipsurance.d.cts.map +1 -1
- package/dist/actions/connect-shipsurance.d.mts +3 -4
- package/dist/actions/connect-shipsurance.d.mts.map +1 -1
- package/dist/actions/connect-shipsurance.mjs +1 -0
- package/dist/actions/connect-shipsurance.mjs.map +1 -1
- package/dist/actions/create-account-image.cjs +1 -0
- package/dist/actions/create-account-image.cjs.map +1 -1
- package/dist/actions/create-account-image.d.cts +3 -5
- package/dist/actions/create-account-image.d.cts.map +1 -1
- package/dist/actions/create-account-image.d.mts +3 -5
- package/dist/actions/create-account-image.d.mts.map +1 -1
- package/dist/actions/create-account-image.mjs +1 -0
- package/dist/actions/create-account-image.mjs.map +1 -1
- package/dist/actions/create-package-type.cjs +1 -0
- package/dist/actions/create-package-type.cjs.map +1 -1
- package/dist/actions/create-package-type.d.cts +3 -11
- package/dist/actions/create-package-type.d.cts.map +1 -1
- package/dist/actions/create-package-type.d.mts +3 -11
- package/dist/actions/create-package-type.d.mts.map +1 -1
- package/dist/actions/create-package-type.mjs +1 -0
- package/dist/actions/create-package-type.mjs.map +1 -1
- package/dist/actions/create-tag.cjs +1 -0
- package/dist/actions/create-tag.cjs.map +1 -1
- package/dist/actions/create-tag.d.cts +3 -3
- package/dist/actions/create-tag.d.cts.map +1 -1
- package/dist/actions/create-tag.d.mts +3 -3
- package/dist/actions/create-tag.d.mts.map +1 -1
- package/dist/actions/create-tag.mjs +1 -0
- package/dist/actions/create-tag.mjs.map +1 -1
- package/dist/actions/create-tag2.cjs +1 -0
- package/dist/actions/create-tag2.cjs.map +1 -1
- package/dist/actions/create-tag2.d.cts +3 -3
- package/dist/actions/create-tag2.d.cts.map +1 -1
- package/dist/actions/create-tag2.d.mts +3 -3
- package/dist/actions/create-tag2.d.mts.map +1 -1
- package/dist/actions/create-tag2.mjs +1 -0
- package/dist/actions/create-tag2.mjs.map +1 -1
- package/dist/actions/create-warehouse.cjs +1 -0
- package/dist/actions/create-warehouse.cjs.map +1 -1
- package/dist/actions/create-warehouse.d.cts +3 -30
- package/dist/actions/create-warehouse.d.cts.map +1 -1
- package/dist/actions/create-warehouse.d.mts +3 -30
- package/dist/actions/create-warehouse.d.mts.map +1 -1
- package/dist/actions/create-warehouse.mjs +1 -0
- package/dist/actions/create-warehouse.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -4
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -4
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-account-image-by-id.cjs +1 -0
- package/dist/actions/delete-account-image-by-id.cjs.map +1 -1
- package/dist/actions/delete-account-image-by-id.d.cts +3 -3
- package/dist/actions/delete-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/delete-account-image-by-id.d.mts +3 -3
- package/dist/actions/delete-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/delete-account-image-by-id.mjs +1 -0
- package/dist/actions/delete-account-image-by-id.mjs.map +1 -1
- package/dist/actions/delete-batch.cjs +1 -0
- package/dist/actions/delete-batch.cjs.map +1 -1
- package/dist/actions/delete-batch.d.cts +3 -3
- package/dist/actions/delete-batch.d.cts.map +1 -1
- package/dist/actions/delete-batch.d.mts +3 -3
- package/dist/actions/delete-batch.d.mts.map +1 -1
- package/dist/actions/delete-batch.mjs +1 -0
- package/dist/actions/delete-batch.mjs.map +1 -1
- package/dist/actions/delete-package.cjs +1 -0
- package/dist/actions/delete-package.cjs.map +1 -1
- package/dist/actions/delete-package.d.cts +3 -3
- package/dist/actions/delete-package.d.cts.map +1 -1
- package/dist/actions/delete-package.d.mts +3 -3
- package/dist/actions/delete-package.d.mts.map +1 -1
- package/dist/actions/delete-package.mjs +1 -0
- package/dist/actions/delete-package.mjs.map +1 -1
- package/dist/actions/delete-warehouse.cjs +1 -0
- package/dist/actions/delete-warehouse.cjs.map +1 -1
- package/dist/actions/delete-warehouse.d.cts +3 -3
- package/dist/actions/delete-warehouse.d.cts.map +1 -1
- package/dist/actions/delete-warehouse.d.mts +3 -3
- package/dist/actions/delete-warehouse.d.mts.map +1 -1
- package/dist/actions/delete-warehouse.mjs +1 -0
- package/dist/actions/delete-warehouse.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/disconnect-carrier.cjs +1 -0
- package/dist/actions/disconnect-carrier.cjs.map +1 -1
- package/dist/actions/disconnect-carrier.d.cts +3 -4
- package/dist/actions/disconnect-carrier.d.cts.map +1 -1
- package/dist/actions/disconnect-carrier.d.mts +3 -4
- package/dist/actions/disconnect-carrier.d.mts.map +1 -1
- package/dist/actions/disconnect-carrier.mjs +1 -0
- package/dist/actions/disconnect-carrier.mjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.cjs +1 -0
- package/dist/actions/disconnect-shipsurance.cjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.d.cts +3 -1
- package/dist/actions/disconnect-shipsurance.d.cts.map +1 -1
- package/dist/actions/disconnect-shipsurance.d.mts +3 -1
- package/dist/actions/disconnect-shipsurance.d.mts.map +1 -1
- package/dist/actions/disconnect-shipsurance.mjs +1 -0
- package/dist/actions/disconnect-shipsurance.mjs.map +1 -1
- package/dist/actions/download-file.cjs +1 -0
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +3 -7
- package/dist/actions/download-file.d.cts.map +1 -1
- package/dist/actions/download-file.d.mts +3 -7
- package/dist/actions/download-file.d.mts.map +1 -1
- package/dist/actions/download-file.mjs +1 -0
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/get-account-image-by-id.cjs +1 -0
- package/dist/actions/get-account-image-by-id.cjs.map +1 -1
- package/dist/actions/get-account-image-by-id.d.cts +3 -3
- package/dist/actions/get-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/get-account-image-by-id.d.mts +3 -3
- package/dist/actions/get-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/get-account-image-by-id.mjs +1 -0
- package/dist/actions/get-account-image-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-external-id.cjs +1 -0
- package/dist/actions/get-batch-by-external-id.cjs.map +1 -1
- package/dist/actions/get-batch-by-external-id.d.cts +3 -3
- package/dist/actions/get-batch-by-external-id.d.cts.map +1 -1
- package/dist/actions/get-batch-by-external-id.d.mts +3 -3
- package/dist/actions/get-batch-by-external-id.d.mts.map +1 -1
- package/dist/actions/get-batch-by-external-id.mjs +1 -0
- package/dist/actions/get-batch-by-external-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-id.cjs +1 -0
- package/dist/actions/get-batch-by-id.cjs.map +1 -1
- package/dist/actions/get-batch-by-id.d.cts +3 -3
- package/dist/actions/get-batch-by-id.d.cts.map +1 -1
- package/dist/actions/get-batch-by-id.d.mts +3 -3
- package/dist/actions/get-batch-by-id.d.mts.map +1 -1
- package/dist/actions/get-batch-by-id.mjs +1 -0
- package/dist/actions/get-batch-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-errors.cjs +1 -0
- package/dist/actions/get-batch-errors.cjs.map +1 -1
- package/dist/actions/get-batch-errors.d.cts +3 -5
- package/dist/actions/get-batch-errors.d.cts.map +1 -1
- package/dist/actions/get-batch-errors.d.mts +3 -5
- package/dist/actions/get-batch-errors.d.mts.map +1 -1
- package/dist/actions/get-batch-errors.mjs +1 -0
- package/dist/actions/get-batch-errors.mjs.map +1 -1
- package/dist/actions/get-bulk-rates.cjs +1 -0
- package/dist/actions/get-bulk-rates.cjs.map +1 -1
- package/dist/actions/get-bulk-rates.d.cts +3 -76
- package/dist/actions/get-bulk-rates.d.cts.map +1 -1
- package/dist/actions/get-bulk-rates.d.mts +3 -76
- package/dist/actions/get-bulk-rates.d.mts.map +1 -1
- package/dist/actions/get-bulk-rates.mjs +1 -0
- package/dist/actions/get-bulk-rates.mjs.map +1 -1
- package/dist/actions/get-insurance-balance.cjs +1 -0
- package/dist/actions/get-insurance-balance.cjs.map +1 -1
- package/dist/actions/get-insurance-balance.d.cts +3 -1
- package/dist/actions/get-insurance-balance.d.cts.map +1 -1
- package/dist/actions/get-insurance-balance.d.mts +3 -1
- package/dist/actions/get-insurance-balance.d.mts.map +1 -1
- package/dist/actions/get-insurance-balance.mjs +1 -0
- package/dist/actions/get-insurance-balance.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.cjs +1 -0
- package/dist/actions/get-ltl-carrier-credential-requirements.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.d.cts +3 -3
- package/dist/actions/get-ltl-carrier-credential-requirements.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.d.mts +3 -3
- package/dist/actions/get-ltl-carrier-credential-requirements.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.mjs +1 -0
- package/dist/actions/get-ltl-carrier-credential-requirements.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.cjs +1 -0
- package/dist/actions/get-ltl-carrier-features.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.d.cts +3 -3
- package/dist/actions/get-ltl-carrier-features.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-features.d.mts +3 -3
- package/dist/actions/get-ltl-carrier-features.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-features.mjs +1 -0
- package/dist/actions/get-ltl-carrier-features.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.cjs +1 -0
- package/dist/actions/get-ltl-carrier-options.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.d.cts +3 -3
- package/dist/actions/get-ltl-carrier-options.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-options.d.mts +3 -3
- package/dist/actions/get-ltl-carrier-options.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-options.mjs +1 -0
- package/dist/actions/get-ltl-carrier-options.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.cjs +1 -0
- package/dist/actions/get-ltl-carrier-packages.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.d.cts +3 -3
- package/dist/actions/get-ltl-carrier-packages.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.d.mts +3 -3
- package/dist/actions/get-ltl-carrier-packages.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.mjs +1 -0
- package/dist/actions/get-ltl-carrier-packages.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.cjs +1 -0
- package/dist/actions/get-ltl-carrier-services.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.d.cts +3 -3
- package/dist/actions/get-ltl-carrier-services.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-services.d.mts +3 -3
- package/dist/actions/get-ltl-carrier-services.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-services.mjs +1 -0
- package/dist/actions/get-ltl-carrier-services.mjs.map +1 -1
- package/dist/actions/get-package-by-id.cjs +1 -0
- package/dist/actions/get-package-by-id.cjs.map +1 -1
- package/dist/actions/get-package-by-id.d.cts +3 -3
- package/dist/actions/get-package-by-id.d.cts.map +1 -1
- package/dist/actions/get-package-by-id.d.mts +3 -3
- package/dist/actions/get-package-by-id.d.mts.map +1 -1
- package/dist/actions/get-package-by-id.mjs +1 -0
- package/dist/actions/get-package-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-external-id.cjs +1 -0
- package/dist/actions/get-shipment-by-external-id.cjs.map +1 -1
- package/dist/actions/get-shipment-by-external-id.d.cts +3 -3
- package/dist/actions/get-shipment-by-external-id.d.cts.map +1 -1
- package/dist/actions/get-shipment-by-external-id.d.mts +3 -3
- package/dist/actions/get-shipment-by-external-id.d.mts.map +1 -1
- package/dist/actions/get-shipment-by-external-id.mjs +1 -0
- package/dist/actions/get-shipment-by-external-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-id.cjs +1 -0
- package/dist/actions/get-shipment-by-id.cjs.map +1 -1
- package/dist/actions/get-shipment-by-id.d.cts +3 -3
- package/dist/actions/get-shipment-by-id.d.cts.map +1 -1
- package/dist/actions/get-shipment-by-id.d.mts +3 -3
- package/dist/actions/get-shipment-by-id.d.mts.map +1 -1
- package/dist/actions/get-shipment-by-id.mjs +1 -0
- package/dist/actions/get-shipment-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-rates.cjs +1 -0
- package/dist/actions/get-shipment-rates.cjs.map +1 -1
- package/dist/actions/get-shipment-rates.d.cts +3 -4
- package/dist/actions/get-shipment-rates.d.cts.map +1 -1
- package/dist/actions/get-shipment-rates.d.mts +3 -4
- package/dist/actions/get-shipment-rates.d.mts.map +1 -1
- package/dist/actions/get-shipment-rates.mjs +1 -0
- package/dist/actions/get-shipment-rates.mjs.map +1 -1
- package/dist/actions/get-tracking-info.cjs +1 -0
- package/dist/actions/get-tracking-info.cjs.map +1 -1
- package/dist/actions/get-tracking-info.d.cts +3 -4
- package/dist/actions/get-tracking-info.d.cts.map +1 -1
- package/dist/actions/get-tracking-info.d.mts +3 -4
- package/dist/actions/get-tracking-info.d.mts.map +1 -1
- package/dist/actions/get-tracking-info.mjs +1 -0
- package/dist/actions/get-tracking-info.mjs.map +1 -1
- package/dist/actions/get-warehouse-by-id.cjs +1 -0
- package/dist/actions/get-warehouse-by-id.cjs.map +1 -1
- package/dist/actions/get-warehouse-by-id.d.cts +3 -3
- package/dist/actions/get-warehouse-by-id.d.cts.map +1 -1
- package/dist/actions/get-warehouse-by-id.d.mts +3 -3
- package/dist/actions/get-warehouse-by-id.d.mts.map +1 -1
- package/dist/actions/get-warehouse-by-id.mjs +1 -0
- package/dist/actions/get-warehouse-by-id.mjs.map +1 -1
- package/dist/actions/get-webhook-by-id.cjs +1 -0
- package/dist/actions/get-webhook-by-id.cjs.map +1 -1
- package/dist/actions/get-webhook-by-id.d.cts +3 -3
- package/dist/actions/get-webhook-by-id.d.cts.map +1 -1
- package/dist/actions/get-webhook-by-id.d.mts +3 -3
- package/dist/actions/get-webhook-by-id.d.mts.map +1 -1
- package/dist/actions/get-webhook-by-id.mjs +1 -0
- package/dist/actions/get-webhook-by-id.mjs.map +1 -1
- package/dist/actions/list-account-images.cjs +1 -0
- package/dist/actions/list-account-images.cjs.map +1 -1
- package/dist/actions/list-account-images.d.cts +3 -1
- package/dist/actions/list-account-images.d.cts.map +1 -1
- package/dist/actions/list-account-images.d.mts +3 -1
- package/dist/actions/list-account-images.d.mts.map +1 -1
- package/dist/actions/list-account-images.mjs +1 -0
- package/dist/actions/list-account-images.mjs.map +1 -1
- package/dist/actions/list-account-settings.cjs +1 -0
- package/dist/actions/list-account-settings.cjs.map +1 -1
- package/dist/actions/list-account-settings.d.cts +3 -1
- package/dist/actions/list-account-settings.d.cts.map +1 -1
- package/dist/actions/list-account-settings.d.mts +3 -1
- package/dist/actions/list-account-settings.d.mts.map +1 -1
- package/dist/actions/list-account-settings.mjs +1 -0
- package/dist/actions/list-account-settings.mjs.map +1 -1
- package/dist/actions/list-batches2.cjs +1 -0
- package/dist/actions/list-batches2.cjs.map +1 -1
- package/dist/actions/list-batches2.d.cts +4 -13
- package/dist/actions/list-batches2.d.cts.map +1 -1
- package/dist/actions/list-batches2.d.mts +4 -13
- package/dist/actions/list-batches2.d.mts.map +1 -1
- package/dist/actions/list-batches2.mjs +1 -0
- package/dist/actions/list-batches2.mjs.map +1 -1
- package/dist/actions/list-carrier-package-types.cjs +1 -0
- package/dist/actions/list-carrier-package-types.cjs.map +1 -1
- package/dist/actions/list-carrier-package-types.d.cts +3 -3
- package/dist/actions/list-carrier-package-types.d.cts.map +1 -1
- package/dist/actions/list-carrier-package-types.d.mts +3 -3
- package/dist/actions/list-carrier-package-types.d.mts.map +1 -1
- package/dist/actions/list-carrier-package-types.mjs +1 -0
- package/dist/actions/list-carrier-package-types.mjs.map +1 -1
- package/dist/actions/list-labels2.cjs +1 -0
- package/dist/actions/list-labels2.cjs.map +1 -1
- package/dist/actions/list-labels2.d.cts +3 -16
- package/dist/actions/list-labels2.d.cts.map +1 -1
- package/dist/actions/list-labels2.d.mts +3 -16
- package/dist/actions/list-labels2.d.mts.map +1 -1
- package/dist/actions/list-labels2.mjs +1 -0
- package/dist/actions/list-labels2.mjs.map +1 -1
- package/dist/actions/list-ltl-carriers.cjs +1 -0
- package/dist/actions/list-ltl-carriers.cjs.map +1 -1
- package/dist/actions/list-ltl-carriers.d.cts +3 -1
- package/dist/actions/list-ltl-carriers.d.cts.map +1 -1
- package/dist/actions/list-ltl-carriers.d.mts +3 -1
- package/dist/actions/list-ltl-carriers.d.mts.map +1 -1
- package/dist/actions/list-ltl-carriers.mjs +1 -0
- package/dist/actions/list-ltl-carriers.mjs.map +1 -1
- package/dist/actions/list-manifests2.cjs +1 -0
- package/dist/actions/list-manifests2.cjs.map +1 -1
- package/dist/actions/list-manifests2.d.cts +3 -11
- package/dist/actions/list-manifests2.d.cts.map +1 -1
- package/dist/actions/list-manifests2.d.mts +3 -11
- package/dist/actions/list-manifests2.d.mts.map +1 -1
- package/dist/actions/list-manifests2.mjs +1 -0
- package/dist/actions/list-manifests2.mjs.map +1 -1
- package/dist/actions/list-packages.cjs +1 -0
- package/dist/actions/list-packages.cjs.map +1 -1
- package/dist/actions/list-packages.d.cts +3 -4
- package/dist/actions/list-packages.d.cts.map +1 -1
- package/dist/actions/list-packages.d.mts +3 -4
- package/dist/actions/list-packages.d.mts.map +1 -1
- package/dist/actions/list-packages.mjs +1 -0
- package/dist/actions/list-packages.mjs.map +1 -1
- package/dist/actions/list-pickups.cjs +1 -0
- package/dist/actions/list-pickups.cjs.map +1 -1
- package/dist/actions/list-pickups.d.cts +3 -8
- package/dist/actions/list-pickups.d.cts.map +1 -1
- package/dist/actions/list-pickups.d.mts +3 -8
- package/dist/actions/list-pickups.d.mts.map +1 -1
- package/dist/actions/list-pickups.mjs +1 -0
- package/dist/actions/list-pickups.mjs.map +1 -1
- package/dist/actions/list-shipments2.cjs +1 -0
- package/dist/actions/list-shipments2.cjs.map +1 -1
- package/dist/actions/list-shipments2.d.cts +3 -14
- package/dist/actions/list-shipments2.d.cts.map +1 -1
- package/dist/actions/list-shipments2.d.mts +3 -14
- package/dist/actions/list-shipments2.d.mts.map +1 -1
- package/dist/actions/list-shipments2.mjs +1 -0
- package/dist/actions/list-shipments2.mjs.map +1 -1
- package/dist/actions/list-tags2.cjs +1 -0
- package/dist/actions/list-tags2.cjs.map +1 -1
- package/dist/actions/list-tags2.d.cts +3 -1
- package/dist/actions/list-tags2.d.cts.map +1 -1
- package/dist/actions/list-tags2.d.mts +3 -1
- package/dist/actions/list-tags2.d.mts.map +1 -1
- package/dist/actions/list-tags2.mjs +1 -0
- package/dist/actions/list-tags2.mjs.map +1 -1
- package/dist/actions/list-warehouses.cjs +1 -0
- package/dist/actions/list-warehouses.cjs.map +1 -1
- package/dist/actions/list-warehouses.d.cts +3 -4
- package/dist/actions/list-warehouses.d.cts.map +1 -1
- package/dist/actions/list-warehouses.d.mts +3 -4
- package/dist/actions/list-warehouses.d.mts.map +1 -1
- package/dist/actions/list-warehouses.mjs +1 -0
- package/dist/actions/list-warehouses.mjs.map +1 -1
- package/dist/actions/list-webhook-events.cjs +1 -0
- package/dist/actions/list-webhook-events.cjs.map +1 -1
- package/dist/actions/list-webhook-events.d.cts +3 -1
- package/dist/actions/list-webhook-events.d.cts.map +1 -1
- package/dist/actions/list-webhook-events.d.mts +3 -1
- package/dist/actions/list-webhook-events.d.mts.map +1 -1
- package/dist/actions/list-webhook-events.mjs +1 -0
- package/dist/actions/list-webhook-events.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -1
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -1
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/parse-address.cjs +1 -0
- package/dist/actions/parse-address.cjs.map +1 -1
- package/dist/actions/parse-address.d.cts +3 -17
- package/dist/actions/parse-address.d.cts.map +1 -1
- package/dist/actions/parse-address.d.mts +3 -17
- package/dist/actions/parse-address.d.mts.map +1 -1
- package/dist/actions/parse-address.mjs +1 -0
- package/dist/actions/parse-address.mjs.map +1 -1
- package/dist/actions/process-batch-labels.cjs +1 -0
- package/dist/actions/process-batch-labels.cjs.map +1 -1
- package/dist/actions/process-batch-labels.d.cts +3 -7
- package/dist/actions/process-batch-labels.d.cts.map +1 -1
- package/dist/actions/process-batch-labels.d.mts +3 -7
- package/dist/actions/process-batch-labels.d.mts.map +1 -1
- package/dist/actions/process-batch-labels.mjs +1 -0
- package/dist/actions/process-batch-labels.mjs.map +1 -1
- package/dist/actions/remove-from-batch.cjs +1 -0
- package/dist/actions/remove-from-batch.cjs.map +1 -1
- package/dist/actions/remove-from-batch.d.cts +3 -5
- package/dist/actions/remove-from-batch.d.cts.map +1 -1
- package/dist/actions/remove-from-batch.d.mts +3 -5
- package/dist/actions/remove-from-batch.d.mts.map +1 -1
- package/dist/actions/remove-from-batch.mjs +1 -0
- package/dist/actions/remove-from-batch.mjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.cjs +1 -0
- package/dist/actions/remove-tag-from-shipment.cjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.d.cts +3 -4
- package/dist/actions/remove-tag-from-shipment.d.cts.map +1 -1
- package/dist/actions/remove-tag-from-shipment.d.mts +3 -4
- package/dist/actions/remove-tag-from-shipment.d.mts.map +1 -1
- package/dist/actions/remove-tag-from-shipment.mjs +1 -0
- package/dist/actions/remove-tag-from-shipment.mjs.map +1 -1
- package/dist/actions/start-tracking.cjs +1 -0
- package/dist/actions/start-tracking.cjs.map +1 -1
- package/dist/actions/start-tracking.d.cts +3 -5
- package/dist/actions/start-tracking.d.cts.map +1 -1
- package/dist/actions/start-tracking.d.mts +3 -5
- package/dist/actions/start-tracking.d.mts.map +1 -1
- package/dist/actions/start-tracking.mjs +1 -0
- package/dist/actions/start-tracking.mjs.map +1 -1
- package/dist/actions/stop-tracking.cjs +1 -0
- package/dist/actions/stop-tracking.cjs.map +1 -1
- package/dist/actions/stop-tracking.d.cts +3 -4
- package/dist/actions/stop-tracking.d.cts.map +1 -1
- package/dist/actions/stop-tracking.d.mts +3 -4
- package/dist/actions/stop-tracking.d.mts.map +1 -1
- package/dist/actions/stop-tracking.mjs +1 -0
- package/dist/actions/stop-tracking.mjs.map +1 -1
- package/dist/actions/track-ltl-shipment.cjs +1 -0
- package/dist/actions/track-ltl-shipment.cjs.map +1 -1
- package/dist/actions/track-ltl-shipment.d.cts +3 -4
- package/dist/actions/track-ltl-shipment.d.cts.map +1 -1
- package/dist/actions/track-ltl-shipment.d.mts +3 -4
- package/dist/actions/track-ltl-shipment.d.mts.map +1 -1
- package/dist/actions/track-ltl-shipment.mjs +1 -0
- package/dist/actions/track-ltl-shipment.mjs.map +1 -1
- package/dist/actions/update-account-image-by-id.cjs +1 -0
- package/dist/actions/update-account-image-by-id.cjs.map +1 -1
- package/dist/actions/update-account-image-by-id.d.cts +3 -6
- package/dist/actions/update-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/update-account-image-by-id.d.mts +3 -6
- package/dist/actions/update-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/update-account-image-by-id.mjs +1 -0
- package/dist/actions/update-account-image-by-id.mjs.map +1 -1
- package/dist/actions/update-ltl-connection.cjs +1 -0
- package/dist/actions/update-ltl-connection.cjs.map +1 -1
- package/dist/actions/update-ltl-connection.d.cts +3 -5
- package/dist/actions/update-ltl-connection.d.cts.map +1 -1
- package/dist/actions/update-ltl-connection.d.mts +3 -5
- package/dist/actions/update-ltl-connection.d.mts.map +1 -1
- package/dist/actions/update-ltl-connection.mjs +1 -0
- package/dist/actions/update-ltl-connection.mjs.map +1 -1
- package/dist/actions/update-package.cjs +1 -0
- package/dist/actions/update-package.cjs.map +1 -1
- package/dist/actions/update-package.d.cts +3 -12
- package/dist/actions/update-package.d.cts.map +1 -1
- package/dist/actions/update-package.d.mts +3 -12
- package/dist/actions/update-package.d.mts.map +1 -1
- package/dist/actions/update-package.mjs +1 -0
- package/dist/actions/update-package.mjs.map +1 -1
- package/dist/actions/update-shipment.cjs +1 -0
- package/dist/actions/update-shipment.cjs.map +1 -1
- package/dist/actions/update-shipment.d.cts +3 -112
- package/dist/actions/update-shipment.d.cts.map +1 -1
- package/dist/actions/update-shipment.d.mts +3 -112
- package/dist/actions/update-shipment.d.mts.map +1 -1
- package/dist/actions/update-shipment.mjs +1 -0
- package/dist/actions/update-shipment.mjs.map +1 -1
- package/dist/actions/update-shipments-tags.cjs +1 -0
- package/dist/actions/update-shipments-tags.cjs.map +1 -1
- package/dist/actions/update-shipments-tags.d.cts +3 -7
- package/dist/actions/update-shipments-tags.d.cts.map +1 -1
- package/dist/actions/update-shipments-tags.d.mts +3 -7
- package/dist/actions/update-shipments-tags.d.mts.map +1 -1
- package/dist/actions/update-shipments-tags.mjs +1 -0
- package/dist/actions/update-shipments-tags.mjs.map +1 -1
- package/dist/actions/update-warehouse.cjs +1 -0
- package/dist/actions/update-warehouse.cjs.map +1 -1
- package/dist/actions/update-warehouse.d.cts +3 -31
- package/dist/actions/update-warehouse.d.cts.map +1 -1
- package/dist/actions/update-warehouse.d.mts +3 -31
- package/dist/actions/update-warehouse.d.mts.map +1 -1
- package/dist/actions/update-warehouse.mjs +1 -0
- package/dist/actions/update-warehouse.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -0
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -11
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -11
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +1 -0
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/validate-address.cjs +1 -0
- package/dist/actions/validate-address.cjs.map +1 -1
- package/dist/actions/validate-address.d.cts +3 -16
- package/dist/actions/validate-address.d.cts.map +1 -1
- package/dist/actions/validate-address.d.mts +3 -16
- package/dist/actions/validate-address.d.mts.map +1 -1
- package/dist/actions/validate-address.mjs +1 -0
- package/dist/actions/validate-address.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shipengine } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-warehouse.d.ts
|
|
@@ -44,37 +46,7 @@ declare const ShipengineUpdateWarehouseOutput: z.ZodObject<{
|
|
|
44
46
|
message: z.ZodNullable<z.ZodString>;
|
|
45
47
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const shipengineUpdateWarehouse:
|
|
48
|
-
name: string;
|
|
49
|
-
warehouse_id: string;
|
|
50
|
-
origin_address: {
|
|
51
|
-
name: string;
|
|
52
|
-
phone: string;
|
|
53
|
-
postal_code: string;
|
|
54
|
-
country_code: string;
|
|
55
|
-
address_line1: string;
|
|
56
|
-
city_locality: string;
|
|
57
|
-
state_province: string;
|
|
58
|
-
company_name?: string | undefined;
|
|
59
|
-
address_line2?: string | undefined;
|
|
60
|
-
address_line3?: string | undefined;
|
|
61
|
-
address_residential_indicator?: "unknown" | "yes" | "no" | undefined;
|
|
62
|
-
};
|
|
63
|
-
is_default?: boolean | undefined;
|
|
64
|
-
return_address?: {
|
|
65
|
-
name: string;
|
|
66
|
-
phone: string;
|
|
67
|
-
postal_code: string;
|
|
68
|
-
country_code: string;
|
|
69
|
-
address_line1: string;
|
|
70
|
-
city_locality: string;
|
|
71
|
-
state_province: string;
|
|
72
|
-
company_name?: string | undefined;
|
|
73
|
-
address_line2?: string | undefined;
|
|
74
|
-
address_line3?: string | undefined;
|
|
75
|
-
address_residential_indicator?: "unknown" | "yes" | "no" | undefined;
|
|
76
|
-
} | undefined;
|
|
77
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const shipengineUpdateWarehouse: AppAction<typeof ShipengineUpdateWarehouseInput, typeof ShipengineUpdateWarehouseOutput, typeof shipengine.credential>;
|
|
78
50
|
//#endregion
|
|
79
51
|
export { shipengineUpdateWarehouse };
|
|
80
52
|
//# sourceMappingURL=update-warehouse.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-warehouse.d.mts","names":[],"sources":["../../src/actions/update-warehouse.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-warehouse.d.mts","names":[],"sources":["../../src/actions/update-warehouse.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+B9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-warehouse.mjs","names":[],"sources":["../../src/actions/update-warehouse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdateWarehouseInput = z.object({\n name: z.string().describe(\"Updated name of the warehouse\"),\n is_default: z.boolean().describe(\"Whether this warehouse should be set as default\").optional(),\n warehouse_id: z.string().describe(\"Unique identifier of the warehouse to update (e.g., 'se-28529731')\"),\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(\"Updated 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}).describe(\"Request payload to update an existing warehouse.\");\nexport const ShipengineUpdateWarehouseOutput = z.object({\n message: z.string().describe(\"Status message confirming the update.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the warehouse was successfully updated. API returns 204 No Content on success.\").nullable(),\n}).passthrough().describe(\"Response body after updating a warehouse.\");\n\nexport const shipengineUpdateWarehouse = action(\"SHIPENGINE_UPDATE_WAREHOUSE\", {\n slug: \"shipengine-update-warehouse\",\n name: \"Update Warehouse\",\n description: \"Tool to update an existing warehouse's details and address. Use when modifying warehouse information such as name, origin address, return address, or default status.\",\n input: ShipengineUpdateWarehouseInput,\n output: ShipengineUpdateWarehouseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-warehouse.mjs","names":[],"sources":["../../src/actions/update-warehouse.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineUpdateWarehouseInput = z.object({\n name: z.string().describe(\"Updated name of the warehouse\"),\n is_default: z.boolean().describe(\"Whether this warehouse should be set as default\").optional(),\n warehouse_id: z.string().describe(\"Unique identifier of the warehouse to update (e.g., 'se-28529731')\"),\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(\"Updated 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}).describe(\"Request payload to update an existing warehouse.\");\nexport const ShipengineUpdateWarehouseOutput = z.object({\n message: z.string().describe(\"Status message confirming the update.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the warehouse was successfully updated. API returns 204 No Content on success.\").nullable(),\n}).passthrough().describe(\"Response body after updating a warehouse.\");\n\nexport const shipengineUpdateWarehouse: AppAction<\n typeof ShipengineUpdateWarehouseInput,\n typeof ShipengineUpdateWarehouseOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_UPDATE_WAREHOUSE\", {\n slug: \"shipengine-update-warehouse\",\n name: \"Update Warehouse\",\n description: \"Tool to update an existing warehouse's details and address. Use when modifying warehouse information such as name, origin address, return address, or default status.\",\n input: ShipengineUpdateWarehouseInput,\n output: ShipengineUpdateWarehouseOutput,\n});\n"],"mappings":";;;AA0CA,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5C4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;E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e,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;GACrD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;GACvD,+BAA+B,EAAE,KAAK;IAAC;IAAO;IAAM;GAAS,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACrJ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,kDAcH;CACP,QAd6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdateWebhookInput = z.object({\n url: z.string().describe(\"The URL that the webhook sends the request to.\").optional(),\n name: z.string().describe(\"The name of the webhook.\").optional(),\n headers: z.array(z.object({\n key: z.string().describe(\"Header name to send with webhook request.\"),\n value: z.string().describe(\"Header value to send with webhook request.\"),\n}).passthrough().describe(\"Custom header to include in webhook requests.\")).describe(\"Array of custom webhook headers to send with webhook requests.\").optional(),\n store_id: z.number().int().describe(\"Store ID to associate with the webhook.\").optional(),\n webhook_id: z.string().describe(\"Webhook ID to update.\"),\n}).describe(\"Request parameters for updating a ShipEngine webhook.\");\nexport const ShipengineUpdateWebhookOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the webhook was successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response returned after updating a ShipEngine webhook.\\nReturns empty on success (204 No Content).\");\n\nexport const shipengineUpdateWebhook = action(\"SHIPENGINE_UPDATE_WEBHOOK\", {\n slug: \"shipengine-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update a ShipEngine webhook. Use when you need to modify webhook URL, name, headers, or store association. Returns success on 204 status code.\",\n input: ShipengineUpdateWebhookInput,\n output: ShipengineUpdateWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineUpdateWebhookInput = z.object({\n url: z.string().describe(\"The URL that the webhook sends the request to.\").optional(),\n name: z.string().describe(\"The name of the webhook.\").optional(),\n headers: z.array(z.object({\n key: z.string().describe(\"Header name to send with webhook request.\"),\n value: z.string().describe(\"Header value to send with webhook request.\"),\n}).passthrough().describe(\"Custom header to include in webhook requests.\")).describe(\"Array of custom webhook headers to send with webhook requests.\").optional(),\n store_id: z.number().int().describe(\"Store ID to associate with the webhook.\").optional(),\n webhook_id: z.string().describe(\"Webhook ID to update.\"),\n}).describe(\"Request parameters for updating a ShipEngine webhook.\");\nexport const ShipengineUpdateWebhookOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the webhook was successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response returned after updating a ShipEngine webhook.\\nReturns empty on success (204 No Content).\");\n\nexport const shipengineUpdateWebhook: AppAction<\n typeof ShipengineUpdateWebhookInput,\n typeof ShipengineUpdateWebhookOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_UPDATE_WEBHOOK\", {\n slug: \"shipengine-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update a ShipEngine webhook. Use when you need to modify webhook URL, name, headers, or store association. Returns success on 204 status code.\",\n input: ShipengineUpdateWebhookInput,\n output: ShipengineUpdateWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC9J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACzD,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oGAAoG;AAE9H,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shipengine } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-webhook.d.ts
|
|
@@ -14,17 +16,7 @@ declare const ShipengineUpdateWebhookInput: z.ZodObject<{
|
|
|
14
16
|
declare const ShipengineUpdateWebhookOutput: z.ZodObject<{
|
|
15
17
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const shipengineUpdateWebhook:
|
|
18
|
-
webhook_id: string;
|
|
19
|
-
url?: string | undefined;
|
|
20
|
-
name?: string | undefined;
|
|
21
|
-
headers?: {
|
|
22
|
-
[x: string]: unknown;
|
|
23
|
-
key: string;
|
|
24
|
-
value: string;
|
|
25
|
-
}[] | undefined;
|
|
26
|
-
store_id?: number | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const shipengineUpdateWebhook: AppAction<typeof ShipengineUpdateWebhookInput, typeof ShipengineUpdateWebhookOutput, typeof shipengine.credential>;
|
|
28
20
|
//#endregion
|
|
29
21
|
export { shipengineUpdateWebhook };
|
|
30
22
|
//# sourceMappingURL=update-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-webhook.d.cts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-webhook.d.cts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAU5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shipengine } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-webhook.d.ts
|
|
@@ -14,17 +16,7 @@ declare const ShipengineUpdateWebhookInput: z.ZodObject<{
|
|
|
14
16
|
declare const ShipengineUpdateWebhookOutput: z.ZodObject<{
|
|
15
17
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const shipengineUpdateWebhook:
|
|
18
|
-
webhook_id: string;
|
|
19
|
-
url?: string | undefined;
|
|
20
|
-
name?: string | undefined;
|
|
21
|
-
headers?: {
|
|
22
|
-
[x: string]: unknown;
|
|
23
|
-
key: string;
|
|
24
|
-
value: string;
|
|
25
|
-
}[] | undefined;
|
|
26
|
-
store_id?: number | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const shipengineUpdateWebhook: AppAction<typeof ShipengineUpdateWebhookInput, typeof ShipengineUpdateWebhookOutput, typeof shipengine.credential>;
|
|
28
20
|
//#endregion
|
|
29
21
|
export { shipengineUpdateWebhook };
|
|
30
22
|
//# sourceMappingURL=update-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-webhook.d.mts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-webhook.d.mts","names":[],"sources":["../../src/actions/update-webhook.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAU5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineUpdateWebhookInput = z.object({\n url: z.string().describe(\"The URL that the webhook sends the request to.\").optional(),\n name: z.string().describe(\"The name of the webhook.\").optional(),\n headers: z.array(z.object({\n key: z.string().describe(\"Header name to send with webhook request.\"),\n value: z.string().describe(\"Header value to send with webhook request.\"),\n}).passthrough().describe(\"Custom header to include in webhook requests.\")).describe(\"Array of custom webhook headers to send with webhook requests.\").optional(),\n store_id: z.number().int().describe(\"Store ID to associate with the webhook.\").optional(),\n webhook_id: z.string().describe(\"Webhook ID to update.\"),\n}).describe(\"Request parameters for updating a ShipEngine webhook.\");\nexport const ShipengineUpdateWebhookOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the webhook was successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response returned after updating a ShipEngine webhook.\\nReturns empty on success (204 No Content).\");\n\nexport const shipengineUpdateWebhook = action(\"SHIPENGINE_UPDATE_WEBHOOK\", {\n slug: \"shipengine-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update a ShipEngine webhook. Use when you need to modify webhook URL, name, headers, or store association. Returns success on 204 status code.\",\n input: ShipengineUpdateWebhookInput,\n output: ShipengineUpdateWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-webhook.mjs","names":[],"sources":["../../src/actions/update-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineUpdateWebhookInput = z.object({\n url: z.string().describe(\"The URL that the webhook sends the request to.\").optional(),\n name: z.string().describe(\"The name of the webhook.\").optional(),\n headers: z.array(z.object({\n key: z.string().describe(\"Header name to send with webhook request.\"),\n value: z.string().describe(\"Header value to send with webhook request.\"),\n}).passthrough().describe(\"Custom header to include in webhook requests.\")).describe(\"Array of custom webhook headers to send with webhook requests.\").optional(),\n store_id: z.number().int().describe(\"Store ID to associate with the webhook.\").optional(),\n webhook_id: z.string().describe(\"Webhook ID to update.\"),\n}).describe(\"Request parameters for updating a ShipEngine webhook.\");\nexport const ShipengineUpdateWebhookOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the webhook was successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response returned after updating a ShipEngine webhook.\\nReturns empty on success (204 No Content).\");\n\nexport const shipengineUpdateWebhook: AppAction<\n typeof ShipengineUpdateWebhookInput,\n typeof ShipengineUpdateWebhookOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_UPDATE_WEBHOOK\", {\n slug: \"shipengine-update-webhook\",\n name: \"Update Webhook\",\n description: \"Tool to update a ShipEngine webhook. Use when you need to modify webhook URL, name, headers, or store association. Returns success on 204 status code.\",\n input: ShipengineUpdateWebhookInput,\n output: ShipengineUpdateWebhookOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;GACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC9J,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACzD,CAAC,CAAC,CAAC,SAAS,uDAaH;CACP,QAb2C,EAAE,OAAO,EACpD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oGAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-address.cjs","names":["z","action"],"sources":["../../src/actions/validate-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineValidateAddressInput = z.object({\n addresses: z.array(z.object({\n name: z.string().describe(\"Name of the addressee\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"ISO 2-letter country code\"),\n address_line1: z.string().describe(\"First address line\"),\n address_line2: z.string().describe(\"Second address line\").optional(),\n address_line3: z.string().describe(\"Third 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(\"Residential indicator: yes, no, or unknown\").optional(),\n}).passthrough().describe(\"Address model for validation request.\")).describe(\"List of addresses to validate (max 100)\"),\n}).describe(\"Request model for validating one or more addresses (max 100).\");\nconst ShipengineValidateAddress_MessageSchema = z.object({\n code: z.string().describe(\"Message code\").nullable(),\n type: z.string().describe(\"Type of message: error, warning, or info\").nullable(),\n message: z.string().describe(\"Message description\").nullable(),\n detail_code: z.string().describe(\"Detailed message code\").nullable().optional(),\n}).passthrough().describe(\"A validation message returned for an address.\");\nconst ShipengineValidateAddress_ResponseAddressSchema = z.object({\n name: z.string().describe(\"Name of the addressee\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code (standardized)\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n country_code: z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n address_line1: z.string().describe(\"First address line (standardized)\").nullable().optional(),\n address_line2: z.string().describe(\"Second address line (standardized)\").nullable().optional(),\n address_line3: z.string().describe(\"Third address line (standardized)\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality (standardized)\").nullable().optional(),\n state_province: z.string().describe(\"State or province (standardized)\").nullable().optional(),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Residential indicator: yes, no, or unknown\").nullable().optional(),\n}).passthrough().describe(\"Standardized address returned in validation response.\");\nconst ShipengineValidateAddress_AddressValidationResultSchema = z.object({\n status: z.enum([\"verified\", \"unverified\", \"error\", \"warning\"]).describe(\"Validation status\").nullable(),\n messages: z.array(ShipengineValidateAddress_MessageSchema).describe(\"Validation messages\").nullable().optional(),\n matched_address: ShipengineValidateAddress_ResponseAddressSchema.nullable().optional(),\n original_address: ShipengineValidateAddress_ResponseAddressSchema.nullable(),\n}).passthrough().describe(\"Validation result for a single address.\");\nexport const ShipengineValidateAddressOutput = z.object({\n validation_results: z.array(ShipengineValidateAddress_AddressValidationResultSchema).describe(\"List of address validation results corresponding to input addresses\"),\n}).passthrough().describe(\"Response schema for address validation.\");\n\nexport const shipengineValidateAddress = action(\"SHIPENGINE_VALIDATE_ADDRESS\", {\n slug: \"shipengine-validate-address\",\n name: \"Validate Address\",\n description: \"Tool to validate and normalize shipping addresses. Use after collecting raw addresses to ensure they are correct and standardized before shipping.\",\n input: ShipengineValidateAddressInput,\n output: ShipengineValidateAddressOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"validate-address.cjs","names":["z","action"],"sources":["../../src/actions/validate-address.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineValidateAddressInput = z.object({\n addresses: z.array(z.object({\n name: z.string().describe(\"Name of the addressee\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"ISO 2-letter country code\"),\n address_line1: z.string().describe(\"First address line\"),\n address_line2: z.string().describe(\"Second address line\").optional(),\n address_line3: z.string().describe(\"Third 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(\"Residential indicator: yes, no, or unknown\").optional(),\n}).passthrough().describe(\"Address model for validation request.\")).describe(\"List of addresses to validate (max 100)\"),\n}).describe(\"Request model for validating one or more addresses (max 100).\");\nconst ShipengineValidateAddress_MessageSchema = z.object({\n code: z.string().describe(\"Message code\").nullable(),\n type: z.string().describe(\"Type of message: error, warning, or info\").nullable(),\n message: z.string().describe(\"Message description\").nullable(),\n detail_code: z.string().describe(\"Detailed message code\").nullable().optional(),\n}).passthrough().describe(\"A validation message returned for an address.\");\nconst ShipengineValidateAddress_ResponseAddressSchema = z.object({\n name: z.string().describe(\"Name of the addressee\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code (standardized)\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n country_code: z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n address_line1: z.string().describe(\"First address line (standardized)\").nullable().optional(),\n address_line2: z.string().describe(\"Second address line (standardized)\").nullable().optional(),\n address_line3: z.string().describe(\"Third address line (standardized)\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality (standardized)\").nullable().optional(),\n state_province: z.string().describe(\"State or province (standardized)\").nullable().optional(),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Residential indicator: yes, no, or unknown\").nullable().optional(),\n}).passthrough().describe(\"Standardized address returned in validation response.\");\nconst ShipengineValidateAddress_AddressValidationResultSchema = z.object({\n status: z.enum([\"verified\", \"unverified\", \"error\", \"warning\"]).describe(\"Validation status\").nullable(),\n messages: z.array(ShipengineValidateAddress_MessageSchema).describe(\"Validation messages\").nullable().optional(),\n matched_address: ShipengineValidateAddress_ResponseAddressSchema.nullable().optional(),\n original_address: ShipengineValidateAddress_ResponseAddressSchema.nullable(),\n}).passthrough().describe(\"Validation result for a single address.\");\nexport const ShipengineValidateAddressOutput = z.object({\n validation_results: z.array(ShipengineValidateAddress_AddressValidationResultSchema).describe(\"List of address validation results corresponding to input addresses\"),\n}).passthrough().describe(\"Response schema for address validation.\");\n\nexport const shipengineValidateAddress: AppAction<\n typeof ShipengineValidateAddressInput,\n typeof ShipengineValidateAddressOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_VALIDATE_ADDRESS\", {\n slug: \"shipengine-validate-address\",\n name: \"Validate Address\",\n description: \"Tool to validate and normalize shipping addresses. Use after collecting raw addresses to ensure they are correct and standardized before shipping.\",\n input: ShipengineValidateAddressInput,\n output: ShipengineValidateAddressOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC5B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACpD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC7D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACvD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACnE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAClE,eAAeA,IAAAA,EAAE,OAAO,CAA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AoBA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,qEAAqE,EACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shipengine } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/validate-address.d.ts
|
|
@@ -72,22 +74,7 @@ declare const ShipengineValidateAddressOutput: z.ZodObject<{
|
|
|
72
74
|
}, z.core.$loose>>;
|
|
73
75
|
}, z.core.$loose>>;
|
|
74
76
|
}, z.core.$loose>;
|
|
75
|
-
declare const shipengineValidateAddress:
|
|
76
|
-
addresses: {
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
postal_code: string;
|
|
79
|
-
country_code: string;
|
|
80
|
-
address_line1: string;
|
|
81
|
-
city_locality: string;
|
|
82
|
-
state_province: string;
|
|
83
|
-
name?: string | undefined;
|
|
84
|
-
phone?: string | undefined;
|
|
85
|
-
company_name?: string | undefined;
|
|
86
|
-
address_line2?: string | undefined;
|
|
87
|
-
address_line3?: string | undefined;
|
|
88
|
-
address_residential_indicator?: "unknown" | "yes" | "no" | undefined;
|
|
89
|
-
}[];
|
|
90
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
77
|
+
declare const shipengineValidateAddress: AppAction<typeof ShipengineValidateAddressInput, typeof ShipengineValidateAddressOutput, typeof shipengine.credential>;
|
|
91
78
|
//#endregion
|
|
92
79
|
export { shipengineValidateAddress };
|
|
93
80
|
//# sourceMappingURL=validate-address.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-address.d.cts","names":[],"sources":["../../src/actions/validate-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"validate-address.d.cts","names":[],"sources":["../../src/actions/validate-address.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAyC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shipengine } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/validate-address.d.ts
|
|
@@ -72,22 +74,7 @@ declare const ShipengineValidateAddressOutput: z.ZodObject<{
|
|
|
72
74
|
}, z.core.$loose>>;
|
|
73
75
|
}, z.core.$loose>>;
|
|
74
76
|
}, z.core.$loose>;
|
|
75
|
-
declare const shipengineValidateAddress:
|
|
76
|
-
addresses: {
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
postal_code: string;
|
|
79
|
-
country_code: string;
|
|
80
|
-
address_line1: string;
|
|
81
|
-
city_locality: string;
|
|
82
|
-
state_province: string;
|
|
83
|
-
name?: string | undefined;
|
|
84
|
-
phone?: string | undefined;
|
|
85
|
-
company_name?: string | undefined;
|
|
86
|
-
address_line2?: string | undefined;
|
|
87
|
-
address_line3?: string | undefined;
|
|
88
|
-
address_residential_indicator?: "unknown" | "yes" | "no" | undefined;
|
|
89
|
-
}[];
|
|
90
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
77
|
+
declare const shipengineValidateAddress: AppAction<typeof ShipengineValidateAddressInput, typeof ShipengineValidateAddressOutput, typeof shipengine.credential>;
|
|
91
78
|
//#endregion
|
|
92
79
|
export { shipengineValidateAddress };
|
|
93
80
|
//# sourceMappingURL=validate-address.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-address.d.mts","names":[],"sources":["../../src/actions/validate-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"validate-address.d.mts","names":[],"sources":["../../src/actions/validate-address.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAyC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-address.mjs","names":[],"sources":["../../src/actions/validate-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineValidateAddressInput = z.object({\n addresses: z.array(z.object({\n name: z.string().describe(\"Name of the addressee\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"ISO 2-letter country code\"),\n address_line1: z.string().describe(\"First address line\"),\n address_line2: z.string().describe(\"Second address line\").optional(),\n address_line3: z.string().describe(\"Third 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(\"Residential indicator: yes, no, or unknown\").optional(),\n}).passthrough().describe(\"Address model for validation request.\")).describe(\"List of addresses to validate (max 100)\"),\n}).describe(\"Request model for validating one or more addresses (max 100).\");\nconst ShipengineValidateAddress_MessageSchema = z.object({\n code: z.string().describe(\"Message code\").nullable(),\n type: z.string().describe(\"Type of message: error, warning, or info\").nullable(),\n message: z.string().describe(\"Message description\").nullable(),\n detail_code: z.string().describe(\"Detailed message code\").nullable().optional(),\n}).passthrough().describe(\"A validation message returned for an address.\");\nconst ShipengineValidateAddress_ResponseAddressSchema = z.object({\n name: z.string().describe(\"Name of the addressee\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code (standardized)\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n country_code: z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n address_line1: z.string().describe(\"First address line (standardized)\").nullable().optional(),\n address_line2: z.string().describe(\"Second address line (standardized)\").nullable().optional(),\n address_line3: z.string().describe(\"Third address line (standardized)\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality (standardized)\").nullable().optional(),\n state_province: z.string().describe(\"State or province (standardized)\").nullable().optional(),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Residential indicator: yes, no, or unknown\").nullable().optional(),\n}).passthrough().describe(\"Standardized address returned in validation response.\");\nconst ShipengineValidateAddress_AddressValidationResultSchema = z.object({\n status: z.enum([\"verified\", \"unverified\", \"error\", \"warning\"]).describe(\"Validation status\").nullable(),\n messages: z.array(ShipengineValidateAddress_MessageSchema).describe(\"Validation messages\").nullable().optional(),\n matched_address: ShipengineValidateAddress_ResponseAddressSchema.nullable().optional(),\n original_address: ShipengineValidateAddress_ResponseAddressSchema.nullable(),\n}).passthrough().describe(\"Validation result for a single address.\");\nexport const ShipengineValidateAddressOutput = z.object({\n validation_results: z.array(ShipengineValidateAddress_AddressValidationResultSchema).describe(\"List of address validation results corresponding to input addresses\"),\n}).passthrough().describe(\"Response schema for address validation.\");\n\nexport const shipengineValidateAddress = action(\"SHIPENGINE_VALIDATE_ADDRESS\", {\n slug: \"shipengine-validate-address\",\n name: \"Validate Address\",\n description: \"Tool to validate and normalize shipping addresses. Use after collecting raw addresses to ensure they are correct and standardized before shipping.\",\n input: ShipengineValidateAddressInput,\n output: ShipengineValidateAddressOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"validate-address.mjs","names":[],"sources":["../../src/actions/validate-address.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shipengine } from \"../app\";\n\nexport const ShipengineValidateAddressInput = z.object({\n addresses: z.array(z.object({\n name: z.string().describe(\"Name of the addressee\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\"),\n company_name: z.string().describe(\"Company name\").optional(),\n country_code: z.string().describe(\"ISO 2-letter country code\"),\n address_line1: z.string().describe(\"First address line\"),\n address_line2: z.string().describe(\"Second address line\").optional(),\n address_line3: z.string().describe(\"Third 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(\"Residential indicator: yes, no, or unknown\").optional(),\n}).passthrough().describe(\"Address model for validation request.\")).describe(\"List of addresses to validate (max 100)\"),\n}).describe(\"Request model for validating one or more addresses (max 100).\");\nconst ShipengineValidateAddress_MessageSchema = z.object({\n code: z.string().describe(\"Message code\").nullable(),\n type: z.string().describe(\"Type of message: error, warning, or info\").nullable(),\n message: z.string().describe(\"Message description\").nullable(),\n detail_code: z.string().describe(\"Detailed message code\").nullable().optional(),\n}).passthrough().describe(\"A validation message returned for an address.\");\nconst ShipengineValidateAddress_ResponseAddressSchema = z.object({\n name: z.string().describe(\"Name of the addressee\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code (standardized)\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n country_code: z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n address_line1: z.string().describe(\"First address line (standardized)\").nullable().optional(),\n address_line2: z.string().describe(\"Second address line (standardized)\").nullable().optional(),\n address_line3: z.string().describe(\"Third address line (standardized)\").nullable().optional(),\n city_locality: z.string().describe(\"City or locality (standardized)\").nullable().optional(),\n state_province: z.string().describe(\"State or province (standardized)\").nullable().optional(),\n address_residential_indicator: z.enum([\"yes\", \"no\", \"unknown\"]).describe(\"Residential indicator: yes, no, or unknown\").nullable().optional(),\n}).passthrough().describe(\"Standardized address returned in validation response.\");\nconst ShipengineValidateAddress_AddressValidationResultSchema = z.object({\n status: z.enum([\"verified\", \"unverified\", \"error\", \"warning\"]).describe(\"Validation status\").nullable(),\n messages: z.array(ShipengineValidateAddress_MessageSchema).describe(\"Validation messages\").nullable().optional(),\n matched_address: ShipengineValidateAddress_ResponseAddressSchema.nullable().optional(),\n original_address: ShipengineValidateAddress_ResponseAddressSchema.nullable(),\n}).passthrough().describe(\"Validation result for a single address.\");\nexport const ShipengineValidateAddressOutput = z.object({\n validation_results: z.array(ShipengineValidateAddress_AddressValidationResultSchema).describe(\"List of address validation results corresponding to input addresses\"),\n}).passthrough().describe(\"Response schema for address validation.\");\n\nexport const shipengineValidateAddress: AppAction<\n typeof ShipengineValidateAddressInput,\n typeof ShipengineValidateAddressOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_VALIDATE_ADDRESS\", {\n slug: \"shipengine-validate-address\",\n name: \"Validate Address\",\n description: \"Tool to validate and normalize shipping addresses. Use after collecting raw addresses to ensure they are correct and standardized before shipping.\",\n input: ShipengineValidateAddressInput,\n output: ShipengineValidateAddressOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,EACrD,WAAW,EAAE,MAAM,EAAE,OAAO;CAC5B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAA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AAS,CAAC,CAAC,SAAS;CAC/G,iBAAiB,gDAAgD,SAAS,CAAC,CAAC,SAAS;CACrF,kBAAkB,gDAAgD,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,oBAAoB,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,qEAAqE,EACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const shipengine = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "shipengine",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.shipengine = shipengine;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const shipengine = defineApp({\n slug: \"shipengine\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,cAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const shipengine: KeystrokeApp<\"shipengine\", typeof credential> = defineApp({\n slug: \"shipengine\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAsE;CACjF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const shipengine: KeystrokeApp<"shipengine", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { shipengine };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,sBAAsB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const shipengine: KeystrokeApp<"shipengine", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { shipengine };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,sBAAsB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const shipengine = defineApp({
|
|
4
4
|
slug: "shipengine",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { shipengine };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const shipengine = defineApp({\n slug: \"shipengine\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const shipengine: KeystrokeApp<\"shipengine\", typeof credential> = defineApp({\n slug: \"shipengine\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,aAA4D,UAAU;CACjF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { shipengine } from "./app.cjs";
|
|
1
2
|
import { shipengineAddTagToShipment } from "./actions/add-tag-to-shipment.cjs";
|
|
2
3
|
import { shipengineAddToBatch } from "./actions/add-to-batch.cjs";
|
|
3
4
|
import { shipengineCancelShipment } from "./actions/cancel-shipment.cjs";
|
|
@@ -64,6 +65,5 @@ import { shipengineUpdateShipmentsTags } from "./actions/update-shipments-tags.c
|
|
|
64
65
|
import { shipengineUpdateWarehouse } from "./actions/update-warehouse.cjs";
|
|
65
66
|
import { shipengineUpdateWebhook } from "./actions/update-webhook.cjs";
|
|
66
67
|
import { shipengineValidateAddress } from "./actions/validate-address.cjs";
|
|
67
|
-
import { shipengine } from "./app.cjs";
|
|
68
68
|
import { shipengineCatalog } from "./catalog.cjs";
|
|
69
69
|
export { shipengine, shipengineAddTagToShipment, shipengineAddToBatch, shipengineCancelShipment, shipengineCatalog, shipengineConnectLtlCarrier, shipengineConnectShipsurance, shipengineCreateAccountImage, shipengineCreatePackageType, shipengineCreateTag, shipengineCreateTag2, shipengineCreateWarehouse, shipengineCreateWebhook, shipengineDeleteAccountImageById, shipengineDeleteBatch, shipengineDeletePackage, shipengineDeleteWarehouse, shipengineDeleteWebhook, shipengineDisconnectCarrier, shipengineDisconnectShipsurance, shipengineDownloadFile, shipengineGetAccountImageById, shipengineGetBatchByExternalId, shipengineGetBatchById, shipengineGetBatchErrors, shipengineGetBulkRates, shipengineGetInsuranceBalance, shipengineGetLtlCarrierCredentialRequirements, shipengineGetLtlCarrierFeatures, shipengineGetLtlCarrierOptions, shipengineGetLtlCarrierPackages, shipengineGetLtlCarrierServices, shipengineGetPackageById, shipengineGetShipmentByExternalId, shipengineGetShipmentById, shipengineGetShipmentRates, shipengineGetTrackingInfo, shipengineGetWarehouseById, shipengineGetWebhookById, shipengineListAccountImages, shipengineListAccountSettings, shipengineListBatches2, shipengineListCarrierPackageTypes, shipengineListLabels2, shipengineListLtlCarriers, shipengineListManifests2, shipengineListPackages, shipengineListPickups, shipengineListShipments2, shipengineListTags2, shipengineListWarehouses, shipengineListWebhookEvents, shipengineListWebhooks, shipengineParseAddress, shipengineProcessBatchLabels, shipengineRemoveFromBatch, shipengineRemoveTagFromShipment, shipengineStartTracking, shipengineStopTracking, shipengineTrackLtlShipment, shipengineUpdateAccountImageById, shipengineUpdateLtlConnection, shipengineUpdatePackage, shipengineUpdateShipment, shipengineUpdateShipmentsTags, shipengineUpdateWarehouse, shipengineUpdateWebhook, shipengineValidateAddress };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { shipengine } from "./app.mjs";
|
|
1
2
|
import { shipengineAddTagToShipment } from "./actions/add-tag-to-shipment.mjs";
|
|
2
3
|
import { shipengineAddToBatch } from "./actions/add-to-batch.mjs";
|
|
3
4
|
import { shipengineCancelShipment } from "./actions/cancel-shipment.mjs";
|
|
@@ -64,6 +65,5 @@ import { shipengineUpdateShipmentsTags } from "./actions/update-shipments-tags.m
|
|
|
64
65
|
import { shipengineUpdateWarehouse } from "./actions/update-warehouse.mjs";
|
|
65
66
|
import { shipengineUpdateWebhook } from "./actions/update-webhook.mjs";
|
|
66
67
|
import { shipengineValidateAddress } from "./actions/validate-address.mjs";
|
|
67
|
-
import { shipengine } from "./app.mjs";
|
|
68
68
|
import { shipengineCatalog } from "./catalog.mjs";
|
|
69
69
|
export { shipengine, shipengineAddTagToShipment, shipengineAddToBatch, shipengineCancelShipment, shipengineCatalog, shipengineConnectLtlCarrier, shipengineConnectShipsurance, shipengineCreateAccountImage, shipengineCreatePackageType, shipengineCreateTag, shipengineCreateTag2, shipengineCreateWarehouse, shipengineCreateWebhook, shipengineDeleteAccountImageById, shipengineDeleteBatch, shipengineDeletePackage, shipengineDeleteWarehouse, shipengineDeleteWebhook, shipengineDisconnectCarrier, shipengineDisconnectShipsurance, shipengineDownloadFile, shipengineGetAccountImageById, shipengineGetBatchByExternalId, shipengineGetBatchById, shipengineGetBatchErrors, shipengineGetBulkRates, shipengineGetInsuranceBalance, shipengineGetLtlCarrierCredentialRequirements, shipengineGetLtlCarrierFeatures, shipengineGetLtlCarrierOptions, shipengineGetLtlCarrierPackages, shipengineGetLtlCarrierServices, shipengineGetPackageById, shipengineGetShipmentByExternalId, shipengineGetShipmentById, shipengineGetShipmentRates, shipengineGetTrackingInfo, shipengineGetWarehouseById, shipengineGetWebhookById, shipengineListAccountImages, shipengineListAccountSettings, shipengineListBatches2, shipengineListCarrierPackageTypes, shipengineListLabels2, shipengineListLtlCarriers, shipengineListManifests2, shipengineListPackages, shipengineListPickups, shipengineListShipments2, shipengineListTags2, shipengineListWarehouses, shipengineListWebhookEvents, shipengineListWebhooks, shipengineParseAddress, shipengineProcessBatchLabels, shipengineRemoveFromBatch, shipengineRemoveTagFromShipment, shipengineStartTracking, shipengineStopTracking, shipengineTrackLtlShipment, shipengineUpdateAccountImageById, shipengineUpdateLtlConnection, shipengineUpdatePackage, shipengineUpdateShipment, shipengineUpdateShipmentsTags, shipengineUpdateWarehouse, shipengineUpdateWebhook, shipengineValidateAddress };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/shipengine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|