Built motion from commit 9d0783e6.|2.6.13
[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 _0xabbd=['bluebird','request-promise','rimraf','../../config/environment','exports','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','util'];(function(_0xc183d4,_0x1d8e6c){var _0x2e38a8=function(_0x34b7b2){while(--_0x34b7b2){_0xc183d4['push'](_0xc183d4['shift']());}};_0x2e38a8(++_0x1d8e6c);}(_0xabbd,0x166));var _0xdabb=function(_0x5c45cf,_0x1b2b16){_0x5c45cf=_0x5c45cf-0x0;var _0x3feb27=_0xabbd[_0x5c45cf];return _0x3feb27;};'use strict';var _=require(_0xdabb('0x0'));var util=require(_0xdabb('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xdabb('0x2'));var rp=require(_0xdabb('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xdabb('0x4'));var config=require(_0xdabb('0x5'));var attributes=require('./openchannelTransferReport.attributes');module[_0xdabb('0x6')]=function(_0x5263fd,_0x9021e){return _0x5263fd['define'](_0xdabb('0x7'),attributes,{'tableName':_0xdabb('0x8'),'paranoid':![],'indexes':[{'name':_0xdabb('0x9'),'fields':[_0xdabb('0x9')]}],'timestamps':!![]});};