1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xcea9=['bluebird','request-promise','path','rimraf','../../config/environment','./cmContactHasItem.attributes','exports','define','CmContactHasItem','cm_contact_has_items','lodash','util','../../config/logger','moment'];(function(_0x370723,_0x179030){var _0x4f82bb=function(_0x49f0ee){while(--_0x49f0ee){_0x370723['push'](_0x370723['shift']());}};_0x4f82bb(++_0x179030);}(_0xcea9,0x1bc));var _0x9cea=function(_0x2ee6fd,_0x256f22){_0x2ee6fd=_0x2ee6fd-0x0;var _0x2e9b8d=_0xcea9[_0x2ee6fd];return _0x2e9b8d;};'use strict';var _=require(_0x9cea('0x0'));var util=require(_0x9cea('0x1'));var logger=require(_0x9cea('0x2'))('api');var moment=require(_0x9cea('0x3'));var BPromise=require(_0x9cea('0x4'));var rp=require(_0x9cea('0x5'));var fs=require('fs');var path=require(_0x9cea('0x6'));var rimraf=require(_0x9cea('0x7'));var config=require(_0x9cea('0x8'));var attributes=require(_0x9cea('0x9'));module[_0x9cea('0xa')]=function(_0x5d963b,_0x1befc9){return _0x5d963b[_0x9cea('0xb')](_0x9cea('0xc'),attributes,{'tableName':_0x9cea('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};