1f2b492cb0090a96e9492900ac7af3bcf5216805
[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 _0xb75b=['report_jscripty_questions','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','exports','define','JscriptyQuestionReport'];(function(_0xdeefbd,_0x9e1b3d){var _0x4ff63f=function(_0x4b51f9){while(--_0x4b51f9){_0xdeefbd['push'](_0xdeefbd['shift']());}};_0x4ff63f(++_0x9e1b3d);}(_0xb75b,0x187));var _0xbb75=function(_0x58f5c5,_0x71f99a){_0x58f5c5=_0x58f5c5-0x0;var _0x4fef49=_0xb75b[_0x58f5c5];return _0x4fef49;};'use strict';var _=require(_0xbb75('0x0'));var util=require(_0xbb75('0x1'));var logger=require(_0xbb75('0x2'))(_0xbb75('0x3'));var moment=require(_0xbb75('0x4'));var BPromise=require(_0xbb75('0x5'));var rp=require(_0xbb75('0x6'));var fs=require('fs');var path=require(_0xbb75('0x7'));var rimraf=require(_0xbb75('0x8'));var config=require('../../config/environment');var attributes=require('./jscriptyQuestionReport.attributes');module[_0xbb75('0x9')]=function(_0x518bfb,_0x45b3b1){return _0x518bfb[_0xbb75('0xa')](_0xbb75('0xb'),attributes,{'tableName':_0xbb75('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};