Built motion from commit (unavailable).|2.6.0
[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 _0xccf4=['uniqueid','lodash','util','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','OpenchannelTransferReport','report_openchannel_transfer'];(function(_0x43540b,_0x1cad96){var _0x5bd9fb=function(_0x48d141){while(--_0x48d141){_0x43540b['push'](_0x43540b['shift']());}};_0x5bd9fb(++_0x1cad96);}(_0xccf4,0xd9));var _0x4ccf=function(_0x15d768,_0x4924da){_0x15d768=_0x15d768-0x0;var _0x5bdaca=_0xccf4[_0x15d768];return _0x5bdaca;};'use strict';var _=require(_0x4ccf('0x0'));var util=require(_0x4ccf('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x4ccf('0x2'));var rp=require(_0x4ccf('0x3'));var fs=require('fs');var path=require(_0x4ccf('0x4'));var rimraf=require(_0x4ccf('0x5'));var config=require(_0x4ccf('0x6'));var attributes=require(_0x4ccf('0x7'));module[_0x4ccf('0x8')]=function(_0x5431d1,_0x49fa97){return _0x5431d1['define'](_0x4ccf('0x9'),attributes,{'tableName':_0x4ccf('0xa'),'paranoid':![],'indexes':[{'name':_0x4ccf('0xb'),'fields':[_0x4ccf('0xb')]}],'timestamps':!![]});};