Built motion from commit b5413ace.|2.6.9
[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 _0x9cea=['moment','bluebird','../../config/environment','./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','util','../../config/logger','api'];(function(_0x32c282,_0x4387f3){var _0x2d3a8a=function(_0x3469de){while(--_0x3469de){_0x32c282['push'](_0x32c282['shift']());}};_0x2d3a8a(++_0x4387f3);}(_0x9cea,0x17c));var _0xa9ce=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0x9cea[_0x21a9d9];return _0x46adce;};'use strict';var _=require(_0xa9ce('0x0'));var util=require(_0xa9ce('0x1'));var logger=require(_0xa9ce('0x2'))(_0xa9ce('0x3'));var moment=require(_0xa9ce('0x4'));var BPromise=require(_0xa9ce('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xa9ce('0x6'));var attributes=require(_0xa9ce('0x7'));module[_0xa9ce('0x8')]=function(_0x9d9f00,_0x306967){return _0x9d9f00[_0xa9ce('0x9')](_0xa9ce('0xa'),attributes,{'tableName':_0xa9ce('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};