Built motion from commit (unavailable).|2.5.14
[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 _0x1916=['bluebird','request-promise','path','rimraf','../../config/environment','exports','JscriptyAnswerReport','lodash','util','api'];(function(_0x1b92a6,_0x14444b){var _0x24be5b=function(_0x3a5fb5){while(--_0x3a5fb5){_0x1b92a6['push'](_0x1b92a6['shift']());}};_0x24be5b(++_0x14444b);}(_0x1916,0x165));var _0x6191=function(_0x1b2b1e,_0x19b3be){_0x1b2b1e=_0x1b2b1e-0x0;var _0x3cc510=_0x1916[_0x1b2b1e];return _0x3cc510;};'use strict';var _=require(_0x6191('0x0'));var util=require(_0x6191('0x1'));var logger=require('../../config/logger')(_0x6191('0x2'));var moment=require('moment');var BPromise=require(_0x6191('0x3'));var rp=require(_0x6191('0x4'));var fs=require('fs');var path=require(_0x6191('0x5'));var rimraf=require(_0x6191('0x6'));var config=require(_0x6191('0x7'));var attributes=require('./jscriptyAnswerReport.attributes');module[_0x6191('0x8')]=function(_0x9f822c,_0xef2e86){return _0x9f822c['define'](_0x6191('0x9'),attributes,{'tableName':'report_jscripty_answers','paranoid':![],'indexes':[],'timestamps':!![]});};