f63440fe91b5752952c3b4e3a6e3276fa63a1ab0
[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 _0x20ce=['rimraf','../../config/environment','./mailServerOut.attributes','mail_servers_out','lodash','util','../../config/logger','request-promise','path'];(function(_0x5a9d56,_0x339138){var _0x3be8ce=function(_0x2db5db){while(--_0x2db5db){_0x5a9d56['push'](_0x5a9d56['shift']());}};_0x3be8ce(++_0x339138);}(_0x20ce,0xa6));var _0xe20c=function(_0x299e4f,_0x697ead){_0x299e4f=_0x299e4f-0x0;var _0x268ca4=_0x20ce[_0x299e4f];return _0x268ca4;};'use strict';var _=require(_0xe20c('0x0'));var util=require(_0xe20c('0x1'));var logger=require(_0xe20c('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xe20c('0x3'));var fs=require('fs');var path=require(_0xe20c('0x4'));var rimraf=require(_0xe20c('0x5'));var config=require(_0xe20c('0x6'));var attributes=require(_0xe20c('0x7'));module['exports']=function(_0x1747bc,_0x414898){return _0x1747bc['define']('MailServerOut',attributes,{'tableName':_0xe20c('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};