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 _0x3c5a=['../../config/environment','./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','util','api','moment','bluebird','path','rimraf'];(function(_0x271c9c,_0x50a3e8){var _0xfa67ee=function(_0x55d9e3){while(--_0x55d9e3){_0x271c9c['push'](_0x271c9c['shift']());}};_0xfa67ee(++_0x50a3e8);}(_0x3c5a,0x117));var _0xa3c5=function(_0x4667b2,_0x135b67){_0x4667b2=_0x4667b2-0x0;var _0x1070f2=_0x3c5a[_0x4667b2];return _0x1070f2;};'use strict';var _=require(_0xa3c5('0x0'));var util=require(_0xa3c5('0x1'));var logger=require('../../config/logger')(_0xa3c5('0x2'));var moment=require(_0xa3c5('0x3'));var BPromise=require(_0xa3c5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa3c5('0x5'));var rimraf=require(_0xa3c5('0x6'));var config=require(_0xa3c5('0x7'));var attributes=require(_0xa3c5('0x8'));module[_0xa3c5('0x9')]=function(_0x2778e8,_0x183f40){return _0x2778e8[_0xa3c5('0xa')](_0xa3c5('0xb'),attributes,{'tableName':_0xa3c5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};