204dfa52032b6b20b74d9152b6d02dac640b2063
[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 _0x3919=['report_jscripty_answers','lodash','util','../../config/logger','api','bluebird','path','../../config/environment','./jscriptyAnswerReport.attributes','exports','JscriptyAnswerReport'];(function(_0xadd0d2,_0x3bf5b9){var _0x2d564c=function(_0x36df23){while(--_0x36df23){_0xadd0d2['push'](_0xadd0d2['shift']());}};_0x2d564c(++_0x3bf5b9);}(_0x3919,0x85));var _0x9391=function(_0x138667,_0xe5f011){_0x138667=_0x138667-0x0;var _0x23e157=_0x3919[_0x138667];return _0x23e157;};'use strict';var _=require(_0x9391('0x0'));var util=require(_0x9391('0x1'));var logger=require(_0x9391('0x2'))(_0x9391('0x3'));var moment=require('moment');var BPromise=require(_0x9391('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9391('0x5'));var rimraf=require('rimraf');var config=require(_0x9391('0x6'));var attributes=require(_0x9391('0x7'));module[_0x9391('0x8')]=function(_0x307a03,_0x3721c1){return _0x307a03['define'](_0x9391('0x9'),attributes,{'tableName':_0x9391('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};