f2b5b3d64e7d431e464375a05f6a25034f296086
[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 _0x62f1=['path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','report_openchannel_transfer','uniqueid','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x2b5b34,_0x4f09b0){var _0x219ad5=function(_0x3c99f6){while(--_0x3c99f6){_0x2b5b34['push'](_0x2b5b34['shift']());}};_0x219ad5(++_0x4f09b0);}(_0x62f1,0x112));var _0x162f=function(_0x14f9b9,_0x102f56){_0x14f9b9=_0x14f9b9-0x0;var _0xab268f=_0x62f1[_0x14f9b9];return _0xab268f;};'use strict';var _=require(_0x162f('0x0'));var util=require('util');var logger=require(_0x162f('0x1'))(_0x162f('0x2'));var moment=require(_0x162f('0x3'));var BPromise=require(_0x162f('0x4'));var rp=require(_0x162f('0x5'));var fs=require('fs');var path=require(_0x162f('0x6'));var rimraf=require(_0x162f('0x7'));var config=require(_0x162f('0x8'));var attributes=require(_0x162f('0x9'));module[_0x162f('0xa')]=function(_0x4c8c54,_0x3caa89){return _0x4c8c54[_0x162f('0xb')]('OpenchannelTransferReport',attributes,{'tableName':_0x162f('0xc'),'paranoid':![],'indexes':[{'name':_0x162f('0xd'),'fields':[_0x162f('0xd')]}],'timestamps':!![]});};