8119857a9819622f8c676e4dc240366e9ec6a63f
[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 _0x191a=['api','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define','JscriptyAnswerReport','report_jscripty_answers','lodash','util'];(function(_0x4cd305,_0x40cec3){var _0x1b3356=function(_0x17b220){while(--_0x17b220){_0x4cd305['push'](_0x4cd305['shift']());}};_0x1b3356(++_0x40cec3);}(_0x191a,0xfa));var _0xa191=function(_0x516559,_0x3a4228){_0x516559=_0x516559-0x0;var _0x130d93=_0x191a[_0x516559];return _0x130d93;};'use strict';var _=require(_0xa191('0x0'));var util=require(_0xa191('0x1'));var logger=require('../../config/logger')(_0xa191('0x2'));var moment=require(_0xa191('0x3'));var BPromise=require(_0xa191('0x4'));var rp=require(_0xa191('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa191('0x6'));var config=require(_0xa191('0x7'));var attributes=require('./jscriptyAnswerReport.attributes');module[_0xa191('0x8')]=function(_0x6daa32,_0xb6dd7){return _0x6daa32[_0xa191('0x9')](_0xa191('0xa'),attributes,{'tableName':_0xa191('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};