Built motion from commit d9028345.|2.5.43
[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 _0x530f=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','report_openchannel_transfer','lodash','util'];(function(_0x1124b9,_0x308344){var _0x1c101b=function(_0x3c42bf){while(--_0x3c42bf){_0x1124b9['push'](_0x1124b9['shift']());}};_0x1c101b(++_0x308344);}(_0x530f,0xde));var _0xf530=function(_0x2c1db5,_0x20b060){_0x2c1db5=_0x2c1db5-0x0;var _0x204189=_0x530f[_0x2c1db5];return _0x204189;};'use strict';var _=require(_0xf530('0x0'));var util=require(_0xf530('0x1'));var logger=require('../../config/logger')(_0xf530('0x2'));var moment=require(_0xf530('0x3'));var BPromise=require(_0xf530('0x4'));var rp=require(_0xf530('0x5'));var fs=require('fs');var path=require(_0xf530('0x6'));var rimraf=require(_0xf530('0x7'));var config=require(_0xf530('0x8'));var attributes=require(_0xf530('0x9'));module[_0xf530('0xa')]=function(_0x25503d,_0x38862b){return _0x25503d[_0xf530('0xb')](_0xf530('0xc'),attributes,{'tableName':_0xf530('0xd'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};