130984af37279e1ccb6925d1f74f9a44eb81f7cb
[motion2.git] / server / api / voiceCallReport / voiceCallReport.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 _0x1801=['define','VoiceCallReport','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceCallReport.attributes','exports'];(function(_0x2302f0,_0x1afef2){var _0x23db84=function(_0x6ad1be){while(--_0x6ad1be){_0x2302f0['push'](_0x2302f0['shift']());}};_0x23db84(++_0x1afef2);}(_0x1801,0xc6));var _0x1180=function(_0x2f8f57,_0x4f37f8){_0x2f8f57=_0x2f8f57-0x0;var _0x162c5d=_0x1801[_0x2f8f57];return _0x162c5d;};'use strict';var _=require(_0x1180('0x0'));var util=require(_0x1180('0x1'));var logger=require(_0x1180('0x2'))(_0x1180('0x3'));var moment=require(_0x1180('0x4'));var BPromise=require(_0x1180('0x5'));var rp=require(_0x1180('0x6'));var fs=require('fs');var path=require(_0x1180('0x7'));var rimraf=require(_0x1180('0x8'));var config=require(_0x1180('0x9'));var attributes=require(_0x1180('0xa'));module[_0x1180('0xb')]=function(_0x300206,_0x5645fb){return _0x300206[_0x1180('0xc')](_0x1180('0xd'),attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};