Built motion from commit da24aabd.|2.6.20
[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 _0x17f8=['rimraf','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','../../config/logger','api','moment','request-promise','path'];(function(_0x46ef1d,_0x24926){var _0x49ce69=function(_0x5db4fc){while(--_0x5db4fc){_0x46ef1d['push'](_0x46ef1d['shift']());}};_0x49ce69(++_0x24926);}(_0x17f8,0x14f));var _0x817f=function(_0x20099a,_0x2bf584){_0x20099a=_0x20099a-0x0;var _0x2c3649=_0x17f8[_0x20099a];return _0x2c3649;};'use strict';var _=require(_0x817f('0x0'));var util=require('util');var logger=require(_0x817f('0x1'))(_0x817f('0x2'));var moment=require(_0x817f('0x3'));var BPromise=require('bluebird');var rp=require(_0x817f('0x4'));var fs=require('fs');var path=require(_0x817f('0x5'));var rimraf=require(_0x817f('0x6'));var config=require('../../config/environment');var attributes=require('./jscriptyQuestionReport.attributes');module[_0x817f('0x7')]=function(_0x47d82a,_0x6e7d48){return _0x47d82a[_0x817f('0x8')](_0x817f('0x9'),attributes,{'tableName':_0x817f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};