Built motion from commit (unavailable).|2.5.22
[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 _0x38f3=['path','rimraf','exports','define','JscriptyQuestionReport','report_jscripty_questions','util','api','moment','bluebird','request-promise'];(function(_0x5e295b,_0xe559cc){var _0x594de8=function(_0x1fef83){while(--_0x1fef83){_0x5e295b['push'](_0x5e295b['shift']());}};_0x594de8(++_0xe559cc);}(_0x38f3,0x124));var _0x338f=function(_0x172948,_0x4262cc){_0x172948=_0x172948-0x0;var _0x4aeaa9=_0x38f3[_0x172948];return _0x4aeaa9;};'use strict';var _=require('lodash');var util=require(_0x338f('0x0'));var logger=require('../../config/logger')(_0x338f('0x1'));var moment=require(_0x338f('0x2'));var BPromise=require(_0x338f('0x3'));var rp=require(_0x338f('0x4'));var fs=require('fs');var path=require(_0x338f('0x5'));var rimraf=require(_0x338f('0x6'));var config=require('../../config/environment');var attributes=require('./jscriptyQuestionReport.attributes');module[_0x338f('0x7')]=function(_0x49b5cb,_0x4690ee){return _0x49b5cb[_0x338f('0x8')](_0x338f('0x9'),attributes,{'tableName':_0x338f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};