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 _0x4d9b=['define','CmContactHasItem','cm_contact_has_items','../../config/logger','bluebird','request-promise','path','rimraf','./cmContactHasItem.attributes','exports'];(function(_0x4c0baa,_0x2e110f){var _0x4bf459=function(_0x401aa3){while(--_0x401aa3){_0x4c0baa['push'](_0x4c0baa['shift']());}};_0x4bf459(++_0x2e110f);}(_0x4d9b,0xa3));var _0xb4d9=function(_0x12be2a,_0x3bc4f4){_0x12be2a=_0x12be2a-0x0;var _0x1ff626=_0x4d9b[_0x12be2a];return _0x1ff626;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xb4d9('0x0'))('api');var moment=require('moment');var BPromise=require(_0xb4d9('0x1'));var rp=require(_0xb4d9('0x2'));var fs=require('fs');var path=require(_0xb4d9('0x3'));var rimraf=require(_0xb4d9('0x4'));var config=require('../../config/environment');var attributes=require(_0xb4d9('0x5'));module[_0xb4d9('0x6')]=function(_0x5862f4,_0x5e42a0){return _0x5862f4[_0xb4d9('0x7')](_0xb4d9('0x8'),attributes,{'tableName':_0xb4d9('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};