bccc4e0c62f1bf1ae3339761b02303505f856681
[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 _0xb23c=['api','moment','bluebird','request-promise','path','../../config/environment','exports','JscriptyQuestionReport','report_jscripty_questions','util','../../config/logger'];(function(_0x30d7f3,_0x44a8a7){var _0x1ba328=function(_0x267d13){while(--_0x267d13){_0x30d7f3['push'](_0x30d7f3['shift']());}};_0x1ba328(++_0x44a8a7);}(_0xb23c,0x8d));var _0xcb23=function(_0x3500e7,_0xef2c9d){_0x3500e7=_0x3500e7-0x0;var _0x23267c=_0xb23c[_0x3500e7];return _0x23267c;};'use strict';var _=require('lodash');var util=require(_0xcb23('0x0'));var logger=require(_0xcb23('0x1'))(_0xcb23('0x2'));var moment=require(_0xcb23('0x3'));var BPromise=require(_0xcb23('0x4'));var rp=require(_0xcb23('0x5'));var fs=require('fs');var path=require(_0xcb23('0x6'));var rimraf=require('rimraf');var config=require(_0xcb23('0x7'));var attributes=require('./jscriptyQuestionReport.attributes');module[_0xcb23('0x8')]=function(_0x29a98c,_0x6905cb){return _0x29a98c['define'](_0xcb23('0x9'),attributes,{'tableName':_0xcb23('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};