channelape-sdk
Version:
A client for interacting with ChannelApe's API
15 lines (14 loc) • 819 B
TypeScript
import RequestClientWrapper from '../../RequestClientWrapper';
import RestService from '../../service/RestService';
import { BatchAdjustmentCreationRequest } from '../models/BatchAdjustmentCreationRequest';
import { BatchResponse } from '../models/BatchResponse';
export declare class BatchesService extends RestService {
private readonly client;
private readonly logger;
private EXPECTED_POST_STATUS;
private EXPECTED_GET_STATUS;
constructor(client: RequestClientWrapper);
createInventoryAdjustmentBatch(batchCreationRequest: BatchAdjustmentCreationRequest): Promise<BatchResponse>;
get(batchId: string): Promise<BatchResponse>;
}
export declare function generateDeduplicationKey(status: string, locationId: string, deduplicationKey: string, sku: string, inventoryItemId?: number): string;