16cec035becb1f174d9dee03d94adfe4271f81b1
[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 _0xdd46=['./mailTransferReport.attributes','exports','report_mail_transfer','uniqueid','lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment'];(function(_0x27c0f8,_0xd1bd2f){var _0x426b4e=function(_0x1d3f4b){while(--_0x1d3f4b){_0x27c0f8['push'](_0x27c0f8['shift']());}};_0x426b4e(++_0xd1bd2f);}(_0xdd46,0xe8));var _0x6dd4=function(_0x2ae2f5,_0x2e748a){_0x2ae2f5=_0x2ae2f5-0x0;var _0x4f4407=_0xdd46[_0x2ae2f5];return _0x4f4407;};'use strict';var _=require(_0x6dd4('0x0'));var util=require(_0x6dd4('0x1'));var logger=require(_0x6dd4('0x2'))(_0x6dd4('0x3'));var moment=require(_0x6dd4('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x6dd4('0x5'));var rimraf=require(_0x6dd4('0x6'));var config=require(_0x6dd4('0x7'));var attributes=require(_0x6dd4('0x8'));module[_0x6dd4('0x9')]=function(_0x4abd2a,_0x4b678d){return _0x4abd2a['define']('MailTransferReport',attributes,{'tableName':_0x6dd4('0xa'),'paranoid':![],'indexes':[{'name':_0x6dd4('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};