97092eb660faa3c2da1811b810bfffcdbf74aa0c
[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 _0xeb36=['lodash','util','moment','request-promise','../../config/environment','./jscriptyAnswerReport.attributes','define','JscriptyAnswerReport','report_jscripty_answers'];(function(_0x2cab87,_0x1b96f1){var _0x16d16c=function(_0x4cf799){while(--_0x4cf799){_0x2cab87['push'](_0x2cab87['shift']());}};_0x16d16c(++_0x1b96f1);}(_0xeb36,0x1c2));var _0x6eb3=function(_0x2a66cf,_0x1065ab){_0x2a66cf=_0x2a66cf-0x0;var _0x41c53f=_0xeb36[_0x2a66cf];return _0x41c53f;};'use strict';var _=require(_0x6eb3('0x0'));var util=require(_0x6eb3('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x6eb3('0x2'));var BPromise=require('bluebird');var rp=require(_0x6eb3('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6eb3('0x4'));var attributes=require(_0x6eb3('0x5'));module['exports']=function(_0x25c59c,_0x23112b){return _0x25c59c[_0x6eb3('0x6')](_0x6eb3('0x7'),attributes,{'tableName':_0x6eb3('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};