Built motion from commit 67e5df37.|2.0.66
[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 _0x7abf=['MailAccount','lodash','util','../../config/logger','api','moment','request-promise','exports','define'];(function(_0x3477a1,_0x2844d2){var _0x58724f=function(_0x132bf3){while(--_0x132bf3){_0x3477a1['push'](_0x3477a1['shift']());}};_0x58724f(++_0x2844d2);}(_0x7abf,0x88));var _0xf7ab=function(_0x42740a,_0x51d84d){_0x42740a=_0x42740a-0x0;var _0x1a1838=_0x7abf[_0x42740a];return _0x1a1838;};'use strict';var _=require(_0xf7ab('0x0'));var util=require(_0xf7ab('0x1'));var logger=require(_0xf7ab('0x2'))(_0xf7ab('0x3'));var moment=require(_0xf7ab('0x4'));var BPromise=require('bluebird');var rp=require(_0xf7ab('0x5'));var attributes=require('./mailAccount.attributes');module[_0xf7ab('0x6')]=function(_0x30f0ab,_0x2129e9){return _0x30f0ab[_0xf7ab('0x7')](_0xf7ab('0x8'),attributes,{'tableName':'mail_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};