Built motion from commit (unavailable).|2.3.10
[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 _0x593b=['exports','define','MailAccount','mail_accounts','lodash','util','../../config/logger','api','bluebird','request-promise','./mailAccount.attributes'];(function(_0x492221,_0x9e2521){var _0x398bf9=function(_0x303c5b){while(--_0x303c5b){_0x492221['push'](_0x492221['shift']());}};_0x398bf9(++_0x9e2521);}(_0x593b,0x1f3));var _0xb593=function(_0x557d9c,_0x2625ea){_0x557d9c=_0x557d9c-0x0;var _0x34f09f=_0x593b[_0x557d9c];return _0x34f09f;};'use strict';var _=require(_0xb593('0x0'));var util=require(_0xb593('0x1'));var logger=require(_0xb593('0x2'))(_0xb593('0x3'));var moment=require('moment');var BPromise=require(_0xb593('0x4'));var rp=require(_0xb593('0x5'));var attributes=require(_0xb593('0x6'));module[_0xb593('0x7')]=function(_0x5af5e5,_0x14ffc7){return _0x5af5e5[_0xb593('0x8')](_0xb593('0x9'),attributes,{'tableName':_0xb593('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};