12b2fc02d4c93ecaa6a7f94410e05680b0170783
[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 _0xede7=['bluebird','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','util','moment'];(function(_0x168b99,_0x129868){var _0x1d2586=function(_0x26a8d3){while(--_0x26a8d3){_0x168b99['push'](_0x168b99['shift']());}};_0x1d2586(++_0x129868);}(_0xede7,0x169));var _0x7ede=function(_0x175273,_0x176533){_0x175273=_0x175273-0x0;var _0x50eea7=_0xede7[_0x175273];return _0x50eea7;};'use strict';var _=require(_0x7ede('0x0'));var util=require(_0x7ede('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x7ede('0x2'));var BPromise=require(_0x7ede('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7ede('0x4'));var rimraf=require(_0x7ede('0x5'));var config=require(_0x7ede('0x6'));var attributes=require(_0x7ede('0x7'));module[_0x7ede('0x8')]=function(_0x2eb54f,_0x4eccd5){return _0x2eb54f[_0x7ede('0x9')](_0x7ede('0xa'),attributes,{'tableName':_0x7ede('0xb'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x7ede('0xc')]}],'timestamps':!![]});};