e7d34209048c6d73e0df0444418177ed7df46da6
[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 _0x61de=['rimraf','../../config/environment','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','report_jscripty_answers','lodash','util','../../config/logger','bluebird','path'];(function(_0x17a1e4,_0x2672fa){var _0x172b8a=function(_0x1add7a){while(--_0x1add7a){_0x17a1e4['push'](_0x17a1e4['shift']());}};_0x172b8a(++_0x2672fa);}(_0x61de,0x14b));var _0xe61d=function(_0x45f951,_0x2750c8){_0x45f951=_0x45f951-0x0;var _0x24756c=_0x61de[_0x45f951];return _0x24756c;};'use strict';var _=require(_0xe61d('0x0'));var util=require(_0xe61d('0x1'));var logger=require(_0xe61d('0x2'))('api');var moment=require('moment');var BPromise=require(_0xe61d('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe61d('0x4'));var rimraf=require(_0xe61d('0x5'));var config=require(_0xe61d('0x6'));var attributes=require(_0xe61d('0x7'));module[_0xe61d('0x8')]=function(_0x4c254f,_0xf8a84f){return _0x4c254f[_0xe61d('0x9')](_0xe61d('0xa'),attributes,{'tableName':_0xe61d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};