bd3cff7f0705f08ebbbea4984e4807426c0f8bdc
[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 _0x5f46=['path','exports','report_jscripty_answers','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x162fa4,_0x366705){var _0x1d1d8a=function(_0x8d266f){while(--_0x8d266f){_0x162fa4['push'](_0x162fa4['shift']());}};_0x1d1d8a(++_0x366705);}(_0x5f46,0x16b));var _0x65f4=function(_0x4e24f3,_0x4c87fb){_0x4e24f3=_0x4e24f3-0x0;var _0x1b3a31=_0x5f46[_0x4e24f3];return _0x1b3a31;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x65f4('0x0'))(_0x65f4('0x1'));var moment=require(_0x65f4('0x2'));var BPromise=require(_0x65f4('0x3'));var rp=require(_0x65f4('0x4'));var fs=require('fs');var path=require(_0x65f4('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./jscriptyAnswerReport.attributes');module[_0x65f4('0x6')]=function(_0x13e626,_0x51815e){return _0x13e626['define']('JscriptyAnswerReport',attributes,{'tableName':_0x65f4('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};