Built motion from commit (unavailable).|2.3.1
[motion2.git] / server / api / analyticMetric / analyticMetric.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 _0x7ab1=['util','api','moment','request-promise','./analyticMetric.attributes','exports','lodash'];(function(_0xa451c2,_0x28be99){var _0x2776e4=function(_0xc47a35){while(--_0xc47a35){_0xa451c2['push'](_0xa451c2['shift']());}};_0x2776e4(++_0x28be99);}(_0x7ab1,0x1cd));var _0x17ab=function(_0x50007c,_0x1cbf11){_0x50007c=_0x50007c-0x0;var _0x5c1ec7=_0x7ab1[_0x50007c];return _0x5c1ec7;};'use strict';var _=require(_0x17ab('0x0'));var util=require(_0x17ab('0x1'));var logger=require('../../config/logger')(_0x17ab('0x2'));var moment=require(_0x17ab('0x3'));var BPromise=require('bluebird');var rp=require(_0x17ab('0x4'));var attributes=require(_0x17ab('0x5'));module[_0x17ab('0x6')]=function(_0x2d3c09,_0x4221e7){return _0x2d3c09['define']('AnalyticMetric',attributes,{'tableName':'analytics_metrics','paranoid':![],'indexes':[],'timestamps':!![]});};