9f1748c9a9ecaf1d299299514072728fd59af0d7
[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 _0x5d42=['util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','JscriptyAnswerReport','report_jscripty_answers'];(function(_0x343b71,_0x1f93d8){var _0x152cb9=function(_0x3631f6){while(--_0x3631f6){_0x343b71['push'](_0x343b71['shift']());}};_0x152cb9(++_0x1f93d8);}(_0x5d42,0x99));var _0x25d4=function(_0xec9857,_0x5566ff){_0xec9857=_0xec9857-0x0;var _0x429309=_0x5d42[_0xec9857];return _0x429309;};'use strict';var _=require('lodash');var util=require(_0x25d4('0x0'));var logger=require(_0x25d4('0x1'))(_0x25d4('0x2'));var moment=require('moment');var BPromise=require(_0x25d4('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x25d4('0x4'));var rimraf=require(_0x25d4('0x5'));var config=require(_0x25d4('0x6'));var attributes=require('./jscriptyAnswerReport.attributes');module['exports']=function(_0x3585b7,_0x2ce7ec){return _0x3585b7['define'](_0x25d4('0x7'),attributes,{'tableName':_0x25d4('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};