Built motion from commit d5e4af8c.|2.6.23
[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 _0x89dd=['../../config/environment','./mailServerOut.attributes','exports','MailServerOut','mail_servers_out','lodash','util','../../config/logger','api','moment'];(function(_0x1a8aed,_0x5a5a76){var _0x2d3f1e=function(_0x48dcda){while(--_0x48dcda){_0x1a8aed['push'](_0x1a8aed['shift']());}};_0x2d3f1e(++_0x5a5a76);}(_0x89dd,0x69));var _0xd89d=function(_0x31fa27,_0x44189c){_0x31fa27=_0x31fa27-0x0;var _0x189c87=_0x89dd[_0x31fa27];return _0x189c87;};'use strict';var _=require(_0xd89d('0x0'));var util=require(_0xd89d('0x1'));var logger=require(_0xd89d('0x2'))(_0xd89d('0x3'));var moment=require(_0xd89d('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xd89d('0x5'));var attributes=require(_0xd89d('0x6'));module[_0xd89d('0x7')]=function(_0x542103,_0x3ed745){return _0x542103['define'](_0xd89d('0x8'),attributes,{'tableName':_0xd89d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};