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 _0x6ed3=['lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./cmContactHasItem.attributes','exports','CmContactHasItem','cm_contact_has_items'];(function(_0x5303b9,_0x5c548){var _0x455125=function(_0x24ad74){while(--_0x24ad74){_0x5303b9['push'](_0x5303b9['shift']());}};_0x455125(++_0x5c548);}(_0x6ed3,0xb4));var _0x36ed=function(_0x727f82,_0x29531d){_0x727f82=_0x727f82-0x0;var _0x324e51=_0x6ed3[_0x727f82];return _0x324e51;};'use strict';var _=require(_0x36ed('0x0'));var util=require(_0x36ed('0x1'));var logger=require(_0x36ed('0x2'))('api');var moment=require(_0x36ed('0x3'));var BPromise=require(_0x36ed('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x36ed('0x5'));var rimraf=require(_0x36ed('0x6'));var config=require(_0x36ed('0x7'));var attributes=require(_0x36ed('0x8'));module[_0x36ed('0x9')]=function(_0x81c5cd,_0xd86b44){return _0x81c5cd['define'](_0x36ed('0xa'),attributes,{'tableName':_0x36ed('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};