@keystrokehq/shipengine 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-tag-to-shipment.cjs +1 -0
- package/dist/actions/add-tag-to-shipment.cjs.map +1 -1
- package/dist/actions/add-tag-to-shipment.d.cts +3 -16
- package/dist/actions/add-tag-to-shipment.d.cts.map +1 -1
- package/dist/actions/add-tag-to-shipment.d.mts +3 -16
- package/dist/actions/add-tag-to-shipment.d.mts.map +1 -1
- package/dist/actions/add-tag-to-shipment.mjs +1 -0
- package/dist/actions/add-tag-to-shipment.mjs.map +1 -1
- package/dist/actions/add-to-batch.cjs +1 -0
- package/dist/actions/add-to-batch.cjs.map +1 -1
- package/dist/actions/add-to-batch.d.cts +3 -17
- package/dist/actions/add-to-batch.d.cts.map +1 -1
- package/dist/actions/add-to-batch.d.mts +3 -17
- package/dist/actions/add-to-batch.d.mts.map +1 -1
- package/dist/actions/add-to-batch.mjs +1 -0
- package/dist/actions/add-to-batch.mjs.map +1 -1
- package/dist/actions/cancel-shipment.cjs +1 -0
- package/dist/actions/cancel-shipment.cjs.map +1 -1
- package/dist/actions/cancel-shipment.d.cts +3 -15
- package/dist/actions/cancel-shipment.d.cts.map +1 -1
- package/dist/actions/cancel-shipment.d.mts +3 -15
- package/dist/actions/cancel-shipment.d.mts.map +1 -1
- package/dist/actions/cancel-shipment.mjs +1 -0
- package/dist/actions/cancel-shipment.mjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.cjs +1 -0
- package/dist/actions/connect-ltl-carrier.cjs.map +1 -1
- package/dist/actions/connect-ltl-carrier.d.cts +3 -16
- package/dist/actions/connect-ltl-carrier.d.cts.map +1 -1
- package/dist/actions/connect-ltl-carrier.d.mts +3 -16
- package/dist/actions/connect-ltl-carrier.d.mts.map +1 -1
- package/dist/actions/connect-ltl-carrier.mjs +1 -0
- package/dist/actions/connect-ltl-carrier.mjs.map +1 -1
- package/dist/actions/connect-shipsurance.cjs +1 -0
- package/dist/actions/connect-shipsurance.cjs.map +1 -1
- package/dist/actions/connect-shipsurance.d.cts +3 -16
- package/dist/actions/connect-shipsurance.d.cts.map +1 -1
- package/dist/actions/connect-shipsurance.d.mts +3 -16
- package/dist/actions/connect-shipsurance.d.mts.map +1 -1
- package/dist/actions/connect-shipsurance.mjs +1 -0
- package/dist/actions/connect-shipsurance.mjs.map +1 -1
- package/dist/actions/create-account-image.cjs +1 -0
- package/dist/actions/create-account-image.cjs.map +1 -1
- package/dist/actions/create-account-image.d.cts +3 -17
- package/dist/actions/create-account-image.d.cts.map +1 -1
- package/dist/actions/create-account-image.d.mts +3 -17
- package/dist/actions/create-account-image.d.mts.map +1 -1
- package/dist/actions/create-account-image.mjs +1 -0
- package/dist/actions/create-account-image.mjs.map +1 -1
- package/dist/actions/create-package-type.cjs +1 -0
- package/dist/actions/create-package-type.cjs.map +1 -1
- package/dist/actions/create-package-type.d.cts +3 -23
- package/dist/actions/create-package-type.d.cts.map +1 -1
- package/dist/actions/create-package-type.d.mts +3 -23
- package/dist/actions/create-package-type.d.mts.map +1 -1
- package/dist/actions/create-package-type.mjs +1 -0
- package/dist/actions/create-package-type.mjs.map +1 -1
- package/dist/actions/create-tag.cjs +1 -0
- package/dist/actions/create-tag.cjs.map +1 -1
- package/dist/actions/create-tag.d.cts +3 -15
- package/dist/actions/create-tag.d.cts.map +1 -1
- package/dist/actions/create-tag.d.mts +3 -15
- package/dist/actions/create-tag.d.mts.map +1 -1
- package/dist/actions/create-tag.mjs +1 -0
- package/dist/actions/create-tag.mjs.map +1 -1
- package/dist/actions/create-tag2.cjs +1 -0
- package/dist/actions/create-tag2.cjs.map +1 -1
- package/dist/actions/create-tag2.d.cts +3 -15
- package/dist/actions/create-tag2.d.cts.map +1 -1
- package/dist/actions/create-tag2.d.mts +3 -15
- package/dist/actions/create-tag2.d.mts.map +1 -1
- package/dist/actions/create-tag2.mjs +1 -0
- package/dist/actions/create-tag2.mjs.map +1 -1
- package/dist/actions/create-warehouse.cjs +1 -0
- package/dist/actions/create-warehouse.cjs.map +1 -1
- package/dist/actions/create-warehouse.d.cts +3 -42
- package/dist/actions/create-warehouse.d.cts.map +1 -1
- package/dist/actions/create-warehouse.d.mts +3 -42
- package/dist/actions/create-warehouse.d.mts.map +1 -1
- package/dist/actions/create-warehouse.mjs +1 -0
- package/dist/actions/create-warehouse.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -16
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -16
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-account-image-by-id.cjs +1 -0
- package/dist/actions/delete-account-image-by-id.cjs.map +1 -1
- package/dist/actions/delete-account-image-by-id.d.cts +3 -15
- package/dist/actions/delete-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/delete-account-image-by-id.d.mts +3 -15
- package/dist/actions/delete-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/delete-account-image-by-id.mjs +1 -0
- package/dist/actions/delete-account-image-by-id.mjs.map +1 -1
- package/dist/actions/delete-batch.cjs +1 -0
- package/dist/actions/delete-batch.cjs.map +1 -1
- package/dist/actions/delete-batch.d.cts +3 -15
- package/dist/actions/delete-batch.d.cts.map +1 -1
- package/dist/actions/delete-batch.d.mts +3 -15
- package/dist/actions/delete-batch.d.mts.map +1 -1
- package/dist/actions/delete-batch.mjs +1 -0
- package/dist/actions/delete-batch.mjs.map +1 -1
- package/dist/actions/delete-package.cjs +1 -0
- package/dist/actions/delete-package.cjs.map +1 -1
- package/dist/actions/delete-package.d.cts +3 -15
- package/dist/actions/delete-package.d.cts.map +1 -1
- package/dist/actions/delete-package.d.mts +3 -15
- package/dist/actions/delete-package.d.mts.map +1 -1
- package/dist/actions/delete-package.mjs +1 -0
- package/dist/actions/delete-package.mjs.map +1 -1
- package/dist/actions/delete-warehouse.cjs +1 -0
- package/dist/actions/delete-warehouse.cjs.map +1 -1
- package/dist/actions/delete-warehouse.d.cts +3 -15
- package/dist/actions/delete-warehouse.d.cts.map +1 -1
- package/dist/actions/delete-warehouse.d.mts +3 -15
- package/dist/actions/delete-warehouse.d.mts.map +1 -1
- package/dist/actions/delete-warehouse.mjs +1 -0
- package/dist/actions/delete-warehouse.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -15
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -15
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/disconnect-carrier.cjs +1 -0
- package/dist/actions/disconnect-carrier.cjs.map +1 -1
- package/dist/actions/disconnect-carrier.d.cts +3 -16
- package/dist/actions/disconnect-carrier.d.cts.map +1 -1
- package/dist/actions/disconnect-carrier.d.mts +3 -16
- package/dist/actions/disconnect-carrier.d.mts.map +1 -1
- package/dist/actions/disconnect-carrier.mjs +1 -0
- package/dist/actions/disconnect-carrier.mjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.cjs +1 -0
- package/dist/actions/disconnect-shipsurance.cjs.map +1 -1
- package/dist/actions/disconnect-shipsurance.d.cts +3 -13
- package/dist/actions/disconnect-shipsurance.d.cts.map +1 -1
- package/dist/actions/disconnect-shipsurance.d.mts +3 -13
- package/dist/actions/disconnect-shipsurance.d.mts.map +1 -1
- package/dist/actions/disconnect-shipsurance.mjs +1 -0
- package/dist/actions/disconnect-shipsurance.mjs.map +1 -1
- package/dist/actions/download-file.cjs +1 -0
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +3 -19
- package/dist/actions/download-file.d.cts.map +1 -1
- package/dist/actions/download-file.d.mts +3 -19
- package/dist/actions/download-file.d.mts.map +1 -1
- package/dist/actions/download-file.mjs +1 -0
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/get-account-image-by-id.cjs +1 -0
- package/dist/actions/get-account-image-by-id.cjs.map +1 -1
- package/dist/actions/get-account-image-by-id.d.cts +3 -15
- package/dist/actions/get-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/get-account-image-by-id.d.mts +3 -15
- package/dist/actions/get-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/get-account-image-by-id.mjs +1 -0
- package/dist/actions/get-account-image-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-external-id.cjs +1 -0
- package/dist/actions/get-batch-by-external-id.cjs.map +1 -1
- package/dist/actions/get-batch-by-external-id.d.cts +3 -15
- package/dist/actions/get-batch-by-external-id.d.cts.map +1 -1
- package/dist/actions/get-batch-by-external-id.d.mts +3 -15
- package/dist/actions/get-batch-by-external-id.d.mts.map +1 -1
- package/dist/actions/get-batch-by-external-id.mjs +1 -0
- package/dist/actions/get-batch-by-external-id.mjs.map +1 -1
- package/dist/actions/get-batch-by-id.cjs +1 -0
- package/dist/actions/get-batch-by-id.cjs.map +1 -1
- package/dist/actions/get-batch-by-id.d.cts +3 -15
- package/dist/actions/get-batch-by-id.d.cts.map +1 -1
- package/dist/actions/get-batch-by-id.d.mts +3 -15
- package/dist/actions/get-batch-by-id.d.mts.map +1 -1
- package/dist/actions/get-batch-by-id.mjs +1 -0
- package/dist/actions/get-batch-by-id.mjs.map +1 -1
- package/dist/actions/get-batch-errors.cjs +1 -0
- package/dist/actions/get-batch-errors.cjs.map +1 -1
- package/dist/actions/get-batch-errors.d.cts +3 -17
- package/dist/actions/get-batch-errors.d.cts.map +1 -1
- package/dist/actions/get-batch-errors.d.mts +3 -17
- package/dist/actions/get-batch-errors.d.mts.map +1 -1
- package/dist/actions/get-batch-errors.mjs +1 -0
- package/dist/actions/get-batch-errors.mjs.map +1 -1
- package/dist/actions/get-bulk-rates.cjs +1 -0
- package/dist/actions/get-bulk-rates.cjs.map +1 -1
- package/dist/actions/get-bulk-rates.d.cts +3 -88
- package/dist/actions/get-bulk-rates.d.cts.map +1 -1
- package/dist/actions/get-bulk-rates.d.mts +3 -88
- package/dist/actions/get-bulk-rates.d.mts.map +1 -1
- package/dist/actions/get-bulk-rates.mjs +1 -0
- package/dist/actions/get-bulk-rates.mjs.map +1 -1
- package/dist/actions/get-insurance-balance.cjs +1 -0
- package/dist/actions/get-insurance-balance.cjs.map +1 -1
- package/dist/actions/get-insurance-balance.d.cts +3 -13
- package/dist/actions/get-insurance-balance.d.cts.map +1 -1
- package/dist/actions/get-insurance-balance.d.mts +3 -13
- package/dist/actions/get-insurance-balance.d.mts.map +1 -1
- package/dist/actions/get-insurance-balance.mjs +1 -0
- package/dist/actions/get-insurance-balance.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.cjs +1 -0
- package/dist/actions/get-ltl-carrier-credential-requirements.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.d.cts +3 -15
- package/dist/actions/get-ltl-carrier-credential-requirements.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.d.mts +3 -15
- package/dist/actions/get-ltl-carrier-credential-requirements.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-credential-requirements.mjs +1 -0
- package/dist/actions/get-ltl-carrier-credential-requirements.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.cjs +1 -0
- package/dist/actions/get-ltl-carrier-features.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-features.d.cts +3 -15
- package/dist/actions/get-ltl-carrier-features.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-features.d.mts +3 -15
- package/dist/actions/get-ltl-carrier-features.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-features.mjs +1 -0
- package/dist/actions/get-ltl-carrier-features.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.cjs +1 -0
- package/dist/actions/get-ltl-carrier-options.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-options.d.cts +3 -15
- package/dist/actions/get-ltl-carrier-options.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-options.d.mts +3 -15
- package/dist/actions/get-ltl-carrier-options.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-options.mjs +1 -0
- package/dist/actions/get-ltl-carrier-options.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.cjs +1 -0
- package/dist/actions/get-ltl-carrier-packages.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.d.cts +3 -15
- package/dist/actions/get-ltl-carrier-packages.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.d.mts +3 -15
- package/dist/actions/get-ltl-carrier-packages.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-packages.mjs +1 -0
- package/dist/actions/get-ltl-carrier-packages.mjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.cjs +1 -0
- package/dist/actions/get-ltl-carrier-services.cjs.map +1 -1
- package/dist/actions/get-ltl-carrier-services.d.cts +3 -15
- package/dist/actions/get-ltl-carrier-services.d.cts.map +1 -1
- package/dist/actions/get-ltl-carrier-services.d.mts +3 -15
- package/dist/actions/get-ltl-carrier-services.d.mts.map +1 -1
- package/dist/actions/get-ltl-carrier-services.mjs +1 -0
- package/dist/actions/get-ltl-carrier-services.mjs.map +1 -1
- package/dist/actions/get-package-by-id.cjs +1 -0
- package/dist/actions/get-package-by-id.cjs.map +1 -1
- package/dist/actions/get-package-by-id.d.cts +3 -15
- package/dist/actions/get-package-by-id.d.cts.map +1 -1
- package/dist/actions/get-package-by-id.d.mts +3 -15
- package/dist/actions/get-package-by-id.d.mts.map +1 -1
- package/dist/actions/get-package-by-id.mjs +1 -0
- package/dist/actions/get-package-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-external-id.cjs +1 -0
- package/dist/actions/get-shipment-by-external-id.cjs.map +1 -1
- package/dist/actions/get-shipment-by-external-id.d.cts +3 -15
- package/dist/actions/get-shipment-by-external-id.d.cts.map +1 -1
- package/dist/actions/get-shipment-by-external-id.d.mts +3 -15
- package/dist/actions/get-shipment-by-external-id.d.mts.map +1 -1
- package/dist/actions/get-shipment-by-external-id.mjs +1 -0
- package/dist/actions/get-shipment-by-external-id.mjs.map +1 -1
- package/dist/actions/get-shipment-by-id.cjs +1 -0
- package/dist/actions/get-shipment-by-id.cjs.map +1 -1
- package/dist/actions/get-shipment-by-id.d.cts +3 -15
- package/dist/actions/get-shipment-by-id.d.cts.map +1 -1
- package/dist/actions/get-shipment-by-id.d.mts +3 -15
- package/dist/actions/get-shipment-by-id.d.mts.map +1 -1
- package/dist/actions/get-shipment-by-id.mjs +1 -0
- package/dist/actions/get-shipment-by-id.mjs.map +1 -1
- package/dist/actions/get-shipment-rates.cjs +1 -0
- package/dist/actions/get-shipment-rates.cjs.map +1 -1
- package/dist/actions/get-shipment-rates.d.cts +3 -16
- package/dist/actions/get-shipment-rates.d.cts.map +1 -1
- package/dist/actions/get-shipment-rates.d.mts +3 -16
- package/dist/actions/get-shipment-rates.d.mts.map +1 -1
- package/dist/actions/get-shipment-rates.mjs +1 -0
- package/dist/actions/get-shipment-rates.mjs.map +1 -1
- package/dist/actions/get-tracking-info.cjs +1 -0
- package/dist/actions/get-tracking-info.cjs.map +1 -1
- package/dist/actions/get-tracking-info.d.cts +3 -16
- package/dist/actions/get-tracking-info.d.cts.map +1 -1
- package/dist/actions/get-tracking-info.d.mts +3 -16
- package/dist/actions/get-tracking-info.d.mts.map +1 -1
- package/dist/actions/get-tracking-info.mjs +1 -0
- package/dist/actions/get-tracking-info.mjs.map +1 -1
- package/dist/actions/get-warehouse-by-id.cjs +1 -0
- package/dist/actions/get-warehouse-by-id.cjs.map +1 -1
- package/dist/actions/get-warehouse-by-id.d.cts +3 -15
- package/dist/actions/get-warehouse-by-id.d.cts.map +1 -1
- package/dist/actions/get-warehouse-by-id.d.mts +3 -15
- package/dist/actions/get-warehouse-by-id.d.mts.map +1 -1
- package/dist/actions/get-warehouse-by-id.mjs +1 -0
- package/dist/actions/get-warehouse-by-id.mjs.map +1 -1
- package/dist/actions/get-webhook-by-id.cjs +1 -0
- package/dist/actions/get-webhook-by-id.cjs.map +1 -1
- package/dist/actions/get-webhook-by-id.d.cts +3 -15
- package/dist/actions/get-webhook-by-id.d.cts.map +1 -1
- package/dist/actions/get-webhook-by-id.d.mts +3 -15
- package/dist/actions/get-webhook-by-id.d.mts.map +1 -1
- package/dist/actions/get-webhook-by-id.mjs +1 -0
- package/dist/actions/get-webhook-by-id.mjs.map +1 -1
- package/dist/actions/list-account-images.cjs +1 -0
- package/dist/actions/list-account-images.cjs.map +1 -1
- package/dist/actions/list-account-images.d.cts +3 -13
- package/dist/actions/list-account-images.d.cts.map +1 -1
- package/dist/actions/list-account-images.d.mts +3 -13
- package/dist/actions/list-account-images.d.mts.map +1 -1
- package/dist/actions/list-account-images.mjs +1 -0
- package/dist/actions/list-account-images.mjs.map +1 -1
- package/dist/actions/list-account-settings.cjs +1 -0
- package/dist/actions/list-account-settings.cjs.map +1 -1
- package/dist/actions/list-account-settings.d.cts +3 -13
- package/dist/actions/list-account-settings.d.cts.map +1 -1
- package/dist/actions/list-account-settings.d.mts +3 -13
- package/dist/actions/list-account-settings.d.mts.map +1 -1
- package/dist/actions/list-account-settings.mjs +1 -0
- package/dist/actions/list-account-settings.mjs.map +1 -1
- package/dist/actions/list-batches2.cjs +1 -0
- package/dist/actions/list-batches2.cjs.map +1 -1
- package/dist/actions/list-batches2.d.cts +3 -24
- package/dist/actions/list-batches2.d.cts.map +1 -1
- package/dist/actions/list-batches2.d.mts +3 -24
- package/dist/actions/list-batches2.d.mts.map +1 -1
- package/dist/actions/list-batches2.mjs +1 -0
- package/dist/actions/list-batches2.mjs.map +1 -1
- package/dist/actions/list-carrier-package-types.cjs +1 -0
- package/dist/actions/list-carrier-package-types.cjs.map +1 -1
- package/dist/actions/list-carrier-package-types.d.cts +3 -15
- package/dist/actions/list-carrier-package-types.d.cts.map +1 -1
- package/dist/actions/list-carrier-package-types.d.mts +3 -15
- package/dist/actions/list-carrier-package-types.d.mts.map +1 -1
- package/dist/actions/list-carrier-package-types.mjs +1 -0
- package/dist/actions/list-carrier-package-types.mjs.map +1 -1
- package/dist/actions/list-labels2.cjs +1 -0
- package/dist/actions/list-labels2.cjs.map +1 -1
- package/dist/actions/list-labels2.d.cts +3 -28
- package/dist/actions/list-labels2.d.cts.map +1 -1
- package/dist/actions/list-labels2.d.mts +3 -28
- package/dist/actions/list-labels2.d.mts.map +1 -1
- package/dist/actions/list-labels2.mjs +1 -0
- package/dist/actions/list-labels2.mjs.map +1 -1
- package/dist/actions/list-ltl-carriers.cjs +1 -0
- package/dist/actions/list-ltl-carriers.cjs.map +1 -1
- package/dist/actions/list-ltl-carriers.d.cts +3 -13
- package/dist/actions/list-ltl-carriers.d.cts.map +1 -1
- package/dist/actions/list-ltl-carriers.d.mts +3 -13
- package/dist/actions/list-ltl-carriers.d.mts.map +1 -1
- package/dist/actions/list-ltl-carriers.mjs +1 -0
- package/dist/actions/list-ltl-carriers.mjs.map +1 -1
- package/dist/actions/list-manifests2.cjs +1 -0
- package/dist/actions/list-manifests2.cjs.map +1 -1
- package/dist/actions/list-manifests2.d.cts +3 -23
- package/dist/actions/list-manifests2.d.cts.map +1 -1
- package/dist/actions/list-manifests2.d.mts +3 -23
- package/dist/actions/list-manifests2.d.mts.map +1 -1
- package/dist/actions/list-manifests2.mjs +1 -0
- package/dist/actions/list-manifests2.mjs.map +1 -1
- package/dist/actions/list-packages.cjs +1 -0
- package/dist/actions/list-packages.cjs.map +1 -1
- package/dist/actions/list-packages.d.cts +3 -16
- package/dist/actions/list-packages.d.cts.map +1 -1
- package/dist/actions/list-packages.d.mts +3 -16
- package/dist/actions/list-packages.d.mts.map +1 -1
- package/dist/actions/list-packages.mjs +1 -0
- package/dist/actions/list-packages.mjs.map +1 -1
- package/dist/actions/list-pickups.cjs +1 -0
- package/dist/actions/list-pickups.cjs.map +1 -1
- package/dist/actions/list-pickups.d.cts +3 -20
- package/dist/actions/list-pickups.d.cts.map +1 -1
- package/dist/actions/list-pickups.d.mts +3 -20
- package/dist/actions/list-pickups.d.mts.map +1 -1
- package/dist/actions/list-pickups.mjs +1 -0
- package/dist/actions/list-pickups.mjs.map +1 -1
- package/dist/actions/list-shipments2.cjs +1 -0
- package/dist/actions/list-shipments2.cjs.map +1 -1
- package/dist/actions/list-shipments2.d.cts +3 -26
- package/dist/actions/list-shipments2.d.cts.map +1 -1
- package/dist/actions/list-shipments2.d.mts +3 -26
- package/dist/actions/list-shipments2.d.mts.map +1 -1
- package/dist/actions/list-shipments2.mjs +1 -0
- package/dist/actions/list-shipments2.mjs.map +1 -1
- package/dist/actions/list-tags2.cjs +1 -0
- package/dist/actions/list-tags2.cjs.map +1 -1
- package/dist/actions/list-tags2.d.cts +3 -13
- package/dist/actions/list-tags2.d.cts.map +1 -1
- package/dist/actions/list-tags2.d.mts +3 -13
- package/dist/actions/list-tags2.d.mts.map +1 -1
- package/dist/actions/list-tags2.mjs +1 -0
- package/dist/actions/list-tags2.mjs.map +1 -1
- package/dist/actions/list-warehouses.cjs +1 -0
- package/dist/actions/list-warehouses.cjs.map +1 -1
- package/dist/actions/list-warehouses.d.cts +3 -16
- package/dist/actions/list-warehouses.d.cts.map +1 -1
- package/dist/actions/list-warehouses.d.mts +3 -16
- package/dist/actions/list-warehouses.d.mts.map +1 -1
- package/dist/actions/list-warehouses.mjs +1 -0
- package/dist/actions/list-warehouses.mjs.map +1 -1
- package/dist/actions/list-webhook-events.cjs +1 -0
- package/dist/actions/list-webhook-events.cjs.map +1 -1
- package/dist/actions/list-webhook-events.d.cts +3 -13
- package/dist/actions/list-webhook-events.d.cts.map +1 -1
- package/dist/actions/list-webhook-events.d.mts +3 -13
- package/dist/actions/list-webhook-events.d.mts.map +1 -1
- package/dist/actions/list-webhook-events.mjs +1 -0
- package/dist/actions/list-webhook-events.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -13
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -13
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/parse-address.cjs +1 -0
- package/dist/actions/parse-address.cjs.map +1 -1
- package/dist/actions/parse-address.d.cts +3 -29
- package/dist/actions/parse-address.d.cts.map +1 -1
- package/dist/actions/parse-address.d.mts +3 -29
- package/dist/actions/parse-address.d.mts.map +1 -1
- package/dist/actions/parse-address.mjs +1 -0
- package/dist/actions/parse-address.mjs.map +1 -1
- package/dist/actions/process-batch-labels.cjs +1 -0
- package/dist/actions/process-batch-labels.cjs.map +1 -1
- package/dist/actions/process-batch-labels.d.cts +4 -20
- package/dist/actions/process-batch-labels.d.cts.map +1 -1
- package/dist/actions/process-batch-labels.d.mts +4 -20
- package/dist/actions/process-batch-labels.d.mts.map +1 -1
- package/dist/actions/process-batch-labels.mjs +1 -0
- package/dist/actions/process-batch-labels.mjs.map +1 -1
- package/dist/actions/remove-from-batch.cjs +1 -0
- package/dist/actions/remove-from-batch.cjs.map +1 -1
- package/dist/actions/remove-from-batch.d.cts +3 -17
- package/dist/actions/remove-from-batch.d.cts.map +1 -1
- package/dist/actions/remove-from-batch.d.mts +3 -17
- package/dist/actions/remove-from-batch.d.mts.map +1 -1
- package/dist/actions/remove-from-batch.mjs +1 -0
- package/dist/actions/remove-from-batch.mjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.cjs +1 -0
- package/dist/actions/remove-tag-from-shipment.cjs.map +1 -1
- package/dist/actions/remove-tag-from-shipment.d.cts +3 -16
- package/dist/actions/remove-tag-from-shipment.d.cts.map +1 -1
- package/dist/actions/remove-tag-from-shipment.d.mts +3 -16
- package/dist/actions/remove-tag-from-shipment.d.mts.map +1 -1
- package/dist/actions/remove-tag-from-shipment.mjs +1 -0
- package/dist/actions/remove-tag-from-shipment.mjs.map +1 -1
- package/dist/actions/start-tracking.cjs +1 -0
- package/dist/actions/start-tracking.cjs.map +1 -1
- package/dist/actions/start-tracking.d.cts +3 -17
- package/dist/actions/start-tracking.d.cts.map +1 -1
- package/dist/actions/start-tracking.d.mts +3 -17
- package/dist/actions/start-tracking.d.mts.map +1 -1
- package/dist/actions/start-tracking.mjs +1 -0
- package/dist/actions/start-tracking.mjs.map +1 -1
- package/dist/actions/stop-tracking.cjs +1 -0
- package/dist/actions/stop-tracking.cjs.map +1 -1
- package/dist/actions/stop-tracking.d.cts +3 -16
- package/dist/actions/stop-tracking.d.cts.map +1 -1
- package/dist/actions/stop-tracking.d.mts +3 -16
- package/dist/actions/stop-tracking.d.mts.map +1 -1
- package/dist/actions/stop-tracking.mjs +1 -0
- package/dist/actions/stop-tracking.mjs.map +1 -1
- package/dist/actions/track-ltl-shipment.cjs +1 -0
- package/dist/actions/track-ltl-shipment.cjs.map +1 -1
- package/dist/actions/track-ltl-shipment.d.cts +3 -16
- package/dist/actions/track-ltl-shipment.d.cts.map +1 -1
- package/dist/actions/track-ltl-shipment.d.mts +3 -16
- package/dist/actions/track-ltl-shipment.d.mts.map +1 -1
- package/dist/actions/track-ltl-shipment.mjs +1 -0
- package/dist/actions/track-ltl-shipment.mjs.map +1 -1
- package/dist/actions/update-account-image-by-id.cjs +1 -0
- package/dist/actions/update-account-image-by-id.cjs.map +1 -1
- package/dist/actions/update-account-image-by-id.d.cts +3 -18
- package/dist/actions/update-account-image-by-id.d.cts.map +1 -1
- package/dist/actions/update-account-image-by-id.d.mts +3 -18
- package/dist/actions/update-account-image-by-id.d.mts.map +1 -1
- package/dist/actions/update-account-image-by-id.mjs +1 -0
- package/dist/actions/update-account-image-by-id.mjs.map +1 -1
- package/dist/actions/update-ltl-connection.cjs +1 -0
- package/dist/actions/update-ltl-connection.cjs.map +1 -1
- package/dist/actions/update-ltl-connection.d.cts +3 -17
- package/dist/actions/update-ltl-connection.d.cts.map +1 -1
- package/dist/actions/update-ltl-connection.d.mts +3 -17
- package/dist/actions/update-ltl-connection.d.mts.map +1 -1
- package/dist/actions/update-ltl-connection.mjs +1 -0
- package/dist/actions/update-ltl-connection.mjs.map +1 -1
- package/dist/actions/update-package.cjs +1 -0
- package/dist/actions/update-package.cjs.map +1 -1
- package/dist/actions/update-package.d.cts +3 -24
- package/dist/actions/update-package.d.cts.map +1 -1
- package/dist/actions/update-package.d.mts +3 -24
- package/dist/actions/update-package.d.mts.map +1 -1
- package/dist/actions/update-package.mjs +1 -0
- package/dist/actions/update-package.mjs.map +1 -1
- package/dist/actions/update-shipment.cjs +1 -0
- package/dist/actions/update-shipment.cjs.map +1 -1
- package/dist/actions/update-shipment.d.cts +3 -124
- package/dist/actions/update-shipment.d.cts.map +1 -1
- package/dist/actions/update-shipment.d.mts +3 -124
- package/dist/actions/update-shipment.d.mts.map +1 -1
- package/dist/actions/update-shipment.mjs +1 -0
- package/dist/actions/update-shipment.mjs.map +1 -1
- package/dist/actions/update-shipments-tags.cjs +1 -0
- package/dist/actions/update-shipments-tags.cjs.map +1 -1
- package/dist/actions/update-shipments-tags.d.cts +3 -19
- package/dist/actions/update-shipments-tags.d.cts.map +1 -1
- package/dist/actions/update-shipments-tags.d.mts +3 -19
- package/dist/actions/update-shipments-tags.d.mts.map +1 -1
- package/dist/actions/update-shipments-tags.mjs +1 -0
- package/dist/actions/update-shipments-tags.mjs.map +1 -1
- package/dist/actions/update-warehouse.cjs +1 -0
- package/dist/actions/update-warehouse.cjs.map +1 -1
- package/dist/actions/update-warehouse.d.cts +3 -43
- package/dist/actions/update-warehouse.d.cts.map +1 -1
- package/dist/actions/update-warehouse.d.mts +3 -43
- package/dist/actions/update-warehouse.d.mts.map +1 -1
- package/dist/actions/update-warehouse.mjs +1 -0
- package/dist/actions/update-warehouse.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -0
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -23
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -23
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +1 -0
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/actions/validate-address.cjs +1 -0
- package/dist/actions/validate-address.cjs.map +1 -1
- package/dist/actions/validate-address.d.cts +3 -28
- package/dist/actions/validate-address.d.cts.map +1 -1
- package/dist/actions/validate-address.d.mts +3 -28
- package/dist/actions/validate-address.d.mts.map +1 -1
- package/dist/actions/validate-address.mjs +1 -0
- package/dist/actions/validate-address.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,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/create-account-image.d.ts
|
|
@@ -18,23 +20,7 @@ declare const ShipengineCreateAccountImageOutput: z.ZodObject<{
|
|
|
18
20
|
label_image_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
image_content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const shipengineCreateAccountImage:
|
|
22
|
-
name: string;
|
|
23
|
-
image_data: string;
|
|
24
|
-
image_content_type: "image/png" | "image/jpeg";
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const shipengineCreateAccountImage: AppAction<typeof ShipengineCreateAccountImageInput, typeof ShipengineCreateAccountImageOutput, typeof shipengine.credential>;
|
|
38
24
|
//#endregion
|
|
39
25
|
export { shipengineCreateAccountImage };
|
|
40
26
|
//# sourceMappingURL=create-account-image.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account-image.d.cts","names":[],"sources":["../../src/actions/create-account-image.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-account-image.d.cts","names":[],"sources":["../../src/actions/create-account-image.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;cAUlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,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/create-account-image.d.ts
|
|
@@ -18,23 +20,7 @@ declare const ShipengineCreateAccountImageOutput: z.ZodObject<{
|
|
|
18
20
|
label_image_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
image_content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const shipengineCreateAccountImage:
|
|
22
|
-
name: string;
|
|
23
|
-
image_data: string;
|
|
24
|
-
image_content_type: "image/png" | "image/jpeg";
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const shipengineCreateAccountImage: AppAction<typeof ShipengineCreateAccountImageInput, typeof ShipengineCreateAccountImageOutput, typeof shipengine.credential>;
|
|
38
24
|
//#endregion
|
|
39
25
|
export { shipengineCreateAccountImage };
|
|
40
26
|
//# sourceMappingURL=create-account-image.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account-image.d.mts","names":[],"sources":["../../src/actions/create-account-image.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-account-image.d.mts","names":[],"sources":["../../src/actions/create-account-image.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;cAUlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account-image.mjs","names":[],"sources":["../../src/actions/create-account-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateAccountImageInput = z.object({\n name: z.string().describe(\"Name of the image (used for identification).\"),\n image_data: z.string().describe(\"Base64-encoded image data string. The image should be encoded in base64 format.\"),\n image_content_type: z.enum([\"image/png\", \"image/jpeg\"]).describe(\"MIME type of the image (e.g., image/png, image/jpeg).\"),\n}).describe(\"Request schema for creating a new account image in ShipEngine.\");\nexport const ShipengineCreateAccountImageOutput = z.object({\n name: z.string().describe(\"Name of the image.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the image was created (ISO 8601 format).\").nullable().optional(),\n image_data: z.string().describe(\"Base64-encoded image data.\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the image was last modified (ISO 8601 format).\").nullable().optional(),\n label_image_id: z.string().describe(\"Unique identifier for the created image.\").nullable().optional(),\n image_content_type: z.string().describe(\"MIME type of the image.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating an account image in ShipEngine.\");\n\nexport const shipengineCreateAccountImage = action(\"SHIPENGINE_CREATE_ACCOUNT_IMAGE\", {\n slug: \"shipengine-create-account-image\",\n name: \"Create Account Image\",\n description: \"Tool to create a new account image in ShipEngine. Use when uploading a logo or image for use on shipping labels.\",\n input: ShipengineCreateAccountImageInput,\n output: ShipengineCreateAccountImageOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-account-image.mjs","names":[],"sources":["../../src/actions/create-account-image.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 ShipengineCreateAccountImageInput = z.object({\n name: z.string().describe(\"Name of the image (used for identification).\"),\n image_data: z.string().describe(\"Base64-encoded image data string. The image should be encoded in base64 format.\"),\n image_content_type: z.enum([\"image/png\", \"image/jpeg\"]).describe(\"MIME type of the image (e.g., image/png, image/jpeg).\"),\n}).describe(\"Request schema for creating a new account image in ShipEngine.\");\nexport const ShipengineCreateAccountImageOutput = z.object({\n name: z.string().describe(\"Name of the image.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the image was created (ISO 8601 format).\").nullable().optional(),\n image_data: z.string().describe(\"Base64-encoded image data.\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this image is set as the default account image.\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp when the image was last modified (ISO 8601 format).\").nullable().optional(),\n label_image_id: z.string().describe(\"Unique identifier for the created image.\").nullable().optional(),\n image_content_type: z.string().describe(\"MIME type of the image.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating an account image in ShipEngine.\");\n\nexport const shipengineCreateAccountImage: AppAction<\n typeof ShipengineCreateAccountImageInput,\n typeof ShipengineCreateAccountImageOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_CREATE_ACCOUNT_IMAGE\", {\n slug: \"shipengine-create-account-image\",\n name: \"Create Account Image\",\n description: \"Tool to create a new account image in ShipEngine. Use when uploading a logo or image for use on shipping labels.\",\n input: ShipengineCreateAccountImageInput,\n output: ShipengineCreateAccountImageOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EACjH,oBAAoB,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD;CAC1H,CAAC,CAAC,CAAC,SAAS,gEAmBH;CACP,QAnBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-package-type.cjs","names":["z","action"],"sources":["../../src/actions/create-package-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreatePackageTypeInput = z.object({\n name: z.string().describe(\"Name of the custom package type (required).\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of the package.\").optional(),\n description: z.string().describe(\"Description of the package type (optional).\").optional(),\n package_code: z.string().describe(\"Code identifier for the package. MUST have prefix 'custom_' (e.g., 'custom_bigbox', 'custom_test_box'). This is a required format enforced by the ShipEngine API.\"),\n}).describe(\"Request model for creating a custom package type in ShipEngine.\");\nconst ShipengineCreatePackageType_DimensionsSchema = z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\").nullable(),\n width: z.number().describe(\"Width of the package; must be greater than 0.\").nullable(),\n height: z.number().describe(\"Height of the package; must be greater than 0.\").nullable(),\n length: z.number().describe(\"Length of the package; must be greater than 0.\").nullable(),\n}).passthrough().describe(\"Dimensions of the package.\");\nexport const ShipengineCreatePackageTypeOutput = z.object({\n name: z.string().describe(\"Name of the package type.\").nullable(),\n dimensions: ShipengineCreatePackageType_DimensionsSchema.nullable().optional(),\n package_id: z.string().describe(\"Unique identifier for the package (UUID).\").nullable().optional(),\n description: z.string().describe(\"Description of the package type.\").nullable().optional(),\n package_code: z.string().describe(\"The code used to identify the package type.\").nullable(),\n}).passthrough().describe(\"Response model for a created custom package type in ShipEngine.\");\n\nexport const shipengineCreatePackageType = action(\"SHIPENGINE_CREATE_PACKAGE_TYPE\", {\n slug: \"shipengine-create-package-type\",\n name: \"Create Package Type\",\n description: \"Tool to create a custom package type definition in ShipEngine. Use when defining new package types with specific codes and optional dimensions.\",\n input: ShipengineCreatePackageTypeInput,\n output: ShipengineCreatePackageTypeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-package-type.cjs","names":["z","action"],"sources":["../../src/actions/create-package-type.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 ShipengineCreatePackageTypeInput = z.object({\n name: z.string().describe(\"Name of the custom package type (required).\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of the package.\").optional(),\n description: z.string().describe(\"Description of the package type (optional).\").optional(),\n package_code: z.string().describe(\"Code identifier for the package. MUST have prefix 'custom_' (e.g., 'custom_bigbox', 'custom_test_box'). This is a required format enforced by the ShipEngine API.\"),\n}).describe(\"Request model for creating a custom package type in ShipEngine.\");\nconst ShipengineCreatePackageType_DimensionsSchema = z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\").nullable(),\n width: z.number().describe(\"Width of the package; must be greater than 0.\").nullable(),\n height: z.number().describe(\"Height of the package; must be greater than 0.\").nullable(),\n length: z.number().describe(\"Length of the package; must be greater than 0.\").nullable(),\n}).passthrough().describe(\"Dimensions of the package.\");\nexport const ShipengineCreatePackageTypeOutput = z.object({\n name: z.string().describe(\"Name of the package type.\").nullable(),\n dimensions: ShipengineCreatePackageType_DimensionsSchema.nullable().optional(),\n package_id: z.string().describe(\"Unique identifier for the package (UUID).\").nullable().optional(),\n description: z.string().describe(\"Description of the package type.\").nullable().optional(),\n package_code: z.string().describe(\"The code used to identify the package type.\").nullable(),\n}).passthrough().describe(\"Response model for a created custom package type in ShipEngine.\");\n\nexport const shipengineCreatePackageType: AppAction<\n typeof ShipengineCreatePackageTypeInput,\n typeof ShipengineCreatePackageTypeOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_CREATE_PACKAGE_TYPE\", {\n slug: \"shipengine-create-package-type\",\n name: \"Create Package Type\",\n description: \"Tool to create a custom package type definition in ShipEngine. Use when defining new package types with specific codes and optional dimensions.\",\n input: ShipengineCreatePackageTypeInput,\n output: ShipengineCreatePackageTypeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,YAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC;EACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;AACvM,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,YAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,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/create-package-type.d.ts
|
|
@@ -30,29 +32,7 @@ declare const ShipengineCreatePackageTypeOutput: z.ZodObject<{
|
|
|
30
32
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
package_code: z.ZodNullable<z.ZodString>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const shipengineCreatePackageType:
|
|
34
|
-
name: string;
|
|
35
|
-
package_code: string;
|
|
36
|
-
dimensions?: {
|
|
37
|
-
unit: "inch" | "centimeter";
|
|
38
|
-
width: number;
|
|
39
|
-
height: number;
|
|
40
|
-
length: number;
|
|
41
|
-
} | undefined;
|
|
42
|
-
description?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
generic_api_key: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const shipengineCreatePackageType: AppAction<typeof ShipengineCreatePackageTypeInput, typeof ShipengineCreatePackageTypeOutput, typeof shipengine.credential>;
|
|
56
36
|
//#endregion
|
|
57
37
|
export { shipengineCreatePackageType };
|
|
58
38
|
//# sourceMappingURL=create-package-type.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-package-type.d.cts","names":[],"sources":["../../src/actions/create-package-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-package-type.d.cts","names":[],"sources":["../../src/actions/create-package-type.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAiBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAQjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,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/create-package-type.d.ts
|
|
@@ -30,29 +32,7 @@ declare const ShipengineCreatePackageTypeOutput: z.ZodObject<{
|
|
|
30
32
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
package_code: z.ZodNullable<z.ZodString>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const shipengineCreatePackageType:
|
|
34
|
-
name: string;
|
|
35
|
-
package_code: string;
|
|
36
|
-
dimensions?: {
|
|
37
|
-
unit: "inch" | "centimeter";
|
|
38
|
-
width: number;
|
|
39
|
-
height: number;
|
|
40
|
-
length: number;
|
|
41
|
-
} | undefined;
|
|
42
|
-
description?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
generic_api_key: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const shipengineCreatePackageType: AppAction<typeof ShipengineCreatePackageTypeInput, typeof ShipengineCreatePackageTypeOutput, typeof shipengine.credential>;
|
|
56
36
|
//#endregion
|
|
57
37
|
export { shipengineCreatePackageType };
|
|
58
38
|
//# sourceMappingURL=create-package-type.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-package-type.d.mts","names":[],"sources":["../../src/actions/create-package-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-package-type.d.mts","names":[],"sources":["../../src/actions/create-package-type.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAiBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAQjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-package-type.mjs","names":[],"sources":["../../src/actions/create-package-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreatePackageTypeInput = z.object({\n name: z.string().describe(\"Name of the custom package type (required).\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of the package.\").optional(),\n description: z.string().describe(\"Description of the package type (optional).\").optional(),\n package_code: z.string().describe(\"Code identifier for the package. MUST have prefix 'custom_' (e.g., 'custom_bigbox', 'custom_test_box'). This is a required format enforced by the ShipEngine API.\"),\n}).describe(\"Request model for creating a custom package type in ShipEngine.\");\nconst ShipengineCreatePackageType_DimensionsSchema = z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\").nullable(),\n width: z.number().describe(\"Width of the package; must be greater than 0.\").nullable(),\n height: z.number().describe(\"Height of the package; must be greater than 0.\").nullable(),\n length: z.number().describe(\"Length of the package; must be greater than 0.\").nullable(),\n}).passthrough().describe(\"Dimensions of the package.\");\nexport const ShipengineCreatePackageTypeOutput = z.object({\n name: z.string().describe(\"Name of the package type.\").nullable(),\n dimensions: ShipengineCreatePackageType_DimensionsSchema.nullable().optional(),\n package_id: z.string().describe(\"Unique identifier for the package (UUID).\").nullable().optional(),\n description: z.string().describe(\"Description of the package type.\").nullable().optional(),\n package_code: z.string().describe(\"The code used to identify the package type.\").nullable(),\n}).passthrough().describe(\"Response model for a created custom package type in ShipEngine.\");\n\nexport const shipengineCreatePackageType = action(\"SHIPENGINE_CREATE_PACKAGE_TYPE\", {\n slug: \"shipengine-create-package-type\",\n name: \"Create Package Type\",\n description: \"Tool to create a custom package type definition in ShipEngine. Use when defining new package types with specific codes and optional dimensions.\",\n input: ShipengineCreatePackageTypeInput,\n output: ShipengineCreatePackageTypeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-package-type.mjs","names":[],"sources":["../../src/actions/create-package-type.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 ShipengineCreatePackageTypeInput = z.object({\n name: z.string().describe(\"Name of the custom package type (required).\"),\n dimensions: z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\"),\n width: z.number().describe(\"Width of the package; must be greater than 0.\"),\n height: z.number().describe(\"Height of the package; must be greater than 0.\"),\n length: z.number().describe(\"Length of the package; must be greater than 0.\"),\n}).describe(\"Dimensions of the package.\").optional(),\n description: z.string().describe(\"Description of the package type (optional).\").optional(),\n package_code: z.string().describe(\"Code identifier for the package. MUST have prefix 'custom_' (e.g., 'custom_bigbox', 'custom_test_box'). This is a required format enforced by the ShipEngine API.\"),\n}).describe(\"Request model for creating a custom package type in ShipEngine.\");\nconst ShipengineCreatePackageType_DimensionsSchema = z.object({\n unit: z.enum([\"inch\", \"centimeter\"]).describe(\"Unit of measurement for dimensions.\").nullable(),\n width: z.number().describe(\"Width of the package; must be greater than 0.\").nullable(),\n height: z.number().describe(\"Height of the package; must be greater than 0.\").nullable(),\n length: z.number().describe(\"Length of the package; must be greater than 0.\").nullable(),\n}).passthrough().describe(\"Dimensions of the package.\");\nexport const ShipengineCreatePackageTypeOutput = z.object({\n name: z.string().describe(\"Name of the package type.\").nullable(),\n dimensions: ShipengineCreatePackageType_DimensionsSchema.nullable().optional(),\n package_id: z.string().describe(\"Unique identifier for the package (UUID).\").nullable().optional(),\n description: z.string().describe(\"Description of the package type.\").nullable().optional(),\n package_code: z.string().describe(\"The code used to identify the package type.\").nullable(),\n}).passthrough().describe(\"Response model for a created custom package type in ShipEngine.\");\n\nexport const shipengineCreatePackageType: AppAction<\n typeof ShipengineCreatePackageTypeInput,\n typeof ShipengineCreatePackageTypeOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_CREATE_PACKAGE_TYPE\", {\n slug: \"shipengine-create-package-type\",\n name: \"Create Package Type\",\n description: \"Tool to create a custom package type definition in ShipEngine. Use when defining new package types with specific codes and optional dimensions.\",\n input: ShipengineCreatePackageTypeInput,\n output: ShipengineCreatePackageTypeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,YAAY,EAAE,OAAO;EACrB,MAAM,EAAE,KAAK,CAAC,QAAQ,YAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;AACvM,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,KAAK,CAAC,QAAQ,YAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAStD,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateTagInput = z.object({\n tag_name: z.string().describe(\"The name of the tag to create.\"),\n}).describe(\"Request schema for creating a new tag in ShipEngine.\");\nexport const ShipengineCreateTagOutput = z.object({\n name: z.string().describe(\"The name of the created tag.\").nullable().optional(),\n color: z.string().describe(\"The color of the tag in hex format.\").nullable().optional(),\n tag_id: z.number().int().describe(\"Unique identifier for the created tag.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a tag in ShipEngine.\");\n\nexport const shipengineCreateTag = action(\"SHIPENGINE_CREATE_TAG\", {\n slug: \"shipengine-create-tag\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag in ShipEngine. Use after determining the desired tag name for shipments.\",\n input: ShipengineCreateTagInput,\n output: ShipengineCreateTagOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-tag.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 ShipengineCreateTagInput = z.object({\n tag_name: z.string().describe(\"The name of the tag to create.\"),\n}).describe(\"Request schema for creating a new tag in ShipEngine.\");\nexport const ShipengineCreateTagOutput = z.object({\n name: z.string().describe(\"The name of the created tag.\").nullable().optional(),\n color: z.string().describe(\"The color of the tag in hex format.\").nullable().optional(),\n tag_id: z.number().int().describe(\"Unique identifier for the created tag.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a tag in ShipEngine.\");\n\nexport const shipengineCreateTag: AppAction<\n typeof ShipengineCreateTagInput,\n typeof ShipengineCreateTagOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_CREATE_TAG\", {\n slug: \"shipengine-create-tag\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag in ShipEngine. Use after determining the desired tag name for shipments.\",\n input: ShipengineCreateTagInput,\n output: ShipengineCreateTagOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/create-tag.d.ts
|
|
@@ -9,21 +11,7 @@ declare const ShipengineCreateTagOutput: z.ZodObject<{
|
|
|
9
11
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
tag_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const shipengineCreateTag:
|
|
13
|
-
tag_name: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const shipengineCreateTag: AppAction<typeof ShipengineCreateTagInput, typeof ShipengineCreateTagOutput, typeof shipengine.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { shipengineCreateTag };
|
|
29
17
|
//# sourceMappingURL=create-tag.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tag.d.cts","names":[],"sources":["../../src/actions/create-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tag.d.cts","names":[],"sources":["../../src/actions/create-tag.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,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/create-tag.d.ts
|
|
@@ -9,21 +11,7 @@ declare const ShipengineCreateTagOutput: z.ZodObject<{
|
|
|
9
11
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
tag_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const shipengineCreateTag:
|
|
13
|
-
tag_name: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const shipengineCreateTag: AppAction<typeof ShipengineCreateTagInput, typeof ShipengineCreateTagOutput, typeof shipengine.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { shipengineCreateTag };
|
|
29
17
|
//# sourceMappingURL=create-tag.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tag.d.mts","names":[],"sources":["../../src/actions/create-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tag.d.mts","names":[],"sources":["../../src/actions/create-tag.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tag.mjs","names":[],"sources":["../../src/actions/create-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateTagInput = z.object({\n tag_name: z.string().describe(\"The name of the tag to create.\"),\n}).describe(\"Request schema for creating a new tag in ShipEngine.\");\nexport const ShipengineCreateTagOutput = z.object({\n name: z.string().describe(\"The name of the created tag.\").nullable().optional(),\n color: z.string().describe(\"The color of the tag in hex format.\").nullable().optional(),\n tag_id: z.number().int().describe(\"Unique identifier for the created tag.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a tag in ShipEngine.\");\n\nexport const shipengineCreateTag = action(\"SHIPENGINE_CREATE_TAG\", {\n slug: \"shipengine-create-tag\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag in ShipEngine. Use after determining the desired tag name for shipments.\",\n input: ShipengineCreateTagInput,\n output: ShipengineCreateTagOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tag.mjs","names":[],"sources":["../../src/actions/create-tag.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 ShipengineCreateTagInput = z.object({\n tag_name: z.string().describe(\"The name of the tag to create.\"),\n}).describe(\"Request schema for creating a new tag in ShipEngine.\");\nexport const ShipengineCreateTagOutput = z.object({\n name: z.string().describe(\"The name of the created tag.\").nullable().optional(),\n color: z.string().describe(\"The color of the tag in hex format.\").nullable().optional(),\n tag_id: z.number().int().describe(\"Unique identifier for the created tag.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a tag in ShipEngine.\");\n\nexport const shipengineCreateTag: AppAction<\n typeof ShipengineCreateTagInput,\n typeof ShipengineCreateTagOutput,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_CREATE_TAG\", {\n slug: \"shipengine-create-tag\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag in ShipEngine. Use after determining the desired tag name for shipments.\",\n input: ShipengineCreateTagInput,\n output: ShipengineCreateTagOutput,\n});\n"],"mappings":";;;AAeA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsC,EAAE,OAAO,EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAChE,CAAC,CAAC,CAAC,SAAS,sDAeH;CACP,QAfuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tag2.cjs","names":["z","action"],"sources":["../../src/actions/create-tag2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateTag2Input = z.object({\n tag_name: z.string().describe(\"Tags are arbitrary strings that you can use to categorize shipments. For example, you may want to use tags to distinguish between domestic and international shipments, or between insured and uninsured shipments. Or maybe you want to create a tag for each of your customers so you can easily retrieve every shipment for a customer.\"),\n}).describe(\"Request schema for creating a new tag in ShipEngine using tag name in path.\");\nexport const ShipengineCreateTag2Output = z.object({\n name: z.string().describe(\"The name of the created tag.\").nullable(),\n color: z.string().describe(\"The color assigned to the tag.\").nullable().optional(),\n tag_id: z.number().int().describe(\"Unique identifier for the created tag.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a tag in ShipEngine.\");\n\nexport const shipengineCreateTag2 = action(\"SHIPENGINE_CREATE_TAG2\", {\n slug: \"shipengine-create-tag2\",\n name: \"Create Tag 2\",\n description: \"Tool to create a new tag for organizing shipments. Use when you need to create a tag by specifying the tag name in the URL path.\",\n input: ShipengineCreateTag2Input,\n output: ShipengineCreateTag2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tag2.cjs","names":["z","action"],"sources":["../../src/actions/create-tag2.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 ShipengineCreateTag2Input = z.object({\n tag_name: z.string().describe(\"Tags are arbitrary strings that you can use to categorize shipments. For example, you may want to use tags to distinguish between domestic and international shipments, or between insured and uninsured shipments. Or maybe you want to create a tag for each of your customers so you can easily retrieve every shipment for a customer.\"),\n}).describe(\"Request schema for creating a new tag in ShipEngine using tag name in path.\");\nexport const ShipengineCreateTag2Output = z.object({\n name: z.string().describe(\"The name of the created tag.\").nullable(),\n color: z.string().describe(\"The color assigned to the tag.\").nullable().optional(),\n tag_id: z.number().int().describe(\"Unique identifier for the created tag.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a tag in ShipEngine.\");\n\nexport const shipengineCreateTag2: AppAction<\n typeof ShipengineCreateTag2Input,\n typeof ShipengineCreateTag2Output,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_CREATE_TAG2\", {\n slug: \"shipengine-create-tag2\",\n name: \"Create Tag 2\",\n description: \"Tool to create a new tag for organizing shipments. Use when you need to create a tag by specifying the tag name in the URL path.\",\n input: ShipengineCreateTag2Input,\n output: ShipengineCreateTag2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4UAA4U,EAC5W,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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/create-tag2.d.ts
|
|
@@ -9,21 +11,7 @@ declare const ShipengineCreateTag2Output: z.ZodObject<{
|
|
|
9
11
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
tag_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const shipengineCreateTag2:
|
|
13
|
-
tag_name: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const shipengineCreateTag2: AppAction<typeof ShipengineCreateTag2Input, typeof ShipengineCreateTag2Output, typeof shipengine.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { shipengineCreateTag2 };
|
|
29
17
|
//# sourceMappingURL=create-tag2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tag2.d.cts","names":[],"sources":["../../src/actions/create-tag2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tag2.d.cts","names":[],"sources":["../../src/actions/create-tag2.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/create-tag2.d.ts
|
|
@@ -9,21 +11,7 @@ declare const ShipengineCreateTag2Output: z.ZodObject<{
|
|
|
9
11
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
tag_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const shipengineCreateTag2:
|
|
13
|
-
tag_name: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const shipengineCreateTag2: AppAction<typeof ShipengineCreateTag2Input, typeof ShipengineCreateTag2Output, typeof shipengine.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { shipengineCreateTag2 };
|
|
29
17
|
//# sourceMappingURL=create-tag2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tag2.d.mts","names":[],"sources":["../../src/actions/create-tag2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tag2.d.mts","names":[],"sources":["../../src/actions/create-tag2.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tag2.mjs","names":[],"sources":["../../src/actions/create-tag2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipengineCreateTag2Input = z.object({\n tag_name: z.string().describe(\"Tags are arbitrary strings that you can use to categorize shipments. For example, you may want to use tags to distinguish between domestic and international shipments, or between insured and uninsured shipments. Or maybe you want to create a tag for each of your customers so you can easily retrieve every shipment for a customer.\"),\n}).describe(\"Request schema for creating a new tag in ShipEngine using tag name in path.\");\nexport const ShipengineCreateTag2Output = z.object({\n name: z.string().describe(\"The name of the created tag.\").nullable(),\n color: z.string().describe(\"The color assigned to the tag.\").nullable().optional(),\n tag_id: z.number().int().describe(\"Unique identifier for the created tag.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a tag in ShipEngine.\");\n\nexport const shipengineCreateTag2 = action(\"SHIPENGINE_CREATE_TAG2\", {\n slug: \"shipengine-create-tag2\",\n name: \"Create Tag 2\",\n description: \"Tool to create a new tag for organizing shipments. Use when you need to create a tag by specifying the tag name in the URL path.\",\n input: ShipengineCreateTag2Input,\n output: ShipengineCreateTag2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tag2.mjs","names":[],"sources":["../../src/actions/create-tag2.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 ShipengineCreateTag2Input = z.object({\n tag_name: z.string().describe(\"Tags are arbitrary strings that you can use to categorize shipments. For example, you may want to use tags to distinguish between domestic and international shipments, or between insured and uninsured shipments. Or maybe you want to create a tag for each of your customers so you can easily retrieve every shipment for a customer.\"),\n}).describe(\"Request schema for creating a new tag in ShipEngine using tag name in path.\");\nexport const ShipengineCreateTag2Output = z.object({\n name: z.string().describe(\"The name of the created tag.\").nullable(),\n color: z.string().describe(\"The color assigned to the tag.\").nullable().optional(),\n tag_id: z.number().int().describe(\"Unique identifier for the created tag.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after creating a tag in ShipEngine.\");\n\nexport const shipengineCreateTag2: AppAction<\n typeof ShipengineCreateTag2Input,\n typeof ShipengineCreateTag2Output,\n typeof shipengine.credential\n> = action(\"SHIPENGINE_CREATE_TAG2\", {\n slug: \"shipengine-create-tag2\",\n name: \"Create Tag 2\",\n description: \"Tool to create a new tag for organizing shipments. Use when you need to create a tag by specifying the tag name in the URL path.\",\n input: ShipengineCreateTag2Input,\n output: ShipengineCreateTag2Output,\n});\n"],"mappings":";;;AAeA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuC,EAAE,OAAO,EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4UAA4U,EAC5W,CAAC,CAAC,CAAC,SAAS,6EAeH;CACP,QAfwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"create-warehouse.cjs","names":["z","action"],"sources":["../../src/actions/create-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 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: AppAction<\n typeof ShipengineCreateWarehouseInput,\n typeof ShipengineCreateWarehouseOutput,\n typeof shipengine.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC7D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EACrD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EACvD,+BAA+BA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAM;EAAS,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACjD,gBAAgBA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC7D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EACrD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EACvD,+BAA+BA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAM;EAAS,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AAC7D,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAChE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAChE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAClE,+BAA+BA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAM;CAAS,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,gBAAgB,gDAAgD,SAAS;CACzE,gBAAgB,gDAAgD,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,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/create-warehouse.d.ts
|
|
@@ -79,48 +81,7 @@ declare const ShipengineCreateWarehouseOutput: z.ZodObject<{
|
|
|
79
81
|
}>>>;
|
|
80
82
|
}, z.core.$loose>>>;
|
|
81
83
|
}, z.core.$loose>;
|
|
82
|
-
declare const shipengineCreateWarehouse:
|
|
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?: "unknown" | "yes" | "no" | 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?: "unknown" | "yes" | "no" | undefined;
|
|
110
|
-
} | undefined;
|
|
111
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
112
|
-
connectionId: z.ZodString;
|
|
113
|
-
entityId: z.ZodString;
|
|
114
|
-
instanceId: z.ZodString;
|
|
115
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
116
|
-
generic_api_key: z.ZodString;
|
|
117
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shipengine", z.ZodObject<{
|
|
118
|
-
connectionId: z.ZodString;
|
|
119
|
-
entityId: z.ZodString;
|
|
120
|
-
instanceId: z.ZodString;
|
|
121
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
122
|
-
generic_api_key: z.ZodString;
|
|
123
|
-
}, z.core.$strip>>]>;
|
|
84
|
+
declare const shipengineCreateWarehouse: AppAction<typeof ShipengineCreateWarehouseInput, typeof ShipengineCreateWarehouseOutput, typeof shipengine.credential>;
|
|
124
85
|
//#endregion
|
|
125
86
|
export { shipengineCreateWarehouse };
|
|
126
87
|
//# sourceMappingURL=create-warehouse.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-warehouse.d.cts","names":[],"sources":["../../src/actions/create-warehouse.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-warehouse.d.cts","names":[],"sources":["../../src/actions/create-warehouse.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
|