bc0c961a1a7b49d803602e8b951f1937db245c18
[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 _0x0993=['define','MailServerOut','mail_servers_out','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./mailServerOut.attributes','exports'];(function(_0x359b46,_0x232d1d){var _0x1dcf85=function(_0x34593a){while(--_0x34593a){_0x359b46['push'](_0x359b46['shift']());}};_0x1dcf85(++_0x232d1d);}(_0x0993,0x12e));var _0x3099=function(_0x59ef0a,_0x32159b){_0x59ef0a=_0x59ef0a-0x0;var _0x1a1057=_0x0993[_0x59ef0a];return _0x1a1057;};'use strict';var _=require(_0x3099('0x0'));var util=require(_0x3099('0x1'));var logger=require('../../config/logger')(_0x3099('0x2'));var moment=require(_0x3099('0x3'));var BPromise=require(_0x3099('0x4'));var rp=require(_0x3099('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3099('0x6'));var config=require(_0x3099('0x7'));var attributes=require(_0x3099('0x8'));module[_0x3099('0x9')]=function(_0x5ab0b2,_0x1de545){return _0x5ab0b2[_0x3099('0xa')](_0x3099('0xb'),attributes,{'tableName':_0x3099('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};