0e8532ccb98e29f3187afe36b5e6f07f665b68ad
[motion2.git] / server / api / voiceDialReport / voiceDialReport.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 _0x87e7=['define','report_dial','uniqueid','lodash','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceDialReport.attributes','exports'];(function(_0x2ec7c1,_0x4e2e5f){var _0x16bb3b=function(_0x23dee0){while(--_0x23dee0){_0x2ec7c1['push'](_0x2ec7c1['shift']());}};_0x16bb3b(++_0x4e2e5f);}(_0x87e7,0x1b0));var _0x787e=function(_0x59ab65,_0x410a52){_0x59ab65=_0x59ab65-0x0;var _0x57db9b=_0x87e7[_0x59ab65];return _0x57db9b;};'use strict';var _=require(_0x787e('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x787e('0x1'));var moment=require(_0x787e('0x2'));var BPromise=require(_0x787e('0x3'));var rp=require(_0x787e('0x4'));var fs=require('fs');var path=require(_0x787e('0x5'));var rimraf=require(_0x787e('0x6'));var config=require(_0x787e('0x7'));var attributes=require(_0x787e('0x8'));module[_0x787e('0x9')]=function(_0x5788c7,_0x30fd0b){return _0x5788c7[_0x787e('0xa')]('VoiceDialReport',attributes,{'tableName':_0x787e('0xb'),'paranoid':![],'indexes':[{'fields':[_0x787e('0xc')]}],'timestamps':!![]});};