28e35bc320425def091db145051e673075131aad
[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 _0xe4a9=['mail_servers_out','lodash','util','../../config/logger','api','moment','bluebird','request-promise','./mailServerOut.attributes','define','MailServerOut'];(function(_0x5b7449,_0x195288){var _0x41a13c=function(_0x5ad0e0){while(--_0x5ad0e0){_0x5b7449['push'](_0x5b7449['shift']());}};_0x41a13c(++_0x195288);}(_0xe4a9,0xe8));var _0x9e4a=function(_0x3832f9,_0x59c443){_0x3832f9=_0x3832f9-0x0;var _0x37418c=_0xe4a9[_0x3832f9];return _0x37418c;};'use strict';var _=require(_0x9e4a('0x0'));var util=require(_0x9e4a('0x1'));var logger=require(_0x9e4a('0x2'))(_0x9e4a('0x3'));var moment=require(_0x9e4a('0x4'));var BPromise=require(_0x9e4a('0x5'));var rp=require(_0x9e4a('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x9e4a('0x7'));module['exports']=function(_0x53a248,_0xf02fe6){return _0x53a248[_0x9e4a('0x8')](_0x9e4a('0x9'),attributes,{'tableName':_0x9e4a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};