Built motion from commit (unavailable).|2.5.5
[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 _0xe7fb=['path','../../config/environment','./mailTransferReport.attributes','exports','define','uniqueid','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x485280,_0x5d512b){var _0x14311d=function(_0x2da300){while(--_0x2da300){_0x485280['push'](_0x485280['shift']());}};_0x14311d(++_0x5d512b);}(_0xe7fb,0x14a));var _0xbe7f=function(_0x37eb87,_0x18ffe5){_0x37eb87=_0x37eb87-0x0;var _0x1b08f0=_0xe7fb[_0x37eb87];return _0x1b08f0;};'use strict';var _=require(_0xbe7f('0x0'));var util=require('util');var logger=require(_0xbe7f('0x1'))(_0xbe7f('0x2'));var moment=require(_0xbe7f('0x3'));var BPromise=require(_0xbe7f('0x4'));var rp=require(_0xbe7f('0x5'));var fs=require('fs');var path=require(_0xbe7f('0x6'));var rimraf=require('rimraf');var config=require(_0xbe7f('0x7'));var attributes=require(_0xbe7f('0x8'));module[_0xbe7f('0x9')]=function(_0xbaf594,_0x3ef32d){return _0xbaf594[_0xbe7f('0xa')]('MailTransferReport',attributes,{'tableName':'report_mail_transfer','paranoid':![],'indexes':[{'name':_0xbe7f('0xb'),'fields':[_0xbe7f('0xb')]}],'timestamps':!![]});};