f4e3997fe6c58dd02e4bd43f613f669dfa0841f4
[motion2.git] / server / api / mailServerIn / mailServerIn.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 _0x3e6f=['mail_servers_in','lodash','util','moment','bluebird','request-promise','path','./mailServerIn.attributes','exports','define','MailServerIn'];(function(_0x33c9a5,_0x56a100){var _0x634f31=function(_0x18cc60){while(--_0x18cc60){_0x33c9a5['push'](_0x33c9a5['shift']());}};_0x634f31(++_0x56a100);}(_0x3e6f,0x14b));var _0xf3e6=function(_0x1920be,_0x597680){_0x1920be=_0x1920be-0x0;var _0x13563d=_0x3e6f[_0x1920be];return _0x13563d;};'use strict';var _=require(_0xf3e6('0x0'));var util=require(_0xf3e6('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xf3e6('0x2'));var BPromise=require(_0xf3e6('0x3'));var rp=require(_0xf3e6('0x4'));var fs=require('fs');var path=require(_0xf3e6('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xf3e6('0x6'));module[_0xf3e6('0x7')]=function(_0x54ad69,_0x1da9ab){return _0x54ad69[_0xf3e6('0x8')](_0xf3e6('0x9'),attributes,{'tableName':_0xf3e6('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};