8311ba49585b8c9a8f7258ef4b497683afd60b6b
[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 _0xf908=['../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','report_jscripty_answers','lodash','util'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0xf908,0x1b0));var _0x8f90=function(_0x42b0e6,_0x5d78ba){_0x42b0e6=_0x42b0e6-0x0;var _0x2e6e52=_0xf908[_0x42b0e6];return _0x2e6e52;};'use strict';var _=require(_0x8f90('0x0'));var util=require(_0x8f90('0x1'));var logger=require(_0x8f90('0x2'))(_0x8f90('0x3'));var moment=require(_0x8f90('0x4'));var BPromise=require(_0x8f90('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8f90('0x6'));var rimraf=require(_0x8f90('0x7'));var config=require(_0x8f90('0x8'));var attributes=require(_0x8f90('0x9'));module[_0x8f90('0xa')]=function(_0x3ff785,_0x2399e4){return _0x3ff785[_0x8f90('0xb')](_0x8f90('0xc'),attributes,{'tableName':_0x8f90('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};