59f2aff7c1f23d3a1df0fa7799e79f5120c232a6
[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 _0x8ee0=['lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport'];(function(_0x10e1ce,_0x1f28eb){var _0x5be2ea=function(_0x31904a){while(--_0x31904a){_0x10e1ce['push'](_0x10e1ce['shift']());}};_0x5be2ea(++_0x1f28eb);}(_0x8ee0,0x18c));var _0x08ee=function(_0x3b150c,_0x2f93f8){_0x3b150c=_0x3b150c-0x0;var _0x5cd414=_0x8ee0[_0x3b150c];return _0x5cd414;};'use strict';var _=require(_0x08ee('0x0'));var util=require(_0x08ee('0x1'));var logger=require(_0x08ee('0x2'))('api');var moment=require(_0x08ee('0x3'));var BPromise=require(_0x08ee('0x4'));var rp=require(_0x08ee('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x08ee('0x6'));var config=require('../../config/environment');var attributes=require(_0x08ee('0x7'));module[_0x08ee('0x8')]=function(_0xbc4c91,_0x201554){return _0xbc4c91[_0x08ee('0x9')](_0x08ee('0xa'),attributes,{'tableName':'report_jscripty_answers','paranoid':![],'indexes':[],'timestamps':!![]});};