Built motion from commit 25580385.|2.6.2
[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 _0xd065=['bluebird','request-promise','define','JscriptyAnswerReport','util','../../config/logger','api'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xd065,0x66));var _0x5d06=function(_0x3beca8,_0x4ce1c4){_0x3beca8=_0x3beca8-0x0;var _0x32b511=_0xd065[_0x3beca8];return _0x32b511;};'use strict';var _=require('lodash');var util=require(_0x5d06('0x0'));var logger=require(_0x5d06('0x1'))(_0x5d06('0x2'));var moment=require('moment');var BPromise=require(_0x5d06('0x3'));var rp=require(_0x5d06('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./jscriptyAnswerReport.attributes');module['exports']=function(_0x176999,_0x370d63){return _0x176999[_0x5d06('0x5')](_0x5d06('0x6'),attributes,{'tableName':'report_jscripty_answers','paranoid':![],'indexes':[],'timestamps':!![]});};