ead8affe9458f5b460e00db77a86f0436980fc9c
[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 _0xf94a=['./mailServerOut.attributes','exports','define','MailServerOut','mail_servers_out','../../config/logger','api','bluebird','request-promise','path','../../config/environment'];(function(_0x1585eb,_0x3d2a17){var _0x2eec66=function(_0x58fbad){while(--_0x58fbad){_0x1585eb['push'](_0x1585eb['shift']());}};_0x2eec66(++_0x3d2a17);}(_0xf94a,0x123));var _0xaf94=function(_0x1ce882,_0x483860){_0x1ce882=_0x1ce882-0x0;var _0x41f84a=_0xf94a[_0x1ce882];return _0x41f84a;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xaf94('0x0'))(_0xaf94('0x1'));var moment=require('moment');var BPromise=require(_0xaf94('0x2'));var rp=require(_0xaf94('0x3'));var fs=require('fs');var path=require(_0xaf94('0x4'));var rimraf=require('rimraf');var config=require(_0xaf94('0x5'));var attributes=require(_0xaf94('0x6'));module[_0xaf94('0x7')]=function(_0x446d7b,_0x346613){return _0x446d7b[_0xaf94('0x8')](_0xaf94('0x9'),attributes,{'tableName':_0xaf94('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};