9d3af27e1fc53b40b38a7e6706b1578c19333faf
[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 _0x4baf=['exports','define','MailServerOut','mail_servers_out','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./mailServerOut.attributes'];(function(_0x4e676e,_0x2a7c6d){var _0x336a3c=function(_0x4767c4){while(--_0x4767c4){_0x4e676e['push'](_0x4e676e['shift']());}};_0x336a3c(++_0x2a7c6d);}(_0x4baf,0x1cb));var _0xf4ba=function(_0x6e0a64,_0x5a8864){_0x6e0a64=_0x6e0a64-0x0;var _0x2332c7=_0x4baf[_0x6e0a64];return _0x2332c7;};'use strict';var _=require('lodash');var util=require(_0xf4ba('0x0'));var logger=require(_0xf4ba('0x1'))(_0xf4ba('0x2'));var moment=require(_0xf4ba('0x3'));var BPromise=require(_0xf4ba('0x4'));var rp=require(_0xf4ba('0x5'));var fs=require('fs');var path=require(_0xf4ba('0x6'));var rimraf=require(_0xf4ba('0x7'));var config=require('../../config/environment');var attributes=require(_0xf4ba('0x8'));module[_0xf4ba('0x9')]=function(_0x1412a7,_0xaa197f){return _0x1412a7[_0xf4ba('0xa')](_0xf4ba('0xb'),attributes,{'tableName':_0xf4ba('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};