ef330f01379b1fd36bf2360a4d5c26331bb6d863
[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 _0x702d=['report_openchannel_transfer','uniqueid','util','../../config/logger','moment','bluebird','request-promise','rimraf','exports','define','OpenchannelTransferReport'];(function(_0x524d03,_0x3cbdf3){var _0x1622d7=function(_0x17cd1d){while(--_0x17cd1d){_0x524d03['push'](_0x524d03['shift']());}};_0x1622d7(++_0x3cbdf3);}(_0x702d,0x178));var _0xd702=function(_0x1a3bc3,_0x264ea1){_0x1a3bc3=_0x1a3bc3-0x0;var _0x1fdab8=_0x702d[_0x1a3bc3];return _0x1fdab8;};'use strict';var _=require('lodash');var util=require(_0xd702('0x0'));var logger=require(_0xd702('0x1'))('api');var moment=require(_0xd702('0x2'));var BPromise=require(_0xd702('0x3'));var rp=require(_0xd702('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd702('0x5'));var config=require('../../config/environment');var attributes=require('./openchannelTransferReport.attributes');module[_0xd702('0x6')]=function(_0x3eb200,_0x28405c){return _0x3eb200[_0xd702('0x7')](_0xd702('0x8'),attributes,{'tableName':_0xd702('0x9'),'paranoid':![],'indexes':[{'name':_0xd702('0xa'),'fields':['uniqueid']}],'timestamps':!![]});};