Built motion from commit 47436d59.|2.6.7
[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 _0xe089=['../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','exports','define','JscriptyAnswerReport','report_jscripty_answers','lodash','util'];(function(_0x104e75,_0x7208ac){var _0x44560a=function(_0x4c2b4b){while(--_0x4c2b4b){_0x104e75['push'](_0x104e75['shift']());}};_0x44560a(++_0x7208ac);}(_0xe089,0xca));var _0x9e08=function(_0x131b84,_0x337d5d){_0x131b84=_0x131b84-0x0;var _0x4e581b=_0xe089[_0x131b84];return _0x4e581b;};'use strict';var _=require(_0x9e08('0x0'));var util=require(_0x9e08('0x1'));var logger=require(_0x9e08('0x2'))(_0x9e08('0x3'));var moment=require('moment');var BPromise=require(_0x9e08('0x4'));var rp=require(_0x9e08('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9e08('0x6'));var config=require(_0x9e08('0x7'));var attributes=require('./jscriptyAnswerReport.attributes');module[_0x9e08('0x8')]=function(_0x14e29c,_0x1224bf){return _0x14e29c[_0x9e08('0x9')](_0x9e08('0xa'),attributes,{'tableName':_0x9e08('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};