Built motion from commit (unavailable).|2.5.13
[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 _0xf9fa=['bluebird','request-promise','rimraf','./mailTransferReport.attributes','exports','MailTransferReport','uniqueid','lodash','../../config/logger','moment'];(function(_0x49fdc9,_0x429f86){var _0xc586fd=function(_0xd509a0){while(--_0xd509a0){_0x49fdc9['push'](_0x49fdc9['shift']());}};_0xc586fd(++_0x429f86);}(_0xf9fa,0x1b5));var _0xaf9f=function(_0x431196,_0x28bf14){_0x431196=_0x431196-0x0;var _0x41010f=_0xf9fa[_0x431196];return _0x41010f;};'use strict';var _=require(_0xaf9f('0x0'));var util=require('util');var logger=require(_0xaf9f('0x1'))('api');var moment=require(_0xaf9f('0x2'));var BPromise=require(_0xaf9f('0x3'));var rp=require(_0xaf9f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xaf9f('0x5'));var config=require('../../config/environment');var attributes=require(_0xaf9f('0x6'));module[_0xaf9f('0x7')]=function(_0x505473,_0xe47e1e){return _0x505473['define'](_0xaf9f('0x8'),attributes,{'tableName':'report_mail_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xaf9f('0x9')]}],'timestamps':!![]});};