5af49e791541dd189f67928fdf056c4655b7d948
[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 _0x16f1=['define','JscriptyAnswerReport','report_jscripty_answers','lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment'];(function(_0x9f0919,_0x167941){var _0x27c8c5=function(_0x365055){while(--_0x365055){_0x9f0919['push'](_0x9f0919['shift']());}};_0x27c8c5(++_0x167941);}(_0x16f1,0x163));var _0x116f=function(_0x16b599,_0x406327){_0x16b599=_0x16b599-0x0;var _0x5a92b7=_0x16f1[_0x16b599];return _0x5a92b7;};'use strict';var _=require(_0x116f('0x0'));var util=require(_0x116f('0x1'));var logger=require(_0x116f('0x2'))(_0x116f('0x3'));var moment=require(_0x116f('0x4'));var BPromise=require(_0x116f('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x116f('0x6'));var config=require(_0x116f('0x7'));var attributes=require('./jscriptyAnswerReport.attributes');module['exports']=function(_0xae92d7,_0x54674b){return _0xae92d7[_0x116f('0x8')](_0x116f('0x9'),attributes,{'tableName':_0x116f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};