Built motion from commit (unavailable).|2.5.23
[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 _0x25e5=['util','../../config/logger','moment','request-promise','path','../../config/environment','./mailTransferReport.attributes','exports','define','MailTransferReport','report_mail_transfer','uniqueid','lodash'];(function(_0x15b722,_0xecc4d6){var _0x395841=function(_0x229036){while(--_0x229036){_0x15b722['push'](_0x15b722['shift']());}};_0x395841(++_0xecc4d6);}(_0x25e5,0xb5));var _0x525e=function(_0x58db4e,_0x439d8d){_0x58db4e=_0x58db4e-0x0;var _0x40139a=_0x25e5[_0x58db4e];return _0x40139a;};'use strict';var _=require(_0x525e('0x0'));var util=require(_0x525e('0x1'));var logger=require(_0x525e('0x2'))('api');var moment=require(_0x525e('0x3'));var BPromise=require('bluebird');var rp=require(_0x525e('0x4'));var fs=require('fs');var path=require(_0x525e('0x5'));var rimraf=require('rimraf');var config=require(_0x525e('0x6'));var attributes=require(_0x525e('0x7'));module[_0x525e('0x8')]=function(_0x1df0f9,_0x1d0866){return _0x1df0f9[_0x525e('0x9')](_0x525e('0xa'),attributes,{'tableName':_0x525e('0xb'),'paranoid':![],'indexes':[{'name':_0x525e('0xc'),'fields':[_0x525e('0xc')]}],'timestamps':!![]});};