fa3f1a4dc1a6d9b3e7f35664687b80999b79a143
[motion2.git] / server / api / openchannelTransferReport / openchannelTransferReport.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 _0xc4db=['exports','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','./openchannelTransferReport.attributes'];(function(_0x27eff5,_0x287c5e){var _0xe9c7ce=function(_0x5a921c){while(--_0x5a921c){_0x27eff5['push'](_0x27eff5['shift']());}};_0xe9c7ce(++_0x287c5e);}(_0xc4db,0x130));var _0xbc4d=function(_0x64507b,_0x4845dc){_0x64507b=_0x64507b-0x0;var _0x2667f6=_0xc4db[_0x64507b];return _0x2667f6;};'use strict';var _=require(_0xbc4d('0x0'));var util=require(_0xbc4d('0x1'));var logger=require(_0xbc4d('0x2'))('api');var moment=require(_0xbc4d('0x3'));var BPromise=require(_0xbc4d('0x4'));var rp=require(_0xbc4d('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbc4d('0x6'));var config=require('../../config/environment');var attributes=require(_0xbc4d('0x7'));module[_0xbc4d('0x8')]=function(_0x97f8a2,_0xbfa6){return _0x97f8a2['define'](_0xbc4d('0x9'),attributes,{'tableName':_0xbc4d('0xa'),'paranoid':![],'indexes':[{'name':_0xbc4d('0xb'),'fields':[_0xbc4d('0xb')]}],'timestamps':!![]});};