Built motion from commit 936e8062.|2.5.33
[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 _0x6e1a=['api','moment','rimraf','../../config/environment','exports','MailServerIn','lodash'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x6e1a,0x8b));var _0xa6e1=function(_0x57ae18,_0x453807){_0x57ae18=_0x57ae18-0x0;var _0x24d17e=_0x6e1a[_0x57ae18];return _0x24d17e;};'use strict';var _=require(_0xa6e1('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xa6e1('0x1'));var moment=require(_0xa6e1('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xa6e1('0x3'));var config=require(_0xa6e1('0x4'));var attributes=require('./mailServerIn.attributes');module[_0xa6e1('0x5')]=function(_0x647f78,_0x15776e){return _0x647f78['define'](_0xa6e1('0x6'),attributes,{'tableName':'mail_servers_in','paranoid':![],'indexes':[],'timestamps':!![]});};