Built motion from commit e02f907f.|2.6.14
[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 _0xc371=['define','OpenchannelTransferReport','uniqueid','lodash','../../config/logger','bluebird','request-promise','path','rimraf','./openchannelTransferReport.attributes','exports'];(function(_0x28cf1b,_0x589dbf){var _0x965f7f=function(_0x2a0bd6){while(--_0x2a0bd6){_0x28cf1b['push'](_0x28cf1b['shift']());}};_0x965f7f(++_0x589dbf);}(_0xc371,0x1c6));var _0x1c37=function(_0x364407,_0x3729ac){_0x364407=_0x364407-0x0;var _0x27273c=_0xc371[_0x364407];return _0x27273c;};'use strict';var _=require(_0x1c37('0x0'));var util=require('util');var logger=require(_0x1c37('0x1'))('api');var moment=require('moment');var BPromise=require(_0x1c37('0x2'));var rp=require(_0x1c37('0x3'));var fs=require('fs');var path=require(_0x1c37('0x4'));var rimraf=require(_0x1c37('0x5'));var config=require('../../config/environment');var attributes=require(_0x1c37('0x6'));module[_0x1c37('0x7')]=function(_0xc1e9c3,_0x2b423a){return _0xc1e9c3[_0x1c37('0x8')](_0x1c37('0x9'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0x1c37('0xa'),'fields':[_0x1c37('0xa')]}],'timestamps':!![]});};