5e13288282ff12f69f3bfe052a58b58536298122
[motion2.git] / server / api / mailAccount / mailAccount.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 _0x422e=['lodash','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./mailAccount.attributes','exports','define','MailAccount','mail_accounts'];(function(_0x2b387f,_0xc5d62){var _0x58784e=function(_0x304162){while(--_0x304162){_0x2b387f['push'](_0x2b387f['shift']());}};_0x58784e(++_0xc5d62);}(_0x422e,0x152));var _0xe422=function(_0x398494,_0x46d408){_0x398494=_0x398494-0x0;var _0xad3f07=_0x422e[_0x398494];return _0xad3f07;};'use strict';var _=require(_0xe422('0x0'));var util=require('util');var logger=require(_0xe422('0x1'))(_0xe422('0x2'));var moment=require(_0xe422('0x3'));var BPromise=require('bluebird');var rp=require(_0xe422('0x4'));var fs=require('fs');var path=require(_0xe422('0x5'));var rimraf=require(_0xe422('0x6'));var config=require(_0xe422('0x7'));var attributes=require(_0xe422('0x8'));module[_0xe422('0x9')]=function(_0x14f5e0,_0x3086b8){return _0x14f5e0[_0xe422('0xa')](_0xe422('0xb'),attributes,{'tableName':_0xe422('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};