Built motion from commit (unavailable).|2.4.21
[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 _0x307f=['moment','bluebird','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','uniqueid','lodash','util','api'];(function(_0x11501b,_0xf074a1){var _0x345486=function(_0x144dd7){while(--_0x144dd7){_0x11501b['push'](_0x11501b['shift']());}};_0x345486(++_0xf074a1);}(_0x307f,0x105));var _0xf307=function(_0x2a7a33,_0xa9cfbc){_0x2a7a33=_0x2a7a33-0x0;var _0x39feb9=_0x307f[_0x2a7a33];return _0x39feb9;};'use strict';var _=require(_0xf307('0x0'));var util=require(_0xf307('0x1'));var logger=require('../../config/logger')(_0xf307('0x2'));var moment=require(_0xf307('0x3'));var BPromise=require(_0xf307('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf307('0x5'));var config=require(_0xf307('0x6'));var attributes=require(_0xf307('0x7'));module[_0xf307('0x8')]=function(_0x262821,_0x388c6b){return _0x262821[_0xf307('0x9')]('OpenchannelTransferReport',attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0xf307('0xa'),'fields':[_0xf307('0xa')]}],'timestamps':!![]});};