1751eaa3c9bb77bfaf31889f8ea9a2b6eb91ecb2
[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 _0x6b4e=['../../config/environment','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','moment','request-promise','path','rimraf'];(function(_0x5dbb71,_0x2b3270){var _0x261dde=function(_0x419309){while(--_0x419309){_0x5dbb71['push'](_0x5dbb71['shift']());}};_0x261dde(++_0x2b3270);}(_0x6b4e,0xe7));var _0xe6b4=function(_0x3cb70,_0xac94e5){_0x3cb70=_0x3cb70-0x0;var _0x7e38b4=_0x6b4e[_0x3cb70];return _0x7e38b4;};'use strict';var _=require(_0xe6b4('0x0'));var util=require(_0xe6b4('0x1'));var logger=require(_0xe6b4('0x2'))('api');var moment=require(_0xe6b4('0x3'));var BPromise=require('bluebird');var rp=require(_0xe6b4('0x4'));var fs=require('fs');var path=require(_0xe6b4('0x5'));var rimraf=require(_0xe6b4('0x6'));var config=require(_0xe6b4('0x7'));var attributes=require(_0xe6b4('0x8'));module[_0xe6b4('0x9')]=function(_0x206778,_0xcf175){return _0x206778[_0xe6b4('0xa')](_0xe6b4('0xb'),attributes,{'tableName':_0xe6b4('0xc'),'paranoid':![],'indexes':[{'name':_0xe6b4('0xd'),'fields':['uniqueid']}],'timestamps':!![]});};