Built motion from commit d1eab355.|2.6.28
[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 _0xd649=['api','moment','rimraf','../../config/environment','./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','util','../../config/logger'];(function(_0x56e3df,_0x5a9413){var _0x5dead6=function(_0xcefc71){while(--_0xcefc71){_0x56e3df['push'](_0x56e3df['shift']());}};_0x5dead6(++_0x5a9413);}(_0xd649,0xd5));var _0x9d64=function(_0xe3c26c,_0x3cb38d){_0xe3c26c=_0xe3c26c-0x0;var _0x17400b=_0xd649[_0xe3c26c];return _0x17400b;};'use strict';var _=require(_0x9d64('0x0'));var util=require(_0x9d64('0x1'));var logger=require(_0x9d64('0x2'))(_0x9d64('0x3'));var moment=require(_0x9d64('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x9d64('0x5'));var config=require(_0x9d64('0x6'));var attributes=require(_0x9d64('0x7'));module[_0x9d64('0x8')]=function(_0x12c6ca,_0x5d3caa){return _0x12c6ca[_0x9d64('0x9')](_0x9d64('0xa'),attributes,{'tableName':_0x9d64('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};