516c650bff0a475a67982fca637da004d566abed
[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 _0xf128=['exports','report_jscripty_answers','util','api','bluebird','path','rimraf','../../config/environment','./jscriptyAnswerReport.attributes'];(function(_0xdda038,_0x5bb728){var _0x574ae4=function(_0x2aa91c){while(--_0x2aa91c){_0xdda038['push'](_0xdda038['shift']());}};_0x574ae4(++_0x5bb728);}(_0xf128,0xd1));var _0x8f12=function(_0x2f7c44,_0x22434d){_0x2f7c44=_0x2f7c44-0x0;var _0xa27ff9=_0xf128[_0x2f7c44];return _0xa27ff9;};'use strict';var _=require('lodash');var util=require(_0x8f12('0x0'));var logger=require('../../config/logger')(_0x8f12('0x1'));var moment=require('moment');var BPromise=require(_0x8f12('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8f12('0x3'));var rimraf=require(_0x8f12('0x4'));var config=require(_0x8f12('0x5'));var attributes=require(_0x8f12('0x6'));module[_0x8f12('0x7')]=function(_0x53c072,_0x23a125){return _0x53c072['define']('JscriptyAnswerReport',attributes,{'tableName':_0x8f12('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};