98daa4c3a99086ffe2a6e8348d55d3c726de9052
[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 _0xbfe2=['MailServerOut','mail_servers_out','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','./mailServerOut.attributes','exports'];(function(_0x273c39,_0x1052e6){var _0x46d6b5=function(_0x44f1fb){while(--_0x44f1fb){_0x273c39['push'](_0x273c39['shift']());}};_0x46d6b5(++_0x1052e6);}(_0xbfe2,0x6e));var _0x2bfe=function(_0x82ca45,_0x521848){_0x82ca45=_0x82ca45-0x0;var _0x26007e=_0xbfe2[_0x82ca45];return _0x26007e;};'use strict';var _=require(_0x2bfe('0x0'));var util=require(_0x2bfe('0x1'));var logger=require('../../config/logger')(_0x2bfe('0x2'));var moment=require(_0x2bfe('0x3'));var BPromise=require(_0x2bfe('0x4'));var rp=require(_0x2bfe('0x5'));var fs=require('fs');var path=require(_0x2bfe('0x6'));var rimraf=require('rimraf');var config=require(_0x2bfe('0x7'));var attributes=require(_0x2bfe('0x8'));module[_0x2bfe('0x9')]=function(_0x3af85a,_0x5ac6db){return _0x3af85a['define'](_0x2bfe('0xa'),attributes,{'tableName':_0x2bfe('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};