73bf009c6adf27ff36c23b89523e924a82181c05
[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 _0x8cdf=['./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','../../config/logger','api','moment','bluebird','rimraf','../../config/environment'];(function(_0x2aea9e,_0x1f587f){var _0x430b92=function(_0x416c37){while(--_0x416c37){_0x2aea9e['push'](_0x2aea9e['shift']());}};_0x430b92(++_0x1f587f);}(_0x8cdf,0x10d));var _0xf8cd=function(_0xd62527,_0x1ae3ad){_0xd62527=_0xd62527-0x0;var _0x3e5c7b=_0x8cdf[_0xd62527];return _0x3e5c7b;};'use strict';var _=require(_0xf8cd('0x0'));var util=require('util');var logger=require(_0xf8cd('0x1'))(_0xf8cd('0x2'));var moment=require(_0xf8cd('0x3'));var BPromise=require(_0xf8cd('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf8cd('0x5'));var config=require(_0xf8cd('0x6'));var attributes=require(_0xf8cd('0x7'));module[_0xf8cd('0x8')]=function(_0x1c4b3c,_0x20d499){return _0x1c4b3c[_0xf8cd('0x9')](_0xf8cd('0xa'),attributes,{'tableName':_0xf8cd('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};