afefcb4bd879303892f64ef3a302d48f66338d07
[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 _0x22f5=['rimraf','../../config/environment','exports','define','JscriptyQuestionReport','report_jscripty_questions','../../config/logger','api','moment','request-promise','path'];(function(_0x10d56a,_0x4746cd){var _0x17a405=function(_0x659108){while(--_0x659108){_0x10d56a['push'](_0x10d56a['shift']());}};_0x17a405(++_0x4746cd);}(_0x22f5,0xa0));var _0x522f=function(_0x182618,_0x53427e){_0x182618=_0x182618-0x0;var _0x73fc2f=_0x22f5[_0x182618];return _0x73fc2f;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x522f('0x0'))(_0x522f('0x1'));var moment=require(_0x522f('0x2'));var BPromise=require('bluebird');var rp=require(_0x522f('0x3'));var fs=require('fs');var path=require(_0x522f('0x4'));var rimraf=require(_0x522f('0x5'));var config=require(_0x522f('0x6'));var attributes=require('./jscriptyQuestionReport.attributes');module[_0x522f('0x7')]=function(_0x5517bd,_0x213626){return _0x5517bd[_0x522f('0x8')](_0x522f('0x9'),attributes,{'tableName':_0x522f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};