[warehouse] 'type' field added to operations
[warehouse] module promises moved to provider