1ed62b198c625692d3438f523a5882e3c2f05c75
[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 _0xa1b0=['bluebird','request-promise','path','rimraf','../../config/environment','exports','define','JscriptyAnswerReport','util','../../config/logger','api','moment'];(function(_0x4138a3,_0x5ce393){var _0x21ccb5=function(_0x21ba59){while(--_0x21ba59){_0x4138a3['push'](_0x4138a3['shift']());}};_0x21ccb5(++_0x5ce393);}(_0xa1b0,0x194));var _0x0a1b=function(_0x1705a1,_0x327cdf){_0x1705a1=_0x1705a1-0x0;var _0x2d37fa=_0xa1b0[_0x1705a1];return _0x2d37fa;};'use strict';var _=require('lodash');var util=require(_0x0a1b('0x0'));var logger=require(_0x0a1b('0x1'))(_0x0a1b('0x2'));var moment=require(_0x0a1b('0x3'));var BPromise=require(_0x0a1b('0x4'));var rp=require(_0x0a1b('0x5'));var fs=require('fs');var path=require(_0x0a1b('0x6'));var rimraf=require(_0x0a1b('0x7'));var config=require(_0x0a1b('0x8'));var attributes=require('./jscriptyAnswerReport.attributes');module[_0x0a1b('0x9')]=function(_0x223fd2,_0x5d4cb9){return _0x223fd2[_0x0a1b('0xa')](_0x0a1b('0xb'),attributes,{'tableName':'report_jscripty_answers','paranoid':![],'indexes':[],'timestamps':!![]});};