Built motion from commit eddce310.|2.6.12
[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 _0xbd73=['../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','util'];(function(_0x558935,_0x5e1296){var _0x4c286e=function(_0x55734b){while(--_0x55734b){_0x558935['push'](_0x558935['shift']());}};_0x4c286e(++_0x5e1296);}(_0xbd73,0xe8));var _0x3bd7=function(_0x9e47b9,_0x470c70){_0x9e47b9=_0x9e47b9-0x0;var _0x4ef93b=_0xbd73[_0x9e47b9];return _0x4ef93b;};'use strict';var _=require(_0x3bd7('0x0'));var util=require(_0x3bd7('0x1'));var logger=require(_0x3bd7('0x2'))(_0x3bd7('0x3'));var moment=require(_0x3bd7('0x4'));var BPromise=require(_0x3bd7('0x5'));var rp=require(_0x3bd7('0x6'));var fs=require('fs');var path=require(_0x3bd7('0x7'));var rimraf=require('rimraf');var config=require(_0x3bd7('0x8'));var attributes=require('./jscriptyQuestionReport.attributes');module[_0x3bd7('0x9')]=function(_0x5e024c,_0x39ee7e){return _0x5e024c[_0x3bd7('0xa')](_0x3bd7('0xb'),attributes,{'tableName':_0x3bd7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};