59e4ca2c3acb7b08c3e2209f80623544e57e9aa8
[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 _0x223e=['report_jscripty_answers','api','moment','bluebird','request-promise','path','./jscriptyAnswerReport.attributes','define'];(function(_0x37c9b8,_0x233dac){var _0x28f503=function(_0x33bed5){while(--_0x33bed5){_0x37c9b8['push'](_0x37c9b8['shift']());}};_0x28f503(++_0x233dac);}(_0x223e,0xe1));var _0xe223=function(_0x4e93a9,_0x413f30){_0x4e93a9=_0x4e93a9-0x0;var _0x43013c=_0x223e[_0x4e93a9];return _0x43013c;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xe223('0x0'));var moment=require(_0xe223('0x1'));var BPromise=require(_0xe223('0x2'));var rp=require(_0xe223('0x3'));var fs=require('fs');var path=require(_0xe223('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xe223('0x5'));module['exports']=function(_0x3a2269,_0x5c4ced){return _0x3a2269[_0xe223('0x6')]('JscriptyAnswerReport',attributes,{'tableName':_0xe223('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};