Built motion from commit (unavailable).|2.5.9
[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 _0x3a0f=['./mailAccount.attributes','exports','define','MailAccount','mail_accounts','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x282ccd,_0x2cd9c1){var _0x48933e=function(_0x3033f4){while(--_0x3033f4){_0x282ccd['push'](_0x282ccd['shift']());}};_0x48933e(++_0x2cd9c1);}(_0x3a0f,0x75));var _0xf3a0=function(_0x4de0d1,_0x462487){_0x4de0d1=_0x4de0d1-0x0;var _0x439bd3=_0x3a0f[_0x4de0d1];return _0x439bd3;};'use strict';var _=require(_0xf3a0('0x0'));var util=require(_0xf3a0('0x1'));var logger=require(_0xf3a0('0x2'))('api');var moment=require(_0xf3a0('0x3'));var BPromise=require(_0xf3a0('0x4'));var rp=require(_0xf3a0('0x5'));var fs=require('fs');var path=require(_0xf3a0('0x6'));var rimraf=require(_0xf3a0('0x7'));var config=require(_0xf3a0('0x8'));var attributes=require(_0xf3a0('0x9'));module[_0xf3a0('0xa')]=function(_0x3e9566,_0xadce3f){return _0x3e9566[_0xf3a0('0xb')](_0xf3a0('0xc'),attributes,{'tableName':_0xf3a0('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};