Built motion from commit (unavailable).|2.5.14
[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 _0x7a3d=['define','VoiceTransferReport','report_call_transfer','util','../../config/logger','api','moment','bluebird','path','./voiceTransferReport.attributes','exports'];(function(_0x541817,_0x42ce68){var _0x46a287=function(_0x2e1a1b){while(--_0x2e1a1b){_0x541817['push'](_0x541817['shift']());}};_0x46a287(++_0x42ce68);}(_0x7a3d,0x1d1));var _0xd7a3=function(_0x70c986,_0x26a280){_0x70c986=_0x70c986-0x0;var _0x586bfd=_0x7a3d[_0x70c986];return _0x586bfd;};'use strict';var _=require('lodash');var util=require(_0xd7a3('0x0'));var logger=require(_0xd7a3('0x1'))(_0xd7a3('0x2'));var moment=require(_0xd7a3('0x3'));var BPromise=require(_0xd7a3('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd7a3('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xd7a3('0x6'));module[_0xd7a3('0x7')]=function(_0x3e862a,_0x4104ab){return _0x3e862a[_0xd7a3('0x8')](_0xd7a3('0x9'),attributes,{'tableName':_0xd7a3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};