Built motion from commit (unavailable).|2.5.4
[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 _0x05da=['define','JscriptyAnswerReport','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','exports'];(function(_0x5ec3d8,_0x138737){var _0x22dc70=function(_0x29ed68){while(--_0x29ed68){_0x5ec3d8['push'](_0x5ec3d8['shift']());}};_0x22dc70(++_0x138737);}(_0x05da,0x18e));var _0xa05d=function(_0x56ae41,_0x1becca){_0x56ae41=_0x56ae41-0x0;var _0x25d1c0=_0x05da[_0x56ae41];return _0x25d1c0;};'use strict';var _=require(_0xa05d('0x0'));var util=require(_0xa05d('0x1'));var logger=require('../../config/logger')(_0xa05d('0x2'));var moment=require(_0xa05d('0x3'));var BPromise=require(_0xa05d('0x4'));var rp=require(_0xa05d('0x5'));var fs=require('fs');var path=require(_0xa05d('0x6'));var rimraf=require('rimraf');var config=require(_0xa05d('0x7'));var attributes=require('./jscriptyAnswerReport.attributes');module[_0xa05d('0x8')]=function(_0x3aac0d,_0x21f708){return _0x3aac0d[_0xa05d('0x9')](_0xa05d('0xa'),attributes,{'tableName':'report_jscripty_answers','paranoid':![],'indexes':[],'timestamps':!![]});};