Built motion from commit da617fac.|2.6.6
[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 _0xfc86=['./mailServerIn.attributes','exports','mail_servers_in','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment'];(function(_0x2b7c5f,_0x2cd24c){var _0x373651=function(_0x31324a){while(--_0x31324a){_0x2b7c5f['push'](_0x2b7c5f['shift']());}};_0x373651(++_0x2cd24c);}(_0xfc86,0x14d));var _0x6fc8=function(_0x4e7ae5,_0x407167){_0x4e7ae5=_0x4e7ae5-0x0;var _0x14d181=_0xfc86[_0x4e7ae5];return _0x14d181;};'use strict';var _=require('lodash');var util=require(_0x6fc8('0x0'));var logger=require(_0x6fc8('0x1'))(_0x6fc8('0x2'));var moment=require(_0x6fc8('0x3'));var BPromise=require(_0x6fc8('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6fc8('0x5'));var config=require(_0x6fc8('0x6'));var attributes=require(_0x6fc8('0x7'));module[_0x6fc8('0x8')]=function(_0x76d3d8,_0x372ba7){return _0x76d3d8['define']('MailServerIn',attributes,{'tableName':_0x6fc8('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};