Built motion from commit da617fac.|2.6.6
[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 _0xa668=['report_jscripty_answers','lodash','util','../../config/logger','moment','bluebird','../../config/environment','./jscriptyAnswerReport.attributes','exports','JscriptyAnswerReport'];(function(_0x127c7b,_0x1f65e7){var _0x1708eb=function(_0x2033e5){while(--_0x2033e5){_0x127c7b['push'](_0x127c7b['shift']());}};_0x1708eb(++_0x1f65e7);}(_0xa668,0x1c3));var _0x8a66=function(_0x2716de,_0x263660){_0x2716de=_0x2716de-0x0;var _0x385180=_0xa668[_0x2716de];return _0x385180;};'use strict';var _=require(_0x8a66('0x0'));var util=require(_0x8a66('0x1'));var logger=require(_0x8a66('0x2'))('api');var moment=require(_0x8a66('0x3'));var BPromise=require(_0x8a66('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x8a66('0x5'));var attributes=require(_0x8a66('0x6'));module[_0x8a66('0x7')]=function(_0x54d161,_0x48fa52){return _0x54d161['define'](_0x8a66('0x8'),attributes,{'tableName':_0x8a66('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};