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 _0x41f5=['report_jscripty_answers','lodash','util','../../config/logger','moment','request-promise','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0x41f5,0x105));var _0x541f=function(_0x42b3e3,_0x3e2593){_0x42b3e3=_0x42b3e3-0x0;var _0x622dcb=_0x41f5[_0x42b3e3];return _0x622dcb;};'use strict';var _=require(_0x541f('0x0'));var util=require(_0x541f('0x1'));var logger=require(_0x541f('0x2'))('api');var moment=require(_0x541f('0x3'));var BPromise=require('bluebird');var rp=require(_0x541f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x541f('0x5'));module[_0x541f('0x6')]=function(_0x19a02a,_0x5e80de){return _0x19a02a[_0x541f('0x7')](_0x541f('0x8'),attributes,{'tableName':_0x541f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};