export declare namespace Amazon { enum SalesChannel { UnitedKingdom = "Amazon.co.uk", Germany = "Amazon.de", Spain = "Amazon.es", France = "Amazon.fr", Italy = "Amazon.it", Canada = "Amazon.ca", UnitedState = "Amazon.com", Mexico = "Amazon.com.mx", Japan = "Amazon.co.jp\"" } enum Marketplace { Brazil = "A2Q3Y263D00KWC", Canada = "A2EUQ1WTGCTBG2", Mexico = "A1AM78C64UM0Y8", UnitedState = "ATVPDKIKX0DER", UnitedArabEmirates = "A2VIGQ35RCS4UG", Germany = "A1PA6795UKMFR9", Egypt = "ARBP9OOSHTCHU", Spain = "A1RKKUPIHCS9HS", France = "A13V1IB3VIYZZH", UnitedKingdom = "A1F83G8C2ARO7P", India = "A21TJRUUN4KGV", Italy = "APJ6JRA9NG5V4", Netherlands = "A1805IZSGTT6HS", SaudiArabia = "A17E79C6D8DWNP", Turkey = "A33AVAJ2PDY3EV", Singapore = "A19VAU5U5O7RUS", Australia = "A39IBJ37TRP1C6", Japan = "A1VC38T7YXB528" } enum FulfillmentChannel { Amazon = "AFN", Merchant = "MFN" } type ShipServiceLevel = "Expedited" | "SecondDay" | "Standard" | "NextDay"; type OrderItemStatus = "Cancelled" | "Shipped" | "Unshipped"; type OrderStatus = "Canceled" | "InvoiceUnconfirmed" | "PartiallyShipped" | "Pending" | "PendingAvailability" | "Shipped" | "Unfulfillable" | "Unshipped"; interface Credentials { host: string; accessKey: string; authToken?: string; sellerId: string; secretKey: string; } type BooleanType = "true" | "false"; type IntType = string; type DateTimeType = string; type DateType = string; type DecimalType = string; type ListingCondition = "New" | "Used" | "Collectible" | "Refurbished" | "Preorder" | "Club"; interface ServiceStatus { status: ServiceStatusColor; timestamp: string; } type ServiceStatusColor = "GREEN" | "RED" | "YELLOW"; interface Measurement { units: Units; value: number; } interface Points { pointsNumber: number; pointsMonetaryValue: Money; } interface Money { currencyCode?: CurrencyCode; amount?: DecimalType; } interface Address { name: string; addressLine1: string; addressLine2: string; city: string; districtOrCounty: string; stateOrProvinceCode: string; countryCode: string; postalCode: string; } interface ShippingAddress { name: string; addressLine1?: string; addressLine2?: string; addressLine3?: string; city?: string; county?: string; district?: string; stateOrRegion?: string; postalCode?: string; countryCode?: string; phone?: string; addressType?: string; } interface Response { headers: Record; data?: Data; metadata: { requestId?: string; timestamp?: Date; quotaResetOn?: Date; quotaRemaining?: number; quotaMax?: number; [key: string]: any; }; } interface CsvResponseError { } interface XmlResponseError { errorResponse: { error: { type: "Sender"; code: XmlResponseErrorCode; message: string; detail?: string; }; requestId: string; }; } type XmlResponseErrorCode = "InputStreamDisconnected" | "InvalidParameterValue" | "AccessDenied" | "InvalidAccessKeyId" | "SignatureDoesNotMatch" | "InvalidAddress" | "InternalError" | "QuotaExceeded" | "RequestThrottled"; interface XmlEnvelopeResponse = any> { amazonEnvelope: { header: { documentVersion: string; merchantIdentifier: string; }; messageType: string; message: Data; }; } type CurrencyCode = "USD" | "EUR" | "GBP" | "CAD" | "RMB" | "INR" | "JPY" | "MSN"; type PaymentMethod = "COD" | "CVS" | "Other"; type ShipmentStatus = "WORKING" | "SHIPPED" | "IN_TRANSIT" | "DELIVERED" | "CHECKED_IN" | "RECEIVING" | "CLOSED" | "CANCELLED" | "DELETED" | "ERROR"; type EasyShipShipmentStatus = "PendingPickUp" | "LabelCanceled" | "PickedUp" | "OutForDelivery" | "Damaged" | "Delivered" | "RejectedByBuyer" | "Undeliverable" | "ReturnedToSeller" | "ReturningToSeller" | "Lost"; type Units = "pixels" | "inches" | "pounds"; type YesOrNo = "Y" | "N"; type AddressType = "Commercial" | "Residential"; type ListingStatus = "Active" | "Inactive" | "Incomplete"; type MerchantShippingGroup = "Migrated DVD Template" | "Migrated Template" | "Prime template"; type InventorySupplyResourceGroup = "Basic" | "Detailed"; type InventorySupplyType = "InStock" | "Inbound" | "Transfer"; }