bc12a7749ec0a739899b6752a661a06359a31ac2
[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 _0xb25a=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','./jscriptyAnswerReport.attributes','exports','JscriptyAnswerReport','report_jscripty_answers'];(function(_0x4f1375,_0x58d047){var _0x3d0262=function(_0x4ae5d9){while(--_0x4ae5d9){_0x4f1375['push'](_0x4f1375['shift']());}};_0x3d0262(++_0x58d047);}(_0xb25a,0x1b0));var _0xab25=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xb25a[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0xab25('0x0'));var util=require(_0xab25('0x1'));var logger=require(_0xab25('0x2'))('api');var moment=require(_0xab25('0x3'));var BPromise=require(_0xab25('0x4'));var rp=require(_0xab25('0x5'));var fs=require('fs');var path=require(_0xab25('0x6'));var rimraf=require(_0xab25('0x7'));var config=require('../../config/environment');var attributes=require(_0xab25('0x8'));module[_0xab25('0x9')]=function(_0x10db9a,_0x3b6344){return _0x10db9a['define'](_0xab25('0xa'),attributes,{'tableName':_0xab25('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};