Built motion from commit 980b26c3.|2.6.29
[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 _0xb20d=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions','util','../../config/logger'];(function(_0x3b5bff,_0x37e78f){var _0x46b1fa=function(_0x13c6e9){while(--_0x13c6e9){_0x3b5bff['push'](_0x3b5bff['shift']());}};_0x46b1fa(++_0x37e78f);}(_0xb20d,0x191));var _0xdb20=function(_0x113643,_0x252980){_0x113643=_0x113643-0x0;var _0x51d55d=_0xb20d[_0x113643];return _0x51d55d;};'use strict';var _=require('lodash');var util=require(_0xdb20('0x0'));var logger=require(_0xdb20('0x1'))('api');var moment=require(_0xdb20('0x2'));var BPromise=require(_0xdb20('0x3'));var rp=require(_0xdb20('0x4'));var fs=require('fs');var path=require(_0xdb20('0x5'));var rimraf=require(_0xdb20('0x6'));var config=require(_0xdb20('0x7'));var attributes=require(_0xdb20('0x8'));module[_0xdb20('0x9')]=function(_0x3e1916,_0x5ad4f6){return _0x3e1916[_0xdb20('0xa')](_0xdb20('0xb'),attributes,{'tableName':_0xdb20('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};