Built motion from commit (unavailable).|2.4.21
[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 _0xe170=['bluebird','path','../../config/environment','./mailTransferReport.attributes','MailTransferReport','report_mail_transfer','uniqueid','lodash','../../config/logger','api'];(function(_0x128058,_0x425abd){var _0x265cff=function(_0x2ab73f){while(--_0x2ab73f){_0x128058['push'](_0x128058['shift']());}};_0x265cff(++_0x425abd);}(_0xe170,0x6b));var _0x0e17=function(_0x1dc24d,_0x541fa4){_0x1dc24d=_0x1dc24d-0x0;var _0x5d7fb2=_0xe170[_0x1dc24d];return _0x5d7fb2;};'use strict';var _=require(_0x0e17('0x0'));var util=require('util');var logger=require(_0x0e17('0x1'))(_0x0e17('0x2'));var moment=require('moment');var BPromise=require(_0x0e17('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0e17('0x4'));var rimraf=require('rimraf');var config=require(_0x0e17('0x5'));var attributes=require(_0x0e17('0x6'));module['exports']=function(_0x2169a6,_0x57615e){return _0x2169a6['define'](_0x0e17('0x7'),attributes,{'tableName':_0x0e17('0x8'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x0e17('0x9')]}],'timestamps':!![]});};