UNPKG

amazon-seller-mcp

Version:

Model Context Protocol (MCP) client for Amazon Selling Partner API

40 lines (39 loc) 937 B
/** * Inventory notifications handler * * This file implements the inventory change notification handler */ import { NotificationManager } from './notifications.js'; import { InventoryClient } from '../api/inventory-client.js'; /** * Inventory change event data */ export interface InventoryChangeEvent { /** * Seller SKU */ sku: string; /** * Fulfillment channel */ fulfillmentChannel: 'AMAZON' | 'SELLER'; /** * Previous quantity */ previousQuantity: number; /** * New quantity */ newQuantity: number; /** * Marketplace ID */ marketplaceId: string; } /** * Sets up inventory change notifications * * @param inventoryClient Inventory client * @param notificationManager Notification manager */ export declare function setupInventoryChangeNotifications(inventoryClient: InventoryClient, notificationManager: NotificationManager): void;