Built motion from commit 00bf23f6.|2.6.16
[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 _0x4ef9=['define','OpenchannelTransferReport','uniqueid','lodash','api','moment','path','rimraf','../../config/environment','./openchannelTransferReport.attributes'];(function(_0x37437c,_0x55dacf){var _0x35e1a1=function(_0xdcb380){while(--_0xdcb380){_0x37437c['push'](_0x37437c['shift']());}};_0x35e1a1(++_0x55dacf);}(_0x4ef9,0x161));var _0x94ef=function(_0xfca0bf,_0x8ac9f9){_0xfca0bf=_0xfca0bf-0x0;var _0xc72568=_0x4ef9[_0xfca0bf];return _0xc72568;};'use strict';var _=require(_0x94ef('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x94ef('0x1'));var moment=require(_0x94ef('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x94ef('0x3'));var rimraf=require(_0x94ef('0x4'));var config=require(_0x94ef('0x5'));var attributes=require(_0x94ef('0x6'));module['exports']=function(_0x4fce52,_0x3fea74){return _0x4fce52[_0x94ef('0x7')](_0x94ef('0x8'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0x94ef('0x9'),'fields':[_0x94ef('0x9')]}],'timestamps':!![]});};