5ed33df7fb016f59d04ca4c163b60dcf8a8a4bef
[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 _0x7912=['define','MailServerOut','mail_servers_out','lodash','util','../../config/logger','bluebird','request-promise','rimraf','./mailServerOut.attributes','exports'];(function(_0x3373b7,_0x19160d){var _0x50e444=function(_0x2f7c9f){while(--_0x2f7c9f){_0x3373b7['push'](_0x3373b7['shift']());}};_0x50e444(++_0x19160d);}(_0x7912,0xdf));var _0x2791=function(_0x13e5b4,_0x350cbd){_0x13e5b4=_0x13e5b4-0x0;var _0x13605a=_0x7912[_0x13e5b4];return _0x13605a;};'use strict';var _=require(_0x2791('0x0'));var util=require(_0x2791('0x1'));var logger=require(_0x2791('0x2'))('api');var moment=require('moment');var BPromise=require(_0x2791('0x3'));var rp=require(_0x2791('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2791('0x5'));var config=require('../../config/environment');var attributes=require(_0x2791('0x6'));module[_0x2791('0x7')]=function(_0x413703,_0x3de711){return _0x413703[_0x2791('0x8')](_0x2791('0x9'),attributes,{'tableName':_0x2791('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};