Built motion from commit 55091a5c.|2.6.30
[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 _0x5d1b=['rimraf','./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','util','../../config/logger','api','moment','path'];(function(_0x39cb88,_0x2c77c5){var _0x18880c=function(_0x22c5a5){while(--_0x22c5a5){_0x39cb88['push'](_0x39cb88['shift']());}};_0x18880c(++_0x2c77c5);}(_0x5d1b,0x7e));var _0xb5d1=function(_0xbb6185,_0x98d595){_0xbb6185=_0xbb6185-0x0;var _0x435d96=_0x5d1b[_0xbb6185];return _0x435d96;};'use strict';var _=require(_0xb5d1('0x0'));var util=require(_0xb5d1('0x1'));var logger=require(_0xb5d1('0x2'))(_0xb5d1('0x3'));var moment=require(_0xb5d1('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xb5d1('0x5'));var rimraf=require(_0xb5d1('0x6'));var config=require('../../config/environment');var attributes=require(_0xb5d1('0x7'));module[_0xb5d1('0x8')]=function(_0x165fbc,_0x26bc57){return _0x165fbc[_0xb5d1('0x9')](_0xb5d1('0xa'),attributes,{'tableName':_0xb5d1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};