ce8d8f4cbfefc78b03a6c16e27aa39893b898ced
[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 _0x8d99=['lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./jscriptyAnswerReport.attributes','exports','JscriptyAnswerReport','report_jscripty_answers'];(function(_0x5b6a93,_0x5961d2){var _0x3bb67f=function(_0x2ba18b){while(--_0x2ba18b){_0x5b6a93['push'](_0x5b6a93['shift']());}};_0x3bb67f(++_0x5961d2);}(_0x8d99,0x150));var _0x98d9=function(_0x485acf,_0x2ee516){_0x485acf=_0x485acf-0x0;var _0x33187d=_0x8d99[_0x485acf];return _0x33187d;};'use strict';var _=require(_0x98d9('0x0'));var util=require(_0x98d9('0x1'));var logger=require('../../config/logger')(_0x98d9('0x2'));var moment=require(_0x98d9('0x3'));var BPromise=require(_0x98d9('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x98d9('0x5'));var rimraf=require(_0x98d9('0x6'));var config=require(_0x98d9('0x7'));var attributes=require(_0x98d9('0x8'));module[_0x98d9('0x9')]=function(_0x2f77a2,_0x899b3b){return _0x2f77a2['define'](_0x98d9('0xa'),attributes,{'tableName':_0x98d9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};