4bbf03cca2a410102ae3d7e2691e7cd795d07be9
[motion2.git] / server / api / mailServerOut / mailServerOut.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xcfa5=['mail_servers_out','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./mailServerOut.attributes','exports','define','MailServerOut'];(function(_0x239000,_0x498192){var _0x1b52d3=function(_0x4f330d){while(--_0x4f330d){_0x239000['push'](_0x239000['shift']());}};_0x1b52d3(++_0x498192);}(_0xcfa5,0x1dd));var _0x5cfa=function(_0x2d7f0e,_0x3e6fbd){_0x2d7f0e=_0x2d7f0e-0x0;var _0x110b07=_0xcfa5[_0x2d7f0e];return _0x110b07;};'use strict';var _=require(_0x5cfa('0x0'));var util=require(_0x5cfa('0x1'));var logger=require('../../config/logger')(_0x5cfa('0x2'));var moment=require(_0x5cfa('0x3'));var BPromise=require(_0x5cfa('0x4'));var rp=require(_0x5cfa('0x5'));var fs=require('fs');var path=require(_0x5cfa('0x6'));var rimraf=require(_0x5cfa('0x7'));var config=require(_0x5cfa('0x8'));var attributes=require(_0x5cfa('0x9'));module[_0x5cfa('0xa')]=function(_0x3f6da0,_0x4dd882){return _0x3f6da0[_0x5cfa('0xb')](_0x5cfa('0xc'),attributes,{'tableName':_0x5cfa('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};