cf82b0c0cf6f86db18ca43f56c2d5978cbeae35f
[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 _0xdc5f=['rimraf','../../config/environment','JscriptyAnswerReport','report_jscripty_answers','lodash','util','../../config/logger','moment','request-promise','path'];(function(_0x48e6da,_0x54289f){var _0x398c06=function(_0xdbc312){while(--_0xdbc312){_0x48e6da['push'](_0x48e6da['shift']());}};_0x398c06(++_0x54289f);}(_0xdc5f,0xe0));var _0xfdc5=function(_0x16d10f,_0x2ba2d5){_0x16d10f=_0x16d10f-0x0;var _0x50c823=_0xdc5f[_0x16d10f];return _0x50c823;};'use strict';var _=require(_0xfdc5('0x0'));var util=require(_0xfdc5('0x1'));var logger=require(_0xfdc5('0x2'))('api');var moment=require(_0xfdc5('0x3'));var BPromise=require('bluebird');var rp=require(_0xfdc5('0x4'));var fs=require('fs');var path=require(_0xfdc5('0x5'));var rimraf=require(_0xfdc5('0x6'));var config=require(_0xfdc5('0x7'));var attributes=require('./jscriptyAnswerReport.attributes');module['exports']=function(_0x5db95b,_0x1f032e){return _0x5db95b['define'](_0xfdc5('0x8'),attributes,{'tableName':_0xfdc5('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};