Built motion from commit (unavailable).|2.5.27
[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 _0xc7da=['lodash','util','../../config/logger','moment','bluebird','path','rimraf','./mailServerIn.attributes','exports','define','MailServerIn'];(function(_0x9f59a0,_0x5599a8){var _0xe2ee6=function(_0x5e87b7){while(--_0x5e87b7){_0x9f59a0['push'](_0x9f59a0['shift']());}};_0xe2ee6(++_0x5599a8);}(_0xc7da,0xf2));var _0xac7d=function(_0x3c7e22,_0x4e7882){_0x3c7e22=_0x3c7e22-0x0;var _0x218461=_0xc7da[_0x3c7e22];return _0x218461;};'use strict';var _=require(_0xac7d('0x0'));var util=require(_0xac7d('0x1'));var logger=require(_0xac7d('0x2'))('api');var moment=require(_0xac7d('0x3'));var BPromise=require(_0xac7d('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xac7d('0x5'));var rimraf=require(_0xac7d('0x6'));var config=require('../../config/environment');var attributes=require(_0xac7d('0x7'));module[_0xac7d('0x8')]=function(_0x263268,_0x2265e7){return _0x263268[_0xac7d('0x9')](_0xac7d('0xa'),attributes,{'tableName':'mail_servers_in','paranoid':![],'indexes':[],'timestamps':!![]});};