a7a9bf5dbceed57f75f178d03bf468c18462399a
[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 _0x4e43=['bluebird','request-promise','rimraf','../../config/environment','./voiceTransferReport.attributes','exports','define','VoiceTransferReport','report_call_transfer','util','../../config/logger'];(function(_0x5ae141,_0x1f6a41){var _0xa810cf=function(_0x5b8e00){while(--_0x5b8e00){_0x5ae141['push'](_0x5ae141['shift']());}};_0xa810cf(++_0x1f6a41);}(_0x4e43,0x132));var _0x34e4=function(_0x1d1722,_0x759c36){_0x1d1722=_0x1d1722-0x0;var _0x100055=_0x4e43[_0x1d1722];return _0x100055;};'use strict';var _=require('lodash');var util=require(_0x34e4('0x0'));var logger=require(_0x34e4('0x1'))('api');var moment=require('moment');var BPromise=require(_0x34e4('0x2'));var rp=require(_0x34e4('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x34e4('0x4'));var config=require(_0x34e4('0x5'));var attributes=require(_0x34e4('0x6'));module[_0x34e4('0x7')]=function(_0x26c8d5,_0x30774c){return _0x26c8d5[_0x34e4('0x8')](_0x34e4('0x9'),attributes,{'tableName':_0x34e4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};