Built motion from commit 85328c08.|2.5.50
[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 _0x6585=['define','JscriptyQuestionReport','report_jscripty_questions','util','moment','bluebird','path','../../config/environment','./jscriptyQuestionReport.attributes'];(function(_0x404d5d,_0x35580d){var _0x490020=function(_0x32fea4){while(--_0x32fea4){_0x404d5d['push'](_0x404d5d['shift']());}};_0x490020(++_0x35580d);}(_0x6585,0x11a));var _0x5658=function(_0x13033f,_0x2045af){_0x13033f=_0x13033f-0x0;var _0x2ed576=_0x6585[_0x13033f];return _0x2ed576;};'use strict';var _=require('lodash');var util=require(_0x5658('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x5658('0x1'));var BPromise=require(_0x5658('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5658('0x3'));var rimraf=require('rimraf');var config=require(_0x5658('0x4'));var attributes=require(_0x5658('0x5'));module['exports']=function(_0x21e9f2,_0xb9f00c){return _0x21e9f2[_0x5658('0x6')](_0x5658('0x7'),attributes,{'tableName':_0x5658('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};