be3f7eaa8f31c391ae4ed1d56ff710b83820a889
[motion2.git] / server / api / jscriptyAnswerReport / jscriptyAnswerReport.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 _0xf55b=['bluebird','rimraf','../../config/environment','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','report_jscripty_answers','lodash','util'];(function(_0x3c59fc,_0x10dbd2){var _0x2b78d4=function(_0x5f161a){while(--_0x5f161a){_0x3c59fc['push'](_0x3c59fc['shift']());}};_0x2b78d4(++_0x10dbd2);}(_0xf55b,0x1ca));var _0xbf55=function(_0x1c47db,_0x3cf40b){_0x1c47db=_0x1c47db-0x0;var _0x36c734=_0xf55b[_0x1c47db];return _0x36c734;};'use strict';var _=require(_0xbf55('0x0'));var util=require(_0xbf55('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xbf55('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xbf55('0x3'));var config=require(_0xbf55('0x4'));var attributes=require(_0xbf55('0x5'));module[_0xbf55('0x6')]=function(_0x3372ae,_0x5d7219){return _0x3372ae[_0xbf55('0x7')](_0xbf55('0x8'),attributes,{'tableName':_0xbf55('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};