Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / voiceTransferReport / voiceTransferReport.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 _0x0f15=['api','moment','bluebird','path','rimraf','../../config/environment','./voiceTransferReport.attributes','exports','define','VoiceTransferReport','report_call_transfer','lodash','util'];(function(_0x3abe2f,_0x1bdf2b){var _0x3f81e6=function(_0x51ede5){while(--_0x51ede5){_0x3abe2f['push'](_0x3abe2f['shift']());}};_0x3f81e6(++_0x1bdf2b);}(_0x0f15,0x11c));var _0x50f1=function(_0x529abc,_0x17b97e){_0x529abc=_0x529abc-0x0;var _0x453afa=_0x0f15[_0x529abc];return _0x453afa;};'use strict';var _=require(_0x50f1('0x0'));var util=require(_0x50f1('0x1'));var logger=require('../../config/logger')(_0x50f1('0x2'));var moment=require(_0x50f1('0x3'));var BPromise=require(_0x50f1('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x50f1('0x5'));var rimraf=require(_0x50f1('0x6'));var config=require(_0x50f1('0x7'));var attributes=require(_0x50f1('0x8'));module[_0x50f1('0x9')]=function(_0x3ce6db,_0x4b86ba){return _0x3ce6db[_0x50f1('0xa')](_0x50f1('0xb'),attributes,{'tableName':_0x50f1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};