Built motion from commit (unavailable).|2.3.1
[motion2.git] / server / api / mailTransferReport / mailTransferReport.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 _0xa217=['exports','define','MailTransferReport','uniqueid','util','api','moment','bluebird','request-promise','./mailTransferReport.attributes'];(function(_0x16e594,_0x41bb0b){var _0x582ccc=function(_0x471c37){while(--_0x471c37){_0x16e594['push'](_0x16e594['shift']());}};_0x582ccc(++_0x41bb0b);}(_0xa217,0x1b2));var _0x7a21=function(_0x5d98f1,_0x5e6890){_0x5d98f1=_0x5d98f1-0x0;var _0x7dd486=_0xa217[_0x5d98f1];return _0x7dd486;};'use strict';var _=require('lodash');var util=require(_0x7a21('0x0'));var logger=require('../../config/logger')(_0x7a21('0x1'));var moment=require(_0x7a21('0x2'));var BPromise=require(_0x7a21('0x3'));var rp=require(_0x7a21('0x4'));var attributes=require(_0x7a21('0x5'));module[_0x7a21('0x6')]=function(_0x216ebb,_0x2ca250){return _0x216ebb[_0x7a21('0x7')](_0x7a21('0x8'),attributes,{'tableName':'report_mail_transfer','paranoid':![],'indexes':[{'name':_0x7a21('0x9'),'fields':[_0x7a21('0x9')]}],'timestamps':!![]});};