Built motion from commit 26159a51.|2.5.44
[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 _0x08ea=['moment','bluebird','../../config/environment','./voiceTransferReport.attributes','exports','report_call_transfer','lodash','api'];(function(_0x478689,_0x257f1a){var _0x9e4bf1=function(_0x4d9467){while(--_0x4d9467){_0x478689['push'](_0x478689['shift']());}};_0x9e4bf1(++_0x257f1a);}(_0x08ea,0x1a6));var _0xa08e=function(_0x469f69,_0x52c2de){_0x469f69=_0x469f69-0x0;var _0x414b7c=_0x08ea[_0x469f69];return _0x414b7c;};'use strict';var _=require(_0xa08e('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xa08e('0x1'));var moment=require(_0xa08e('0x2'));var BPromise=require(_0xa08e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xa08e('0x4'));var attributes=require(_0xa08e('0x5'));module[_0xa08e('0x6')]=function(_0x44113b,_0x3b7892){return _0x44113b['define']('VoiceTransferReport',attributes,{'tableName':_0xa08e('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};