6dea22f3db424b1adfe84b350860c271d46e67ef
[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 _0x511d=['api','moment','request-promise','path','rimraf','exports','JscriptyAnswerReport','report_jscripty_answers','lodash','util','../../config/logger'];(function(_0x2de0ec,_0x38812f){var _0x13aa7b=function(_0x340176){while(--_0x340176){_0x2de0ec['push'](_0x2de0ec['shift']());}};_0x13aa7b(++_0x38812f);}(_0x511d,0x1e1));var _0xd511=function(_0x11c573,_0x9e7c6e){_0x11c573=_0x11c573-0x0;var _0x6b72de=_0x511d[_0x11c573];return _0x6b72de;};'use strict';var _=require(_0xd511('0x0'));var util=require(_0xd511('0x1'));var logger=require(_0xd511('0x2'))(_0xd511('0x3'));var moment=require(_0xd511('0x4'));var BPromise=require('bluebird');var rp=require(_0xd511('0x5'));var fs=require('fs');var path=require(_0xd511('0x6'));var rimraf=require(_0xd511('0x7'));var config=require('../../config/environment');var attributes=require('./jscriptyAnswerReport.attributes');module[_0xd511('0x8')]=function(_0x37591d,_0x1cb277){return _0x37591d['define'](_0xd511('0x9'),attributes,{'tableName':_0xd511('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};