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 _0x4e23=['define','CmContactHasItem','cm_contact_has_items','lodash','util','../../config/logger','moment','bluebird','path','rimraf','./cmContactHasItem.attributes','exports'];(function(_0x527a53,_0x3265d6){var _0x2332f5=function(_0x3b2d90){while(--_0x3b2d90){_0x527a53['push'](_0x527a53['shift']());}};_0x2332f5(++_0x3265d6);}(_0x4e23,0x93));var _0x34e2=function(_0x4ea9f4,_0x57a270){_0x4ea9f4=_0x4ea9f4-0x0;var _0x3ad434=_0x4e23[_0x4ea9f4];return _0x3ad434;};'use strict';var _=require(_0x34e2('0x0'));var util=require(_0x34e2('0x1'));var logger=require(_0x34e2('0x2'))('api');var moment=require(_0x34e2('0x3'));var BPromise=require(_0x34e2('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x34e2('0x5'));var rimraf=require(_0x34e2('0x6'));var config=require('../../config/environment');var attributes=require(_0x34e2('0x7'));module[_0x34e2('0x8')]=function(_0x183222,_0x5073fa){return _0x183222[_0x34e2('0x9')](_0x34e2('0xa'),attributes,{'tableName':_0x34e2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};