1c2202f4772b5b009197e06ade2770f31f9dc0e3
[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 _0x3b99=['path','../../config/environment','./mailAccount.attributes','define','mail_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x24eaa0,_0x5ad3ca){var _0x18dde1=function(_0x9e55f8){while(--_0x9e55f8){_0x24eaa0['push'](_0x24eaa0['shift']());}};_0x18dde1(++_0x5ad3ca);}(_0x3b99,0x161));var _0x93b9=function(_0x224cde,_0x1b392e){_0x224cde=_0x224cde-0x0;var _0x2528be=_0x3b99[_0x224cde];return _0x2528be;};'use strict';var _=require(_0x93b9('0x0'));var util=require(_0x93b9('0x1'));var logger=require(_0x93b9('0x2'))(_0x93b9('0x3'));var moment=require(_0x93b9('0x4'));var BPromise=require(_0x93b9('0x5'));var rp=require(_0x93b9('0x6'));var fs=require('fs');var path=require(_0x93b9('0x7'));var rimraf=require('rimraf');var config=require(_0x93b9('0x8'));var attributes=require(_0x93b9('0x9'));module['exports']=function(_0x53894f,_0x3d735f){return _0x53894f[_0x93b9('0xa')]('MailAccount',attributes,{'tableName':_0x93b9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};