Built motion from commit (unavailable).|2.5.31
[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 _0x4404=['util','../../config/logger','api','moment','bluebird','../../config/environment','exports','JscriptyAnswerReport','report_jscripty_answers'];(function(_0x352213,_0x37731f){var _0x3c7760=function(_0x5e7883){while(--_0x5e7883){_0x352213['push'](_0x352213['shift']());}};_0x3c7760(++_0x37731f);}(_0x4404,0x105));var _0x4440=function(_0x49b6c6,_0xc724a5){_0x49b6c6=_0x49b6c6-0x0;var _0x17a288=_0x4404[_0x49b6c6];return _0x17a288;};'use strict';var _=require('lodash');var util=require(_0x4440('0x0'));var logger=require(_0x4440('0x1'))(_0x4440('0x2'));var moment=require(_0x4440('0x3'));var BPromise=require(_0x4440('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x4440('0x5'));var attributes=require('./jscriptyAnswerReport.attributes');module[_0x4440('0x6')]=function(_0x1b2f21,_0x1a9732){return _0x1b2f21['define'](_0x4440('0x7'),attributes,{'tableName':_0x4440('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};