41f765e502b0efc9f45ad5c5ab53afe0cf246476
[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 _0xa91e=['lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','report_jscripty_answers'];(function(_0x4bcea6,_0x12c81f){var _0x107a8c=function(_0x4502b6){while(--_0x4502b6){_0x4bcea6['push'](_0x4bcea6['shift']());}};_0x107a8c(++_0x12c81f);}(_0xa91e,0x1ba));var _0xea91=function(_0x4a4f8d,_0x3d06cd){_0x4a4f8d=_0x4a4f8d-0x0;var _0x31e749=_0xa91e[_0x4a4f8d];return _0x31e749;};'use strict';var _=require(_0xea91('0x0'));var util=require(_0xea91('0x1'));var logger=require('../../config/logger')(_0xea91('0x2'));var moment=require(_0xea91('0x3'));var BPromise=require(_0xea91('0x4'));var rp=require(_0xea91('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xea91('0x6'));var config=require(_0xea91('0x7'));var attributes=require(_0xea91('0x8'));module[_0xea91('0x9')]=function(_0x102cd8,_0x59c454){return _0x102cd8[_0xea91('0xa')](_0xea91('0xb'),attributes,{'tableName':_0xea91('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};