e8fbd4a47b06f17524b11f11649185702e0fdb4e
[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 _0x89bd=['exports','report_jscripty_answers','../../config/logger','api','moment','path','rimraf','./jscriptyAnswerReport.attributes'];(function(_0x2731df,_0x190651){var _0x222023=function(_0x4c2483){while(--_0x4c2483){_0x2731df['push'](_0x2731df['shift']());}};_0x222023(++_0x190651);}(_0x89bd,0x92));var _0xd89b=function(_0x44d603,_0x5f1356){_0x44d603=_0x44d603-0x0;var _0x382a7e=_0x89bd[_0x44d603];return _0x382a7e;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xd89b('0x0'))(_0xd89b('0x1'));var moment=require(_0xd89b('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xd89b('0x3'));var rimraf=require(_0xd89b('0x4'));var config=require('../../config/environment');var attributes=require(_0xd89b('0x5'));module[_0xd89b('0x6')]=function(_0x381107,_0x534249){return _0x381107['define']('JscriptyAnswerReport',attributes,{'tableName':_0xd89b('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};