Built motion from commit b0a9a629.|2.6.33
[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 _0x37ee=['path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x1e4a91,_0x14a668){var _0x2a2ec4=function(_0x54ee68){while(--_0x54ee68){_0x1e4a91['push'](_0x1e4a91['shift']());}};_0x2a2ec4(++_0x14a668);}(_0x37ee,0x19e));var _0xe37e=function(_0x1466e5,_0x34dd96){_0x1466e5=_0x1466e5-0x0;var _0x95a878=_0x37ee[_0x1466e5];return _0x95a878;};'use strict';var _=require(_0xe37e('0x0'));var util=require('util');var logger=require(_0xe37e('0x1'))(_0xe37e('0x2'));var moment=require(_0xe37e('0x3'));var BPromise=require(_0xe37e('0x4'));var rp=require(_0xe37e('0x5'));var fs=require('fs');var path=require(_0xe37e('0x6'));var rimraf=require(_0xe37e('0x7'));var config=require(_0xe37e('0x8'));var attributes=require(_0xe37e('0x9'));module[_0xe37e('0xa')]=function(_0x1d9019,_0x5b1907){return _0x1d9019[_0xe37e('0xb')](_0xe37e('0xc'),attributes,{'tableName':_0xe37e('0xd'),'paranoid':![],'indexes':[{'name':_0xe37e('0xe'),'fields':[_0xe37e('0xe')]}],'timestamps':!![]});};