Built motion from commit f7863d46.|2.5.41
[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 _0x6877=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./mailServerIn.attributes','exports','define','MailServerIn','mail_servers_in','lodash','../../config/logger'];(function(_0x137f14,_0x13ac35){var _0x13d9bc=function(_0x2ff2c5){while(--_0x2ff2c5){_0x137f14['push'](_0x137f14['shift']());}};_0x13d9bc(++_0x13ac35);}(_0x6877,0xa6));var _0x7687=function(_0x1203f,_0x554bbc){_0x1203f=_0x1203f-0x0;var _0x365f0a=_0x6877[_0x1203f];return _0x365f0a;};'use strict';var _=require(_0x7687('0x0'));var util=require('util');var logger=require(_0x7687('0x1'))(_0x7687('0x2'));var moment=require(_0x7687('0x3'));var BPromise=require(_0x7687('0x4'));var rp=require(_0x7687('0x5'));var fs=require('fs');var path=require(_0x7687('0x6'));var rimraf=require(_0x7687('0x7'));var config=require(_0x7687('0x8'));var attributes=require(_0x7687('0x9'));module[_0x7687('0xa')]=function(_0x5e6810,_0xe4f92d){return _0x5e6810[_0x7687('0xb')](_0x7687('0xc'),attributes,{'tableName':_0x7687('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};