93a296dfcaa1fe7bcf87afd4effb15187def0f81
[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 _0x757a=['define','JscriptyQuestionReport','util','../../config/logger','moment','bluebird','rimraf','../../config/environment','./jscriptyQuestionReport.attributes','exports'];(function(_0x36cd09,_0x2d5e2f){var _0x18fd1a=function(_0x3d042c){while(--_0x3d042c){_0x36cd09['push'](_0x36cd09['shift']());}};_0x18fd1a(++_0x2d5e2f);}(_0x757a,0xb6));var _0xa757=function(_0x43ad50,_0x3e60ce){_0x43ad50=_0x43ad50-0x0;var _0x548206=_0x757a[_0x43ad50];return _0x548206;};'use strict';var _=require('lodash');var util=require(_0xa757('0x0'));var logger=require(_0xa757('0x1'))('api');var moment=require(_0xa757('0x2'));var BPromise=require(_0xa757('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xa757('0x4'));var config=require(_0xa757('0x5'));var attributes=require(_0xa757('0x6'));module[_0xa757('0x7')]=function(_0x16503d,_0x1f7ca0){return _0x16503d[_0xa757('0x8')](_0xa757('0x9'),attributes,{'tableName':'report_jscripty_questions','paranoid':![],'indexes':[],'timestamps':!![]});};