d8dfae85ef89c7149060243b28c27570ab9b983b
[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 _0xd497=['./openchannelTransferReport.attributes','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','util','api','moment','request-promise','path','rimraf'];(function(_0xf2726b,_0x87deb7){var _0xa61a5=function(_0x27759c){while(--_0x27759c){_0xf2726b['push'](_0xf2726b['shift']());}};_0xa61a5(++_0x87deb7);}(_0xd497,0x1bc));var _0x7d49=function(_0x3d92aa,_0x6f794e){_0x3d92aa=_0x3d92aa-0x0;var _0x4ca720=_0xd497[_0x3d92aa];return _0x4ca720;};'use strict';var _=require(_0x7d49('0x0'));var util=require(_0x7d49('0x1'));var logger=require('../../config/logger')(_0x7d49('0x2'));var moment=require(_0x7d49('0x3'));var BPromise=require('bluebird');var rp=require(_0x7d49('0x4'));var fs=require('fs');var path=require(_0x7d49('0x5'));var rimraf=require(_0x7d49('0x6'));var config=require('../../config/environment');var attributes=require(_0x7d49('0x7'));module['exports']=function(_0x547b18,_0x13e368){return _0x547b18['define'](_0x7d49('0x8'),attributes,{'tableName':_0x7d49('0x9'),'paranoid':![],'indexes':[{'name':_0x7d49('0xa'),'fields':[_0x7d49('0xa')]}],'timestamps':!![]});};