Built motion from commit 3c2ce842.|2.6.31
[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 _0xef08=['path','rimraf','../../config/environment','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','report_jscripty_answers','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x1bbe41,_0x574de9){var _0x1f7289=function(_0x28ce81){while(--_0x28ce81){_0x1bbe41['push'](_0x1bbe41['shift']());}};_0x1f7289(++_0x574de9);}(_0xef08,0x86));var _0x8ef0=function(_0x227eb1,_0x13ebb0){_0x227eb1=_0x227eb1-0x0;var _0x1cd373=_0xef08[_0x227eb1];return _0x1cd373;};'use strict';var _=require(_0x8ef0('0x0'));var util=require('util');var logger=require(_0x8ef0('0x1'))(_0x8ef0('0x2'));var moment=require(_0x8ef0('0x3'));var BPromise=require(_0x8ef0('0x4'));var rp=require(_0x8ef0('0x5'));var fs=require('fs');var path=require(_0x8ef0('0x6'));var rimraf=require(_0x8ef0('0x7'));var config=require(_0x8ef0('0x8'));var attributes=require(_0x8ef0('0x9'));module[_0x8ef0('0xa')]=function(_0x31ab33,_0x55fd87){return _0x31ab33[_0x8ef0('0xb')](_0x8ef0('0xc'),attributes,{'tableName':_0x8ef0('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};