Built motion from commit (unavailable).|2.5.1
[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 _0x74f1=['uniqueid','lodash','../../config/logger','api','rimraf','./openchannelTransferReport.attributes','exports','define','report_openchannel_transfer'];(function(_0x32e3ec,_0x5b6987){var _0x237a64=function(_0x71becf){while(--_0x71becf){_0x32e3ec['push'](_0x32e3ec['shift']());}};_0x237a64(++_0x5b6987);}(_0x74f1,0x118));var _0x174f=function(_0x1c34e7,_0x33f9a8){_0x1c34e7=_0x1c34e7-0x0;var _0x378cb1=_0x74f1[_0x1c34e7];return _0x378cb1;};'use strict';var _=require(_0x174f('0x0'));var util=require('util');var logger=require(_0x174f('0x1'))(_0x174f('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x174f('0x3'));var config=require('../../config/environment');var attributes=require(_0x174f('0x4'));module[_0x174f('0x5')]=function(_0x1a33c4,_0x130615){return _0x1a33c4[_0x174f('0x6')]('OpenchannelTransferReport',attributes,{'tableName':_0x174f('0x7'),'paranoid':![],'indexes':[{'name':_0x174f('0x8'),'fields':[_0x174f('0x8')]}],'timestamps':!![]});};