Built motion from commit d5e4af8c.|2.6.23
[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 _0x2fdf=['exports','define','MailServerIn','api','moment','bluebird','rimraf','../../config/environment','./mailServerIn.attributes'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x2fdf,0x1aa));var _0xf2fd=function(_0x4154a6,_0x2c0b8e){_0x4154a6=_0x4154a6-0x0;var _0x3b2786=_0x2fdf[_0x4154a6];return _0x3b2786;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xf2fd('0x0'));var moment=require(_0xf2fd('0x1'));var BPromise=require(_0xf2fd('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf2fd('0x3'));var config=require(_0xf2fd('0x4'));var attributes=require(_0xf2fd('0x5'));module[_0xf2fd('0x6')]=function(_0x379574,_0x8c277d){return _0x379574[_0xf2fd('0x7')](_0xf2fd('0x8'),attributes,{'tableName':'mail_servers_in','paranoid':![],'indexes':[],'timestamps':!![]});};