Built motion from commit ddca4d0d.|2.5.47
[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 _0x949e=['moment','path','rimraf','./jscriptyQuestionReport.attributes','define','JscriptyQuestionReport','report_jscripty_questions','lodash','util','../../config/logger'];(function(_0x5a7e6e,_0x40f86a){var _0xd62657=function(_0x415aaf){while(--_0x415aaf){_0x5a7e6e['push'](_0x5a7e6e['shift']());}};_0xd62657(++_0x40f86a);}(_0x949e,0x133));var _0xe949=function(_0x4f3a5d,_0x38083b){_0x4f3a5d=_0x4f3a5d-0x0;var _0x2cb72d=_0x949e[_0x4f3a5d];return _0x2cb72d;};'use strict';var _=require(_0xe949('0x0'));var util=require(_0xe949('0x1'));var logger=require(_0xe949('0x2'))('api');var moment=require(_0xe949('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe949('0x4'));var rimraf=require(_0xe949('0x5'));var config=require('../../config/environment');var attributes=require(_0xe949('0x6'));module['exports']=function(_0x4e35d5,_0x3449ec){return _0x4e35d5[_0xe949('0x7')](_0xe949('0x8'),attributes,{'tableName':_0xe949('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};