Built motion from commit (unavailable).|2.4.4
[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 _0x225b=['mail_servers_in','lodash','util','api','moment','request-promise','rimraf','./mailServerIn.attributes','exports','define','MailServerIn'];(function(_0x25bc76,_0x23fb00){var _0x4f9945=function(_0x5b48d3){while(--_0x5b48d3){_0x25bc76['push'](_0x25bc76['shift']());}};_0x4f9945(++_0x23fb00);}(_0x225b,0xb1));var _0xb225=function(_0x28d416,_0x33ebc6){_0x28d416=_0x28d416-0x0;var _0x2bb257=_0x225b[_0x28d416];return _0x2bb257;};'use strict';var _=require(_0xb225('0x0'));var util=require(_0xb225('0x1'));var logger=require('../../config/logger')(_0xb225('0x2'));var moment=require(_0xb225('0x3'));var BPromise=require('bluebird');var rp=require(_0xb225('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb225('0x5'));var config=require('../../config/environment');var attributes=require(_0xb225('0x6'));module[_0xb225('0x7')]=function(_0x3f2419,_0x4751e2){return _0x3f2419[_0xb225('0x8')](_0xb225('0x9'),attributes,{'tableName':_0xb225('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};