ad6115b727cbcf4d7e49e981e150c004593a7b41
[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 _0xf33c=['request-promise','../../config/environment','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0xf33c,0x7e));var _0xcf33=function(_0x4ac4b0,_0x2c564c){_0x4ac4b0=_0x4ac4b0-0x0;var _0x206f4b=_0xf33c[_0x4ac4b0];return _0x206f4b;};'use strict';var _=require(_0xcf33('0x0'));var util=require(_0xcf33('0x1'));var logger=require(_0xcf33('0x2'))(_0xcf33('0x3'));var moment=require(_0xcf33('0x4'));var BPromise=require(_0xcf33('0x5'));var rp=require(_0xcf33('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xcf33('0x7'));var attributes=require('./jscriptyQuestionReport.attributes');module[_0xcf33('0x8')]=function(_0x21a366,_0x3a9698){return _0x21a366[_0xcf33('0x9')](_0xcf33('0xa'),attributes,{'tableName':_0xcf33('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};