Built motion from commit 1fa89557.|2.6.10
[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 _0x57e3=['bluebird','request-promise','path','rimraf','exports','define','JscriptyAnswerReport','report_jscripty_answers','../../config/logger','api','moment'];(function(_0x5d8018,_0x588592){var _0x151ac4=function(_0x548679){while(--_0x548679){_0x5d8018['push'](_0x5d8018['shift']());}};_0x151ac4(++_0x588592);}(_0x57e3,0xd9));var _0x357e=function(_0xb482a1,_0x4edb14){_0xb482a1=_0xb482a1-0x0;var _0x18cbf7=_0x57e3[_0xb482a1];return _0x18cbf7;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x357e('0x0'))(_0x357e('0x1'));var moment=require(_0x357e('0x2'));var BPromise=require(_0x357e('0x3'));var rp=require(_0x357e('0x4'));var fs=require('fs');var path=require(_0x357e('0x5'));var rimraf=require(_0x357e('0x6'));var config=require('../../config/environment');var attributes=require('./jscriptyAnswerReport.attributes');module[_0x357e('0x7')]=function(_0xd30d1,_0x52600d){return _0xd30d1[_0x357e('0x8')](_0x357e('0x9'),attributes,{'tableName':_0x357e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};