Built motion from commit (unavailable).|2.5.29
[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 _0x0033=['MailTransferReport','report_mail_transfer','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','./mailTransferReport.attributes','exports','define'];(function(_0xee332b,_0x32b692){var _0x70fa35=function(_0x4f45b4){while(--_0x4f45b4){_0xee332b['push'](_0xee332b['shift']());}};_0x70fa35(++_0x32b692);}(_0x0033,0x73));var _0x3003=function(_0x5ac7d7,_0x109040){_0x5ac7d7=_0x5ac7d7-0x0;var _0x23955f=_0x0033[_0x5ac7d7];return _0x23955f;};'use strict';var _=require(_0x3003('0x0'));var util=require(_0x3003('0x1'));var logger=require(_0x3003('0x2'))('api');var moment=require(_0x3003('0x3'));var BPromise=require(_0x3003('0x4'));var rp=require(_0x3003('0x5'));var fs=require('fs');var path=require(_0x3003('0x6'));var rimraf=require(_0x3003('0x7'));var config=require('../../config/environment');var attributes=require(_0x3003('0x8'));module[_0x3003('0x9')]=function(_0x358739,_0x4817fa){return _0x358739[_0x3003('0xa')](_0x3003('0xb'),attributes,{'tableName':_0x3003('0xc'),'paranoid':![],'indexes':[{'name':_0x3003('0xd'),'fields':[_0x3003('0xd')]}],'timestamps':!![]});};