Built motion from commit (unavailable).|2.5.15
[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 _0x7fb5=['bluebird','request-promise','path','rimraf','../../config/environment','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','util','../../config/logger','api'];(function(_0xddf20b,_0x3a7ff6){var _0x43f6cf=function(_0x2a7bba){while(--_0x2a7bba){_0xddf20b['push'](_0xddf20b['shift']());}};_0x43f6cf(++_0x3a7ff6);}(_0x7fb5,0x1d0));var _0x57fb=function(_0x3ef332,_0x31b547){_0x3ef332=_0x3ef332-0x0;var _0x1dcc82=_0x7fb5[_0x3ef332];return _0x1dcc82;};'use strict';var _=require(_0x57fb('0x0'));var util=require(_0x57fb('0x1'));var logger=require(_0x57fb('0x2'))(_0x57fb('0x3'));var moment=require('moment');var BPromise=require(_0x57fb('0x4'));var rp=require(_0x57fb('0x5'));var fs=require('fs');var path=require(_0x57fb('0x6'));var rimraf=require(_0x57fb('0x7'));var config=require(_0x57fb('0x8'));var attributes=require('./jscriptyQuestionReport.attributes');module[_0x57fb('0x9')]=function(_0x34e8d6,_0x20c92e){return _0x34e8d6[_0x57fb('0xa')](_0x57fb('0xb'),attributes,{'tableName':_0x57fb('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};