f6b9a8c2e05de1c81bc549ee60c5a8687e50dbcb
[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 _0x8f12=['moment','bluebird','path','rimraf','../../config/environment','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','report_jscripty_answers','util','api'];(function(_0x1b9928,_0x33af5c){var _0x444eb6=function(_0x3e763f){while(--_0x3e763f){_0x1b9928['push'](_0x1b9928['shift']());}};_0x444eb6(++_0x33af5c);}(_0x8f12,0x196));var _0x28f1=function(_0x408a02,_0x478ca0){_0x408a02=_0x408a02-0x0;var _0x579bce=_0x8f12[_0x408a02];return _0x579bce;};'use strict';var _=require('lodash');var util=require(_0x28f1('0x0'));var logger=require('../../config/logger')(_0x28f1('0x1'));var moment=require(_0x28f1('0x2'));var BPromise=require(_0x28f1('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x28f1('0x4'));var rimraf=require(_0x28f1('0x5'));var config=require(_0x28f1('0x6'));var attributes=require(_0x28f1('0x7'));module[_0x28f1('0x8')]=function(_0xeda3f8,_0x3f1532){return _0xeda3f8[_0x28f1('0x9')](_0x28f1('0xa'),attributes,{'tableName':_0x28f1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};