@sp-api-sdk/shipping-api-v2 1.1.0
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/LICENSE +21 -0
- package/README.md +97 -0
- package/dist/cjs/index.js +18 -0
- package/dist/cjs/src/api-model/api/shipping-api.js +1203 -0
- package/dist/cjs/src/api-model/api.js +30 -0
- package/dist/cjs/src/api-model/base.js +66 -0
- package/dist/cjs/src/api-model/common.js +145 -0
- package/dist/cjs/src/api-model/configuration.js +91 -0
- package/dist/cjs/src/api-model/index.js +32 -0
- package/dist/cjs/src/api-model/models/access-point-details.js +15 -0
- package/dist/cjs/src/api-model/models/access-point-type.js +31 -0
- package/dist/cjs/src/api-model/models/access-point.js +20 -0
- package/dist/cjs/src/api-model/models/accessibility-attributes.js +15 -0
- package/dist/cjs/src/api-model/models/account-status.js +27 -0
- package/dist/cjs/src/api-model/models/account-type.js +26 -0
- package/dist/cjs/src/api-model/models/active-account.js +15 -0
- package/dist/cjs/src/api-model/models/address.js +15 -0
- package/dist/cjs/src/api-model/models/amazon-order-details.js +15 -0
- package/dist/cjs/src/api-model/models/amazon-shipment-details.js +15 -0
- package/dist/cjs/src/api-model/models/available-value-added-service-group.js +15 -0
- package/dist/cjs/src/api-model/models/benefits.js +15 -0
- package/dist/cjs/src/api-model/models/cancel-shipment-response.js +15 -0
- package/dist/cjs/src/api-model/models/carrier-account-attribute.js +15 -0
- package/dist/cjs/src/api-model/models/carrier-account-input.js +15 -0
- package/dist/cjs/src/api-model/models/carrier.js +15 -0
- package/dist/cjs/src/api-model/models/channel-details.js +15 -0
- package/dist/cjs/src/api-model/models/channel-type.js +25 -0
- package/dist/cjs/src/api-model/models/charge-component.js +20 -0
- package/dist/cjs/src/api-model/models/client-reference-detail.js +20 -0
- package/dist/cjs/src/api-model/models/collect-on-delivery.js +15 -0
- package/dist/cjs/src/api-model/models/collection-forms-history-record.js +15 -0
- package/dist/cjs/src/api-model/models/collections-form-document.js +15 -0
- package/dist/cjs/src/api-model/models/currency.js +15 -0
- package/dist/cjs/src/api-model/models/dangerous-goods-details.js +36 -0
- package/dist/cjs/src/api-model/models/date-range.js +15 -0
- package/dist/cjs/src/api-model/models/dimensions.js +20 -0
- package/dist/cjs/src/api-model/models/direct-fulfillment-item-identifiers.js +15 -0
- package/dist/cjs/src/api-model/models/direct-purchase-request.js +15 -0
- package/dist/cjs/src/api-model/models/direct-purchase-response.js +15 -0
- package/dist/cjs/src/api-model/models/direct-purchase-result.js +15 -0
- package/dist/cjs/src/api-model/models/document-format.js +26 -0
- package/dist/cjs/src/api-model/models/document-size.js +20 -0
- package/dist/cjs/src/api-model/models/document-type.js +27 -0
- package/dist/cjs/src/api-model/models/error-list.js +15 -0
- package/dist/cjs/src/api-model/models/event-code.js +34 -0
- package/dist/cjs/src/api-model/models/event.js +15 -0
- package/dist/cjs/src/api-model/models/exception-operating-hours.js +15 -0
- package/dist/cjs/src/api-model/models/excluded-benefit.js +15 -0
- package/dist/cjs/src/api-model/models/generate-collection-form-request.js +15 -0
- package/dist/cjs/src/api-model/models/generate-collection-form-response.js +15 -0
- package/dist/cjs/src/api-model/models/generation-status.js +25 -0
- package/dist/cjs/src/api-model/models/geocode.js +15 -0
- package/dist/cjs/src/api-model/models/get-access-points-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-access-points-result.js +15 -0
- package/dist/cjs/src/api-model/models/get-additional-inputs-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-carrier-account-form-inputs-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-carrier-accounts-request.js +15 -0
- package/dist/cjs/src/api-model/models/get-carrier-accounts-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-collection-form-history-request.js +15 -0
- package/dist/cjs/src/api-model/models/get-collection-form-history-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-collection-form-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-rates-request.js +15 -0
- package/dist/cjs/src/api-model/models/get-rates-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-rates-result.js +15 -0
- package/dist/cjs/src/api-model/models/get-shipment-documents-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-shipment-documents-result.js +15 -0
- package/dist/cjs/src/api-model/models/get-tracking-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-tracking-result.js +15 -0
- package/dist/cjs/src/api-model/models/get-unmanifested-shipments-request.js +15 -0
- package/dist/cjs/src/api-model/models/get-unmanifested-shipments-response.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +130 -0
- package/dist/cjs/src/api-model/models/ineligibility-reason-code.js +33 -0
- package/dist/cjs/src/api-model/models/ineligibility-reason.js +15 -0
- package/dist/cjs/src/api-model/models/ineligible-rate.js +15 -0
- package/dist/cjs/src/api-model/models/input-type.js +25 -0
- package/dist/cjs/src/api-model/models/invoice-details.js +15 -0
- package/dist/cjs/src/api-model/models/item.js +15 -0
- package/dist/cjs/src/api-model/models/link-carrier-account-request.js +15 -0
- package/dist/cjs/src/api-model/models/link-carrier-account-response.js +15 -0
- package/dist/cjs/src/api-model/models/linkable-account-type.js +15 -0
- package/dist/cjs/src/api-model/models/linkable-carrier.js +15 -0
- package/dist/cjs/src/api-model/models/liquid-volume.js +25 -0
- package/dist/cjs/src/api-model/models/location.js +15 -0
- package/dist/cjs/src/api-model/models/model-error.js +15 -0
- package/dist/cjs/src/api-model/models/one-click-shipment-request.js +15 -0
- package/dist/cjs/src/api-model/models/one-click-shipment-response.js +15 -0
- package/dist/cjs/src/api-model/models/one-click-shipment-result.js +15 -0
- package/dist/cjs/src/api-model/models/one-click-shipment-value-added-service.js +15 -0
- package/dist/cjs/src/api-model/models/operating-hours.js +15 -0
- package/dist/cjs/src/api-model/models/package-document-detail.js +15 -0
- package/dist/cjs/src/api-model/models/package-document.js +15 -0
- package/dist/cjs/src/api-model/models/package.js +15 -0
- package/dist/cjs/src/api-model/models/payment-type.js +25 -0
- package/dist/cjs/src/api-model/models/print-option.js +15 -0
- package/dist/cjs/src/api-model/models/promise.js +15 -0
- package/dist/cjs/src/api-model/models/purchase-shipment-request.js +15 -0
- package/dist/cjs/src/api-model/models/purchase-shipment-response.js +15 -0
- package/dist/cjs/src/api-model/models/purchase-shipment-result.js +15 -0
- package/dist/cjs/src/api-model/models/rate-item-id.js +51 -0
- package/dist/cjs/src/api-model/models/rate-item-type.js +26 -0
- package/dist/cjs/src/api-model/models/rate-item.js +15 -0
- package/dist/cjs/src/api-model/models/rate.js +15 -0
- package/dist/cjs/src/api-model/models/requested-document-specification.js +15 -0
- package/dist/cjs/src/api-model/models/requested-value-added-service.js +15 -0
- package/dist/cjs/src/api-model/models/service-selection.js +15 -0
- package/dist/cjs/src/api-model/models/service.js +15 -0
- package/dist/cjs/src/api-model/models/shipment-type.js +25 -0
- package/dist/cjs/src/api-model/models/shipper-instruction.js +15 -0
- package/dist/cjs/src/api-model/models/status.js +32 -0
- package/dist/cjs/src/api-model/models/supported-document-detail.js +15 -0
- package/dist/cjs/src/api-model/models/supported-document-specification.js +15 -0
- package/dist/cjs/src/api-model/models/tax-detail.js +15 -0
- package/dist/cjs/src/api-model/models/tax-type.js +24 -0
- package/dist/cjs/src/api-model/models/time-of-day.js +15 -0
- package/dist/cjs/src/api-model/models/time-window.js +15 -0
- package/dist/cjs/src/api-model/models/tracking-summary.js +15 -0
- package/dist/cjs/src/api-model/models/unlink-carrier-account-request.js +15 -0
- package/dist/cjs/src/api-model/models/unlink-carrier-account-response.js +15 -0
- package/dist/cjs/src/api-model/models/unmanifested-carrier-information.js +15 -0
- package/dist/cjs/src/api-model/models/unmanifested-shipment-location.js +15 -0
- package/dist/cjs/src/api-model/models/validation-metadata.js +15 -0
- package/dist/cjs/src/api-model/models/value-added-service-details.js +15 -0
- package/dist/cjs/src/api-model/models/value-added-service.js +15 -0
- package/dist/cjs/src/api-model/models/weight.js +22 -0
- package/dist/cjs/src/client.js +133 -0
- package/dist/es/index.js +2 -0
- package/dist/es/src/api-model/api/shipping-api.js +1193 -0
- package/dist/es/src/api-model/api.js +14 -0
- package/dist/es/src/api-model/base.js +58 -0
- package/dist/es/src/api-model/common.js +133 -0
- package/dist/es/src/api-model/configuration.js +87 -0
- package/dist/es/src/api-model/index.js +16 -0
- package/dist/es/src/api-model/models/access-point-details.js +14 -0
- package/dist/es/src/api-model/models/access-point-type.js +28 -0
- package/dist/es/src/api-model/models/access-point.js +17 -0
- package/dist/es/src/api-model/models/accessibility-attributes.js +14 -0
- package/dist/es/src/api-model/models/account-status.js +24 -0
- package/dist/es/src/api-model/models/account-type.js +23 -0
- package/dist/es/src/api-model/models/active-account.js +14 -0
- package/dist/es/src/api-model/models/address.js +14 -0
- package/dist/es/src/api-model/models/amazon-order-details.js +14 -0
- package/dist/es/src/api-model/models/amazon-shipment-details.js +14 -0
- package/dist/es/src/api-model/models/available-value-added-service-group.js +14 -0
- package/dist/es/src/api-model/models/benefits.js +14 -0
- package/dist/es/src/api-model/models/cancel-shipment-response.js +14 -0
- package/dist/es/src/api-model/models/carrier-account-attribute.js +14 -0
- package/dist/es/src/api-model/models/carrier-account-input.js +14 -0
- package/dist/es/src/api-model/models/carrier.js +14 -0
- package/dist/es/src/api-model/models/channel-details.js +14 -0
- package/dist/es/src/api-model/models/channel-type.js +22 -0
- package/dist/es/src/api-model/models/charge-component.js +17 -0
- package/dist/es/src/api-model/models/client-reference-detail.js +17 -0
- package/dist/es/src/api-model/models/collect-on-delivery.js +14 -0
- package/dist/es/src/api-model/models/collection-forms-history-record.js +14 -0
- package/dist/es/src/api-model/models/collections-form-document.js +14 -0
- package/dist/es/src/api-model/models/currency.js +14 -0
- package/dist/es/src/api-model/models/dangerous-goods-details.js +33 -0
- package/dist/es/src/api-model/models/date-range.js +14 -0
- package/dist/es/src/api-model/models/dimensions.js +17 -0
- package/dist/es/src/api-model/models/direct-fulfillment-item-identifiers.js +14 -0
- package/dist/es/src/api-model/models/direct-purchase-request.js +14 -0
- package/dist/es/src/api-model/models/direct-purchase-response.js +14 -0
- package/dist/es/src/api-model/models/direct-purchase-result.js +14 -0
- package/dist/es/src/api-model/models/document-format.js +23 -0
- package/dist/es/src/api-model/models/document-size.js +17 -0
- package/dist/es/src/api-model/models/document-type.js +24 -0
- package/dist/es/src/api-model/models/error-list.js +14 -0
- package/dist/es/src/api-model/models/event-code.js +31 -0
- package/dist/es/src/api-model/models/event.js +14 -0
- package/dist/es/src/api-model/models/exception-operating-hours.js +14 -0
- package/dist/es/src/api-model/models/excluded-benefit.js +14 -0
- package/dist/es/src/api-model/models/generate-collection-form-request.js +14 -0
- package/dist/es/src/api-model/models/generate-collection-form-response.js +14 -0
- package/dist/es/src/api-model/models/generation-status.js +22 -0
- package/dist/es/src/api-model/models/geocode.js +14 -0
- package/dist/es/src/api-model/models/get-access-points-response.js +14 -0
- package/dist/es/src/api-model/models/get-access-points-result.js +14 -0
- package/dist/es/src/api-model/models/get-additional-inputs-response.js +14 -0
- package/dist/es/src/api-model/models/get-carrier-account-form-inputs-response.js +14 -0
- package/dist/es/src/api-model/models/get-carrier-accounts-request.js +14 -0
- package/dist/es/src/api-model/models/get-carrier-accounts-response.js +14 -0
- package/dist/es/src/api-model/models/get-collection-form-history-request.js +14 -0
- package/dist/es/src/api-model/models/get-collection-form-history-response.js +14 -0
- package/dist/es/src/api-model/models/get-collection-form-response.js +14 -0
- package/dist/es/src/api-model/models/get-rates-request.js +14 -0
- package/dist/es/src/api-model/models/get-rates-response.js +14 -0
- package/dist/es/src/api-model/models/get-rates-result.js +14 -0
- package/dist/es/src/api-model/models/get-shipment-documents-response.js +14 -0
- package/dist/es/src/api-model/models/get-shipment-documents-result.js +14 -0
- package/dist/es/src/api-model/models/get-tracking-response.js +14 -0
- package/dist/es/src/api-model/models/get-tracking-result.js +14 -0
- package/dist/es/src/api-model/models/get-unmanifested-shipments-request.js +14 -0
- package/dist/es/src/api-model/models/get-unmanifested-shipments-response.js +14 -0
- package/dist/es/src/api-model/models/index.js +114 -0
- package/dist/es/src/api-model/models/ineligibility-reason-code.js +30 -0
- package/dist/es/src/api-model/models/ineligibility-reason.js +14 -0
- package/dist/es/src/api-model/models/ineligible-rate.js +14 -0
- package/dist/es/src/api-model/models/input-type.js +22 -0
- package/dist/es/src/api-model/models/invoice-details.js +14 -0
- package/dist/es/src/api-model/models/item.js +14 -0
- package/dist/es/src/api-model/models/link-carrier-account-request.js +14 -0
- package/dist/es/src/api-model/models/link-carrier-account-response.js +14 -0
- package/dist/es/src/api-model/models/linkable-account-type.js +14 -0
- package/dist/es/src/api-model/models/linkable-carrier.js +14 -0
- package/dist/es/src/api-model/models/liquid-volume.js +22 -0
- package/dist/es/src/api-model/models/location.js +14 -0
- package/dist/es/src/api-model/models/model-error.js +14 -0
- package/dist/es/src/api-model/models/one-click-shipment-request.js +14 -0
- package/dist/es/src/api-model/models/one-click-shipment-response.js +14 -0
- package/dist/es/src/api-model/models/one-click-shipment-result.js +14 -0
- package/dist/es/src/api-model/models/one-click-shipment-value-added-service.js +14 -0
- package/dist/es/src/api-model/models/operating-hours.js +14 -0
- package/dist/es/src/api-model/models/package-document-detail.js +14 -0
- package/dist/es/src/api-model/models/package-document.js +14 -0
- package/dist/es/src/api-model/models/package.js +14 -0
- package/dist/es/src/api-model/models/payment-type.js +22 -0
- package/dist/es/src/api-model/models/print-option.js +14 -0
- package/dist/es/src/api-model/models/promise.js +14 -0
- package/dist/es/src/api-model/models/purchase-shipment-request.js +14 -0
- package/dist/es/src/api-model/models/purchase-shipment-response.js +14 -0
- package/dist/es/src/api-model/models/purchase-shipment-result.js +14 -0
- package/dist/es/src/api-model/models/rate-item-id.js +48 -0
- package/dist/es/src/api-model/models/rate-item-type.js +23 -0
- package/dist/es/src/api-model/models/rate-item.js +14 -0
- package/dist/es/src/api-model/models/rate.js +14 -0
- package/dist/es/src/api-model/models/requested-document-specification.js +14 -0
- package/dist/es/src/api-model/models/requested-value-added-service.js +14 -0
- package/dist/es/src/api-model/models/service-selection.js +14 -0
- package/dist/es/src/api-model/models/service.js +14 -0
- package/dist/es/src/api-model/models/shipment-type.js +22 -0
- package/dist/es/src/api-model/models/shipper-instruction.js +14 -0
- package/dist/es/src/api-model/models/status.js +29 -0
- package/dist/es/src/api-model/models/supported-document-detail.js +14 -0
- package/dist/es/src/api-model/models/supported-document-specification.js +14 -0
- package/dist/es/src/api-model/models/tax-detail.js +14 -0
- package/dist/es/src/api-model/models/tax-type.js +21 -0
- package/dist/es/src/api-model/models/time-of-day.js +14 -0
- package/dist/es/src/api-model/models/time-window.js +14 -0
- package/dist/es/src/api-model/models/tracking-summary.js +14 -0
- package/dist/es/src/api-model/models/unlink-carrier-account-request.js +14 -0
- package/dist/es/src/api-model/models/unlink-carrier-account-response.js +14 -0
- package/dist/es/src/api-model/models/unmanifested-carrier-information.js +14 -0
- package/dist/es/src/api-model/models/unmanifested-shipment-location.js +14 -0
- package/dist/es/src/api-model/models/validation-metadata.js +14 -0
- package/dist/es/src/api-model/models/value-added-service-details.js +14 -0
- package/dist/es/src/api-model/models/value-added-service.js +14 -0
- package/dist/es/src/api-model/models/weight.js +19 -0
- package/dist/es/src/client.js +129 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/src/api-model/api/shipping-api.d.ts +1014 -0
- package/dist/types/src/api-model/api.d.ts +12 -0
- package/dist/types/src/api-model/base.d.ts +54 -0
- package/dist/types/src/api-model/common.d.ts +66 -0
- package/dist/types/src/api-model/configuration.d.ts +83 -0
- package/dist/types/src/api-model/index.d.ts +14 -0
- package/dist/types/src/api-model/models/access-point-details.d.ts +24 -0
- package/dist/types/src/api-model/models/access-point-type.d.ts +27 -0
- package/dist/types/src/api-model/models/access-point.d.ts +90 -0
- package/dist/types/src/api-model/models/accessibility-attributes.d.ts +30 -0
- package/dist/types/src/api-model/models/account-status.d.ts +23 -0
- package/dist/types/src/api-model/models/account-type.d.ts +22 -0
- package/dist/types/src/api-model/models/active-account.d.ts +30 -0
- package/dist/types/src/api-model/models/address.d.ts +91 -0
- package/dist/types/src/api-model/models/amazon-order-details.d.ts +24 -0
- package/dist/types/src/api-model/models/amazon-shipment-details.d.ts +24 -0
- package/dist/types/src/api-model/models/available-value-added-service-group.d.ts +43 -0
- package/dist/types/src/api-model/models/benefits.d.ts +31 -0
- package/dist/types/src/api-model/models/cancel-shipment-response.d.ts +26 -0
- package/dist/types/src/api-model/models/carrier-account-attribute.d.ts +36 -0
- package/dist/types/src/api-model/models/carrier-account-input.d.ts +68 -0
- package/dist/types/src/api-model/models/carrier.d.ts +30 -0
- package/dist/types/src/api-model/models/channel-details.d.ts +39 -0
- package/dist/types/src/api-model/models/channel-type.d.ts +21 -0
- package/dist/types/src/api-model/models/charge-component.d.ts +36 -0
- package/dist/types/src/api-model/models/client-reference-detail.d.ts +35 -0
- package/dist/types/src/api-model/models/collect-on-delivery.d.ts +25 -0
- package/dist/types/src/api-model/models/collection-forms-history-record.d.ts +50 -0
- package/dist/types/src/api-model/models/collections-form-document.d.ts +30 -0
- package/dist/types/src/api-model/models/currency.d.ts +30 -0
- package/dist/types/src/api-model/models/dangerous-goods-details.d.ts +64 -0
- package/dist/types/src/api-model/models/date-range.d.ts +30 -0
- package/dist/types/src/api-model/models/dimensions.d.ts +47 -0
- package/dist/types/src/api-model/models/direct-fulfillment-item-identifiers.d.ts +30 -0
- package/dist/types/src/api-model/models/direct-purchase-request.d.ts +58 -0
- package/dist/types/src/api-model/models/direct-purchase-response.d.ts +25 -0
- package/dist/types/src/api-model/models/direct-purchase-result.d.ts +31 -0
- package/dist/types/src/api-model/models/document-format.d.ts +22 -0
- package/dist/types/src/api-model/models/document-size.d.ts +41 -0
- package/dist/types/src/api-model/models/document-type.d.ts +23 -0
- package/dist/types/src/api-model/models/error-list.d.ts +24 -0
- package/dist/types/src/api-model/models/event-code.d.ts +30 -0
- package/dist/types/src/api-model/models/event.d.ts +38 -0
- package/dist/types/src/api-model/models/exception-operating-hours.d.ts +32 -0
- package/dist/types/src/api-model/models/excluded-benefit.d.ts +30 -0
- package/dist/types/src/api-model/models/generate-collection-form-request.d.ts +38 -0
- package/dist/types/src/api-model/models/generate-collection-form-response.d.ts +25 -0
- package/dist/types/src/api-model/models/generation-status.d.ts +21 -0
- package/dist/types/src/api-model/models/geocode.d.ts +30 -0
- package/dist/types/src/api-model/models/get-access-points-response.d.ts +25 -0
- package/dist/types/src/api-model/models/get-access-points-result.d.ts +27 -0
- package/dist/types/src/api-model/models/get-additional-inputs-response.d.ts +26 -0
- package/dist/types/src/api-model/models/get-carrier-account-form-inputs-response.d.ts +25 -0
- package/dist/types/src/api-model/models/get-carrier-accounts-request.d.ts +25 -0
- package/dist/types/src/api-model/models/get-carrier-accounts-response.d.ts +25 -0
- package/dist/types/src/api-model/models/get-collection-form-history-request.d.ts +51 -0
- package/dist/types/src/api-model/models/get-collection-form-history-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-collection-form-response.d.ts +25 -0
- package/dist/types/src/api-model/models/get-rates-request.d.ts +99 -0
- package/dist/types/src/api-model/models/get-rates-response.d.ts +25 -0
- package/dist/types/src/api-model/models/get-rates-result.d.ts +38 -0
- package/dist/types/src/api-model/models/get-shipment-documents-response.d.ts +25 -0
- package/dist/types/src/api-model/models/get-shipment-documents-result.d.ts +31 -0
- package/dist/types/src/api-model/models/get-tracking-response.d.ts +25 -0
- package/dist/types/src/api-model/models/get-tracking-result.d.ts +50 -0
- package/dist/types/src/api-model/models/get-unmanifested-shipments-request.d.ts +25 -0
- package/dist/types/src/api-model/models/get-unmanifested-shipments-response.d.ts +25 -0
- package/dist/types/src/api-model/models/index.d.ts +114 -0
- package/dist/types/src/api-model/models/ineligibility-reason-code.d.ts +29 -0
- package/dist/types/src/api-model/models/ineligibility-reason.d.ts +31 -0
- package/dist/types/src/api-model/models/ineligible-rate.d.ts +49 -0
- package/dist/types/src/api-model/models/input-type.d.ts +21 -0
- package/dist/types/src/api-model/models/invoice-details.d.ts +30 -0
- package/dist/types/src/api-model/models/item.d.ts +96 -0
- package/dist/types/src/api-model/models/link-carrier-account-request.d.ts +44 -0
- package/dist/types/src/api-model/models/link-carrier-account-response.d.ts +25 -0
- package/dist/types/src/api-model/models/linkable-account-type.d.ts +32 -0
- package/dist/types/src/api-model/models/linkable-carrier.d.ts +31 -0
- package/dist/types/src/api-model/models/liquid-volume.d.ts +40 -0
- package/dist/types/src/api-model/models/location.d.ts +42 -0
- package/dist/types/src/api-model/models/model-error.d.ts +36 -0
- package/dist/types/src/api-model/models/one-click-shipment-request.d.ts +99 -0
- package/dist/types/src/api-model/models/one-click-shipment-response.d.ts +25 -0
- package/dist/types/src/api-model/models/one-click-shipment-result.d.ts +59 -0
- package/dist/types/src/api-model/models/one-click-shipment-value-added-service.d.ts +31 -0
- package/dist/types/src/api-model/models/operating-hours.d.ts +37 -0
- package/dist/types/src/api-model/models/package-document-detail.d.ts +37 -0
- package/dist/types/src/api-model/models/package-document.d.ts +38 -0
- package/dist/types/src/api-model/models/package.d.ts +71 -0
- package/dist/types/src/api-model/models/payment-type.d.ts +21 -0
- package/dist/types/src/api-model/models/print-option.d.ts +43 -0
- package/dist/types/src/api-model/models/promise.d.ts +31 -0
- package/dist/types/src/api-model/models/purchase-shipment-request.d.ts +52 -0
- package/dist/types/src/api-model/models/purchase-shipment-response.d.ts +25 -0
- package/dist/types/src/api-model/models/purchase-shipment-result.d.ts +38 -0
- package/dist/types/src/api-model/models/rate-item-id.d.ts +47 -0
- package/dist/types/src/api-model/models/rate-item-type.d.ts +22 -0
- package/dist/types/src/api-model/models/rate-item.d.ts +45 -0
- package/dist/types/src/api-model/models/rate.d.ts +110 -0
- package/dist/types/src/api-model/models/requested-document-specification.d.ts +57 -0
- package/dist/types/src/api-model/models/requested-value-added-service.d.ts +24 -0
- package/dist/types/src/api-model/models/service-selection.d.ts +24 -0
- package/dist/types/src/api-model/models/service.d.ts +30 -0
- package/dist/types/src/api-model/models/shipment-type.d.ts +21 -0
- package/dist/types/src/api-model/models/shipper-instruction.d.ts +24 -0
- package/dist/types/src/api-model/models/status.d.ts +28 -0
- package/dist/types/src/api-model/models/supported-document-detail.d.ts +31 -0
- package/dist/types/src/api-model/models/supported-document-specification.d.ts +39 -0
- package/dist/types/src/api-model/models/tax-detail.d.ts +31 -0
- package/dist/types/src/api-model/models/tax-type.d.ts +20 -0
- package/dist/types/src/api-model/models/time-of-day.d.ts +36 -0
- package/dist/types/src/api-model/models/time-window.d.ts +30 -0
- package/dist/types/src/api-model/models/tracking-summary.d.ts +25 -0
- package/dist/types/src/api-model/models/unlink-carrier-account-request.d.ts +25 -0
- package/dist/types/src/api-model/models/unlink-carrier-account-response.d.ts +24 -0
- package/dist/types/src/api-model/models/unmanifested-carrier-information.d.ts +37 -0
- package/dist/types/src/api-model/models/unmanifested-shipment-location.d.ts +31 -0
- package/dist/types/src/api-model/models/validation-metadata.d.ts +36 -0
- package/dist/types/src/api-model/models/value-added-service-details.d.ts +25 -0
- package/dist/types/src/api-model/models/value-added-service.d.ts +37 -0
- package/dist/types/src/api-model/models/weight.d.ts +37 -0
- package/dist/types/src/client.d.ts +6 -0
- package/package.json +44 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ExcludedBenefit } from './excluded-benefit';
|
|
13
|
+
/**
|
|
14
|
+
* Representing the included/excluded benefits that we offer for each ShippingOffering/Rate. Benefits being services provided by Amazon when sellers purchase shipping through Amazon.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Benefits
|
|
17
|
+
*/
|
|
18
|
+
export interface Benefits {
|
|
19
|
+
/**
|
|
20
|
+
* A list of included benefits.
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof Benefits
|
|
23
|
+
*/
|
|
24
|
+
'includedBenefits': Array<string>;
|
|
25
|
+
/**
|
|
26
|
+
* A list of excluded benefit. Refer to the ExcludeBenefit object for further documentation
|
|
27
|
+
* @type {Array<ExcludedBenefit>}
|
|
28
|
+
* @memberof Benefits
|
|
29
|
+
*/
|
|
30
|
+
'excludedBenefits': Array<ExcludedBenefit>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Response schema for the cancelShipment operation.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CancelShipmentResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CancelShipmentResponse {
|
|
18
|
+
/**
|
|
19
|
+
* The payload for the cancelShipment operation.
|
|
20
|
+
* @type {{ [key: string]: object; }}
|
|
21
|
+
* @memberof CancelShipmentResponse
|
|
22
|
+
*/
|
|
23
|
+
'payload'?: {
|
|
24
|
+
[key: string]: object;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Attribute Properties required by carrier
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CarrierAccountAttribute
|
|
16
|
+
*/
|
|
17
|
+
export interface CarrierAccountAttribute {
|
|
18
|
+
/**
|
|
19
|
+
* Attribute Name .
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CarrierAccountAttribute
|
|
22
|
+
*/
|
|
23
|
+
'attributeName'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Property Group.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CarrierAccountAttribute
|
|
28
|
+
*/
|
|
29
|
+
'propertyGroup'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Value .
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CarrierAccountAttribute
|
|
34
|
+
*/
|
|
35
|
+
'value'?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { InputType } from './input-type';
|
|
13
|
+
import { ValidationMetadata } from './validation-metadata';
|
|
14
|
+
/**
|
|
15
|
+
* Info About CarrierAccountInput
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CarrierAccountInput
|
|
18
|
+
*/
|
|
19
|
+
export interface CarrierAccountInput {
|
|
20
|
+
/**
|
|
21
|
+
* descriptionLocalizationKey value .
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CarrierAccountInput
|
|
24
|
+
*/
|
|
25
|
+
'descriptionLocalizationKey'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* name value .
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CarrierAccountInput
|
|
30
|
+
*/
|
|
31
|
+
'name'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* groupName value .
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CarrierAccountInput
|
|
36
|
+
*/
|
|
37
|
+
'groupName'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {InputType}
|
|
41
|
+
* @memberof CarrierAccountInput
|
|
42
|
+
*/
|
|
43
|
+
'inputType'?: InputType;
|
|
44
|
+
/**
|
|
45
|
+
* mandatory or not value .
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof CarrierAccountInput
|
|
48
|
+
*/
|
|
49
|
+
'isMandatory'?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* is value is Confidential .
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof CarrierAccountInput
|
|
54
|
+
*/
|
|
55
|
+
'isConfidential'?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* is value is hidden .
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof CarrierAccountInput
|
|
60
|
+
*/
|
|
61
|
+
'isHidden'?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* A list of ValidationMetadata
|
|
64
|
+
* @type {Array<ValidationMetadata>}
|
|
65
|
+
* @memberof CarrierAccountInput
|
|
66
|
+
*/
|
|
67
|
+
'validationMetadata'?: Array<ValidationMetadata>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Carrier Related Info
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Carrier
|
|
16
|
+
*/
|
|
17
|
+
export interface Carrier {
|
|
18
|
+
/**
|
|
19
|
+
* The carrier identifier for the offering, provided by the carrier.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Carrier
|
|
22
|
+
*/
|
|
23
|
+
'id': string;
|
|
24
|
+
/**
|
|
25
|
+
* The carrier name for the offering.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Carrier
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AmazonOrderDetails } from './amazon-order-details';
|
|
13
|
+
import { AmazonShipmentDetails } from './amazon-shipment-details';
|
|
14
|
+
import { ChannelType } from './channel-type';
|
|
15
|
+
/**
|
|
16
|
+
* Shipment source channel related information.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ChannelDetails
|
|
19
|
+
*/
|
|
20
|
+
export interface ChannelDetails {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {ChannelType}
|
|
24
|
+
* @memberof ChannelDetails
|
|
25
|
+
*/
|
|
26
|
+
'channelType': ChannelType;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {AmazonOrderDetails}
|
|
30
|
+
* @memberof ChannelDetails
|
|
31
|
+
*/
|
|
32
|
+
'amazonOrderDetails'?: AmazonOrderDetails;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {AmazonShipmentDetails}
|
|
36
|
+
* @memberof ChannelDetails
|
|
37
|
+
*/
|
|
38
|
+
'amazonShipmentDetails'?: AmazonShipmentDetails;
|
|
39
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The shipment source channel type.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const ChannelType: {
|
|
18
|
+
readonly Amazon: "AMAZON";
|
|
19
|
+
readonly External: "EXTERNAL";
|
|
20
|
+
};
|
|
21
|
+
export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Currency } from './currency';
|
|
13
|
+
/**
|
|
14
|
+
* The type and amount of a charge applied on a package.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ChargeComponent
|
|
17
|
+
*/
|
|
18
|
+
export interface ChargeComponent {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Currency}
|
|
22
|
+
* @memberof ChargeComponent
|
|
23
|
+
*/
|
|
24
|
+
'amount'?: Currency;
|
|
25
|
+
/**
|
|
26
|
+
* The type of charge.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ChargeComponent
|
|
29
|
+
*/
|
|
30
|
+
'chargeType'?: ChargeComponentChargeTypeEnum;
|
|
31
|
+
}
|
|
32
|
+
export declare const ChargeComponentChargeTypeEnum: {
|
|
33
|
+
readonly Tax: "TAX";
|
|
34
|
+
readonly Discount: "DISCOUNT";
|
|
35
|
+
};
|
|
36
|
+
export type ChargeComponentChargeTypeEnum = typeof ChargeComponentChargeTypeEnum[keyof typeof ChargeComponentChargeTypeEnum];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Client Reference Details
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ClientReferenceDetail
|
|
16
|
+
*/
|
|
17
|
+
export interface ClientReferenceDetail {
|
|
18
|
+
/**
|
|
19
|
+
* Client Reference type.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ClientReferenceDetail
|
|
22
|
+
*/
|
|
23
|
+
'clientReferenceType': ClientReferenceDetailClientReferenceTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* The Client Reference Id.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ClientReferenceDetail
|
|
28
|
+
*/
|
|
29
|
+
'clientReferenceId': string;
|
|
30
|
+
}
|
|
31
|
+
export declare const ClientReferenceDetailClientReferenceTypeEnum: {
|
|
32
|
+
readonly IntegratorShipperId: "IntegratorShipperId";
|
|
33
|
+
readonly IntegratorMerchantId: "IntegratorMerchantId";
|
|
34
|
+
};
|
|
35
|
+
export type ClientReferenceDetailClientReferenceTypeEnum = typeof ClientReferenceDetailClientReferenceTypeEnum[keyof typeof ClientReferenceDetailClientReferenceTypeEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Currency } from './currency';
|
|
13
|
+
/**
|
|
14
|
+
* The amount to collect on delivery.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CollectOnDelivery
|
|
17
|
+
*/
|
|
18
|
+
export interface CollectOnDelivery {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Currency}
|
|
22
|
+
* @memberof CollectOnDelivery
|
|
23
|
+
*/
|
|
24
|
+
'amount': Currency;
|
|
25
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Address } from './address';
|
|
13
|
+
import { GenerationStatus } from './generation-status';
|
|
14
|
+
/**
|
|
15
|
+
* Active Account Details
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CollectionFormsHistoryRecord
|
|
18
|
+
*/
|
|
19
|
+
export interface CollectionFormsHistoryRecord {
|
|
20
|
+
/**
|
|
21
|
+
* The carrier name for the offering.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CollectionFormsHistoryRecord
|
|
24
|
+
*/
|
|
25
|
+
'carrierName'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Creation Time for this account.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CollectionFormsHistoryRecord
|
|
30
|
+
*/
|
|
31
|
+
'creationDate'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {GenerationStatus}
|
|
35
|
+
* @memberof CollectionFormsHistoryRecord
|
|
36
|
+
*/
|
|
37
|
+
'generationStatus'?: GenerationStatus;
|
|
38
|
+
/**
|
|
39
|
+
* Collection Form Id for Reprint .
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CollectionFormsHistoryRecord
|
|
42
|
+
*/
|
|
43
|
+
'collectionFormId'?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Address}
|
|
47
|
+
* @memberof CollectionFormsHistoryRecord
|
|
48
|
+
*/
|
|
49
|
+
'shipFromAddress'?: Address;
|
|
50
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Collection Form Document Details
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CollectionsFormDocument
|
|
16
|
+
*/
|
|
17
|
+
export interface CollectionsFormDocument {
|
|
18
|
+
/**
|
|
19
|
+
* Base64 document Value of Collection.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CollectionsFormDocument
|
|
22
|
+
*/
|
|
23
|
+
'base64EncodedContent'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Collection Document format is PDF.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CollectionsFormDocument
|
|
28
|
+
*/
|
|
29
|
+
'documentFormat'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The monetary value in the currency indicated, in ISO 4217 standard format.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Currency
|
|
16
|
+
*/
|
|
17
|
+
export interface Currency {
|
|
18
|
+
/**
|
|
19
|
+
* The monetary value.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof Currency
|
|
22
|
+
*/
|
|
23
|
+
'value': number;
|
|
24
|
+
/**
|
|
25
|
+
* The ISO 4217 format 3-character currency code.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Currency
|
|
28
|
+
*/
|
|
29
|
+
'unit': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Details related to any dangerous goods/items that are being shipped.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DangerousGoodsDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface DangerousGoodsDetails {
|
|
18
|
+
/**
|
|
19
|
+
* The specific UNID of the item being shipped.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DangerousGoodsDetails
|
|
22
|
+
*/
|
|
23
|
+
'unitedNationsRegulatoryId'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The specific regulatory class of the item being shipped.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DangerousGoodsDetails
|
|
28
|
+
*/
|
|
29
|
+
'transportationRegulatoryClass'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The specific packaging group of the item being shipped.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DangerousGoodsDetails
|
|
34
|
+
*/
|
|
35
|
+
'packingGroup'?: DangerousGoodsDetailsPackingGroupEnum;
|
|
36
|
+
/**
|
|
37
|
+
* The specific packing instruction of the item being shipped.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DangerousGoodsDetails
|
|
40
|
+
*/
|
|
41
|
+
'packingInstruction'?: DangerousGoodsDetailsPackingInstructionEnum;
|
|
42
|
+
}
|
|
43
|
+
export declare const DangerousGoodsDetailsPackingGroupEnum: {
|
|
44
|
+
readonly I: "I";
|
|
45
|
+
readonly Ii: "II";
|
|
46
|
+
readonly Iii: "III";
|
|
47
|
+
};
|
|
48
|
+
export type DangerousGoodsDetailsPackingGroupEnum = typeof DangerousGoodsDetailsPackingGroupEnum[keyof typeof DangerousGoodsDetailsPackingGroupEnum];
|
|
49
|
+
export declare const DangerousGoodsDetailsPackingInstructionEnum: {
|
|
50
|
+
readonly Pi965SectionIa: "PI965_SECTION_IA";
|
|
51
|
+
readonly Pi965SectionIb: "PI965_SECTION_IB";
|
|
52
|
+
readonly Pi965SectionIi: "PI965_SECTION_II";
|
|
53
|
+
readonly Pi966SectionI: "PI966_SECTION_I";
|
|
54
|
+
readonly Pi966SectionIi: "PI966_SECTION_II";
|
|
55
|
+
readonly Pi967SectionI: "PI967_SECTION_I";
|
|
56
|
+
readonly Pi967SectionIi: "PI967_SECTION_II";
|
|
57
|
+
readonly Pi968SectionIa: "PI968_SECTION_IA";
|
|
58
|
+
readonly Pi968SectionIb: "PI968_SECTION_IB";
|
|
59
|
+
readonly Pi969SectionI: "PI969_SECTION_I";
|
|
60
|
+
readonly Pi969SectionIi: "PI969_SECTION_II";
|
|
61
|
+
readonly Pi970SectionI: "PI970_SECTION_I";
|
|
62
|
+
readonly Pi970SectionIi: "PI970_SECTION_II";
|
|
63
|
+
};
|
|
64
|
+
export type DangerousGoodsDetailsPackingInstructionEnum = typeof DangerousGoodsDetailsPackingInstructionEnum[keyof typeof DangerousGoodsDetailsPackingInstructionEnum];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Date Range for query the results.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DateRange
|
|
16
|
+
*/
|
|
17
|
+
export interface DateRange {
|
|
18
|
+
/**
|
|
19
|
+
* Start Date for query .
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DateRange
|
|
22
|
+
*/
|
|
23
|
+
'startDate'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* end date for query.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DateRange
|
|
28
|
+
*/
|
|
29
|
+
'endDate'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* A set of measurements for a three-dimensional object.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Dimensions
|
|
16
|
+
*/
|
|
17
|
+
export interface Dimensions {
|
|
18
|
+
/**
|
|
19
|
+
* The length of the package.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof Dimensions
|
|
22
|
+
*/
|
|
23
|
+
'length': number;
|
|
24
|
+
/**
|
|
25
|
+
* The width of the package.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof Dimensions
|
|
28
|
+
*/
|
|
29
|
+
'width': number;
|
|
30
|
+
/**
|
|
31
|
+
* The height of the package.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof Dimensions
|
|
34
|
+
*/
|
|
35
|
+
'height': number;
|
|
36
|
+
/**
|
|
37
|
+
* The unit of measurement.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Dimensions
|
|
40
|
+
*/
|
|
41
|
+
'unit': DimensionsUnitEnum;
|
|
42
|
+
}
|
|
43
|
+
export declare const DimensionsUnitEnum: {
|
|
44
|
+
readonly Inch: "INCH";
|
|
45
|
+
readonly Centimeter: "CENTIMETER";
|
|
46
|
+
};
|
|
47
|
+
export type DimensionsUnitEnum = typeof DimensionsUnitEnum[keyof typeof DimensionsUnitEnum];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Amazon Shipping API
|
|
3
|
+
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
* Contact: swa-api-core@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Item identifiers for an item in a direct fulfillment shipment.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DirectFulfillmentItemIdentifiers
|
|
16
|
+
*/
|
|
17
|
+
export interface DirectFulfillmentItemIdentifiers {
|
|
18
|
+
/**
|
|
19
|
+
* A unique identifier for an item provided by the client for a direct fulfillment shipment. This is only populated for direct fulfillment multi-piece shipments. It is required if a vendor wants to change the configuration of the packages in which the purchase order is shipped.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DirectFulfillmentItemIdentifiers
|
|
22
|
+
*/
|
|
23
|
+
'lineItemID': string;
|
|
24
|
+
/**
|
|
25
|
+
* A unique identifier for an item provided by the client for a direct fulfillment shipment. This is only populated if a single line item has multiple pieces. Defaults to 1.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DirectFulfillmentItemIdentifiers
|
|
28
|
+
*/
|
|
29
|
+
'pieceNumber'?: string;
|
|
30
|
+
}
|