Built motion from commit 42801a18.|2.6.28
[motion2.git] / server / api / mailServerOut / mailServerOut.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 _0x6e04=['MailServerOut','mail_servers_out','lodash','../../config/logger','api','request-promise','path','../../config/environment','./mailServerOut.attributes','define'];(function(_0x31b31b,_0x5f044e){var _0x2c8fc2=function(_0x5438aa){while(--_0x5438aa){_0x31b31b['push'](_0x31b31b['shift']());}};_0x2c8fc2(++_0x5f044e);}(_0x6e04,0x14c));var _0x46e0=function(_0x263a74,_0xc31414){_0x263a74=_0x263a74-0x0;var _0x2aa86c=_0x6e04[_0x263a74];return _0x2aa86c;};'use strict';var _=require(_0x46e0('0x0'));var util=require('util');var logger=require(_0x46e0('0x1'))(_0x46e0('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x46e0('0x3'));var fs=require('fs');var path=require(_0x46e0('0x4'));var rimraf=require('rimraf');var config=require(_0x46e0('0x5'));var attributes=require(_0x46e0('0x6'));module['exports']=function(_0x2790db,_0xfaddfb){return _0x2790db[_0x46e0('0x7')](_0x46e0('0x8'),attributes,{'tableName':_0x46e0('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};