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 _0xeab0=['request-promise','path','rimraf','../../config/environment','./attachment.attributes','define','Attachment','attachments','util','../../config/logger','api','bluebird'];(function(_0x486151,_0x2ed167){var _0x794537=function(_0x446de3){while(--_0x446de3){_0x486151['push'](_0x486151['shift']());}};_0x794537(++_0x2ed167);}(_0xeab0,0x188));var _0x0eab=function(_0x346737,_0x3e6081){_0x346737=_0x346737-0x0;var _0x1ade2e=_0xeab0[_0x346737];return _0x1ade2e;};'use strict';var _=require('lodash');var util=require(_0x0eab('0x0'));var logger=require(_0x0eab('0x1'))(_0x0eab('0x2'));var moment=require('moment');var BPromise=require(_0x0eab('0x3'));var rp=require(_0x0eab('0x4'));var fs=require('fs');var path=require(_0x0eab('0x5'));var rimraf=require(_0x0eab('0x6'));var config=require(_0x0eab('0x7'));var attributes=require(_0x0eab('0x8'));module['exports']=function(_0x49e42b,_0x5149e5){return _0x49e42b[_0x0eab('0x9')](_0x0eab('0xa'),attributes,{'tableName':_0x0eab('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};