Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / jscriptyQuestionReport / jscriptyQuestionReport.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 _0x1f81=['moment','path','../../config/environment','JscriptyQuestionReport','report_jscripty_questions','lodash','../../config/logger'];(function(_0x190d72,_0x1a7de9){var _0x2292db=function(_0x43c33c){while(--_0x43c33c){_0x190d72['push'](_0x190d72['shift']());}};_0x2292db(++_0x1a7de9);}(_0x1f81,0x12b));var _0x11f8=function(_0xbc346f,_0x3db5c0){_0xbc346f=_0xbc346f-0x0;var _0x9f9260=_0x1f81[_0xbc346f];return _0x9f9260;};'use strict';var _=require(_0x11f8('0x0'));var util=require('util');var logger=require(_0x11f8('0x1'))('api');var moment=require(_0x11f8('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x11f8('0x3'));var rimraf=require('rimraf');var config=require(_0x11f8('0x4'));var attributes=require('./jscriptyQuestionReport.attributes');module['exports']=function(_0x2aebe0,_0x502528){return _0x2aebe0['define'](_0x11f8('0x5'),attributes,{'tableName':_0x11f8('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};