Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / jscriptyAnswerReport / jscriptyAnswerReport.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 _0xf90c=['JscriptyAnswerReport','report_jscripty_answers','lodash','util','../../config/logger','api','moment','path','rimraf'];(function(_0x34bf9f,_0x482f17){var _0x2a20ee=function(_0xb6e116){while(--_0xb6e116){_0x34bf9f['push'](_0x34bf9f['shift']());}};_0x2a20ee(++_0x482f17);}(_0xf90c,0x77));var _0xcf90=function(_0x10fe35,_0x650ddb){_0x10fe35=_0x10fe35-0x0;var _0x1e3d0d=_0xf90c[_0x10fe35];return _0x1e3d0d;};'use strict';var _=require(_0xcf90('0x0'));var util=require(_0xcf90('0x1'));var logger=require(_0xcf90('0x2'))(_0xcf90('0x3'));var moment=require(_0xcf90('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xcf90('0x5'));var rimraf=require(_0xcf90('0x6'));var config=require('../../config/environment');var attributes=require('./jscriptyAnswerReport.attributes');module['exports']=function(_0x240034,_0x1d25f4){return _0x240034['define'](_0xcf90('0x7'),attributes,{'tableName':_0xcf90('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};