b9dadc3981c370145c1d210fc467ae501a6826ae
[motion2.git] / server / api / jscriptyQuestionReport / jscriptyQuestionReport.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 _0x571a=['request-promise','rimraf','../../config/environment','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0xf0bdc7,_0x26888e){var _0x3dcae1=function(_0x13db5d){while(--_0x13db5d){_0xf0bdc7['push'](_0xf0bdc7['shift']());}};_0x3dcae1(++_0x26888e);}(_0x571a,0x132));var _0xa571=function(_0x120777,_0x544b3a){_0x120777=_0x120777-0x0;var _0x15cebd=_0x571a[_0x120777];return _0x15cebd;};'use strict';var _=require(_0xa571('0x0'));var util=require(_0xa571('0x1'));var logger=require(_0xa571('0x2'))(_0xa571('0x3'));var moment=require(_0xa571('0x4'));var BPromise=require(_0xa571('0x5'));var rp=require(_0xa571('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa571('0x7'));var config=require(_0xa571('0x8'));var attributes=require('./jscriptyQuestionReport.attributes');module[_0xa571('0x9')]=function(_0x3d780c,_0x15f54c){return _0x3d780c[_0xa571('0xa')](_0xa571('0xb'),attributes,{'tableName':_0xa571('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};