Built motion from commit (unavailable).|2.5.11
[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 _0x6405=['uniqueid','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','report_openchannel_transfer'];(function(_0x62765a,_0x390c3e){var _0x178c2e=function(_0x3cf6fe){while(--_0x3cf6fe){_0x62765a['push'](_0x62765a['shift']());}};_0x178c2e(++_0x390c3e);}(_0x6405,0x1e1));var _0x5640=function(_0x139c57,_0xa22f9e){_0x139c57=_0x139c57-0x0;var _0x262126=_0x6405[_0x139c57];return _0x262126;};'use strict';var _=require(_0x5640('0x0'));var util=require(_0x5640('0x1'));var logger=require(_0x5640('0x2'))(_0x5640('0x3'));var moment=require('moment');var BPromise=require(_0x5640('0x4'));var rp=require(_0x5640('0x5'));var fs=require('fs');var path=require(_0x5640('0x6'));var rimraf=require(_0x5640('0x7'));var config=require(_0x5640('0x8'));var attributes=require(_0x5640('0x9'));module[_0x5640('0xa')]=function(_0x58d1c3,_0x425003){return _0x58d1c3[_0x5640('0xb')](_0x5640('0xc'),attributes,{'tableName':_0x5640('0xd'),'paranoid':![],'indexes':[{'name':_0x5640('0xe'),'fields':[_0x5640('0xe')]}],'timestamps':!![]});};