Built motion from commit 9d7072cc.|2.5.39
[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 _0x9ffe=['mail_servers_out','util','api','moment','request-promise','path','rimraf','MailServerOut'];(function(_0x2d76f1,_0x2769c9){var _0x2386cd=function(_0xdb76f5){while(--_0xdb76f5){_0x2d76f1['push'](_0x2d76f1['shift']());}};_0x2386cd(++_0x2769c9);}(_0x9ffe,0xe9));var _0xe9ff=function(_0x1220dc,_0x448145){_0x1220dc=_0x1220dc-0x0;var _0x264ada=_0x9ffe[_0x1220dc];return _0x264ada;};'use strict';var _=require('lodash');var util=require(_0xe9ff('0x0'));var logger=require('../../config/logger')(_0xe9ff('0x1'));var moment=require(_0xe9ff('0x2'));var BPromise=require('bluebird');var rp=require(_0xe9ff('0x3'));var fs=require('fs');var path=require(_0xe9ff('0x4'));var rimraf=require(_0xe9ff('0x5'));var config=require('../../config/environment');var attributes=require('./mailServerOut.attributes');module['exports']=function(_0xef5d4f,_0x54326a){return _0xef5d4f['define'](_0xe9ff('0x6'),attributes,{'tableName':_0xe9ff('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};