Built motion from commit (unavailable).|2.5.1
[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 _0xfd33=['rimraf','../../config/environment','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','util','../../config/logger','api','moment','bluebird','path'];(function(_0x132106,_0x1360e8){var _0x3fdce2=function(_0x4a5ac5){while(--_0x4a5ac5){_0x132106['push'](_0x132106['shift']());}};_0x3fdce2(++_0x1360e8);}(_0xfd33,0x14a));var _0x3fd3=function(_0x3826ad,_0x49a30d){_0x3826ad=_0x3826ad-0x0;var _0x17b900=_0xfd33[_0x3826ad];return _0x17b900;};'use strict';var _=require('lodash');var util=require(_0x3fd3('0x0'));var logger=require(_0x3fd3('0x1'))(_0x3fd3('0x2'));var moment=require(_0x3fd3('0x3'));var BPromise=require(_0x3fd3('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3fd3('0x5'));var rimraf=require(_0x3fd3('0x6'));var config=require(_0x3fd3('0x7'));var attributes=require(_0x3fd3('0x8'));module[_0x3fd3('0x9')]=function(_0x4ff8a3,_0x3e767b){return _0x4ff8a3[_0x3fd3('0xa')](_0x3fd3('0xb'),attributes,{'tableName':'report_jscripty_answers','paranoid':![],'indexes':[],'timestamps':!![]});};