Built motion from commit e02f907f.|2.6.14
[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 _0xdc10=['rimraf','../../config/environment','define','MailServerIn','mail_servers_in','lodash','util','bluebird','request-promise'];(function(_0x5a3cf0,_0x160a68){var _0x5a64ee=function(_0x34cd1d){while(--_0x34cd1d){_0x5a3cf0['push'](_0x5a3cf0['shift']());}};_0x5a64ee(++_0x160a68);}(_0xdc10,0xa7));var _0x0dc1=function(_0x88cd7b,_0x4c884c){_0x88cd7b=_0x88cd7b-0x0;var _0x56fcc8=_0xdc10[_0x88cd7b];return _0x56fcc8;};'use strict';var _=require(_0x0dc1('0x0'));var util=require(_0x0dc1('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x0dc1('0x2'));var rp=require(_0x0dc1('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0dc1('0x4'));var config=require(_0x0dc1('0x5'));var attributes=require('./mailServerIn.attributes');module['exports']=function(_0x549cac,_0x4469cf){return _0x549cac[_0x0dc1('0x6')](_0x0dc1('0x7'),attributes,{'tableName':_0x0dc1('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};