Built motion from commit d1eab355.|2.6.28
[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 _0x78f9=['exports','define','report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x17ef88,_0x581af4){var _0x1dc0fc=function(_0x390176){while(--_0x390176){_0x17ef88['push'](_0x17ef88['shift']());}};_0x1dc0fc(++_0x581af4);}(_0x78f9,0x1a8));var _0x978f=function(_0x2d7f0e,_0x3e6fbd){_0x2d7f0e=_0x2d7f0e-0x0;var _0x110b07=_0x78f9[_0x2d7f0e];return _0x110b07;};'use strict';var _=require(_0x978f('0x0'));var util=require(_0x978f('0x1'));var logger=require(_0x978f('0x2'))(_0x978f('0x3'));var moment=require('moment');var BPromise=require(_0x978f('0x4'));var rp=require(_0x978f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x978f('0x6'));var config=require(_0x978f('0x7'));var attributes=require('./openchannelTransferReport.attributes');module[_0x978f('0x8')]=function(_0x309aff,_0x13d014){return _0x309aff[_0x978f('0x9')]('OpenchannelTransferReport',attributes,{'tableName':_0x978f('0xa'),'paranoid':![],'indexes':[{'name':_0x978f('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};