Built motion from commit (unavailable).|2.5.21
[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 _0x879b=['moment','bluebird','request-promise','path','../../config/environment','./openchannelTransferReport.attributes','exports','define','uniqueid','util'];(function(_0x326238,_0xcbe479){var _0x427407=function(_0x59b49c){while(--_0x59b49c){_0x326238['push'](_0x326238['shift']());}};_0x427407(++_0xcbe479);}(_0x879b,0x1a3));var _0xb879=function(_0x24ef1c,_0x559d36){_0x24ef1c=_0x24ef1c-0x0;var _0x45ab3e=_0x879b[_0x24ef1c];return _0x45ab3e;};'use strict';var _=require('lodash');var util=require(_0xb879('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xb879('0x1'));var BPromise=require(_0xb879('0x2'));var rp=require(_0xb879('0x3'));var fs=require('fs');var path=require(_0xb879('0x4'));var rimraf=require('rimraf');var config=require(_0xb879('0x5'));var attributes=require(_0xb879('0x6'));module[_0xb879('0x7')]=function(_0x5df908,_0x125352){return _0x5df908[_0xb879('0x8')]('OpenchannelTransferReport',attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0xb879('0x9'),'fields':[_0xb879('0x9')]}],'timestamps':!![]});};