Built motion from commit 44b1f254.|2.6.26
[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 _0x9c70=['OpenchannelTransferReport','uniqueid','lodash','util','api','moment','bluebird','rimraf','./openchannelTransferReport.attributes','exports','define'];(function(_0x1d887f,_0x3737a5){var _0x4125b5=function(_0x1f93af){while(--_0x1f93af){_0x1d887f['push'](_0x1d887f['shift']());}};_0x4125b5(++_0x3737a5);}(_0x9c70,0xe9));var _0x09c7=function(_0x7be910,_0x2b381b){_0x7be910=_0x7be910-0x0;var _0x496ddf=_0x9c70[_0x7be910];return _0x496ddf;};'use strict';var _=require(_0x09c7('0x0'));var util=require(_0x09c7('0x1'));var logger=require('../../config/logger')(_0x09c7('0x2'));var moment=require(_0x09c7('0x3'));var BPromise=require(_0x09c7('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x09c7('0x5'));var config=require('../../config/environment');var attributes=require(_0x09c7('0x6'));module[_0x09c7('0x7')]=function(_0x2d31ff,_0x534910){return _0x2d31ff[_0x09c7('0x8')](_0x09c7('0x9'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0x09c7('0xa'),'fields':[_0x09c7('0xa')]}],'timestamps':!![]});};