Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / tag / tag.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 _0x10f4=['./tag.attributes','Tag','util','api','moment','bluebird'];(function(_0x2359b4,_0x20ff4d){var _0x2e46af=function(_0x39fe40){while(--_0x39fe40){_0x2359b4['push'](_0x2359b4['shift']());}};_0x2e46af(++_0x20ff4d);}(_0x10f4,0x1e8));var _0x410f=function(_0x1307e4,_0xc6ad64){_0x1307e4=_0x1307e4-0x0;var _0x39ff19=_0x10f4[_0x1307e4];return _0x39ff19;};'use strict';var _=require('lodash');var util=require(_0x410f('0x0'));var logger=require('../../config/logger')(_0x410f('0x1'));var moment=require(_0x410f('0x2'));var BPromise=require(_0x410f('0x3'));var rp=require('request-promise');var attributes=require(_0x410f('0x4'));module['exports']=function(_0x23faeb,_0x1e5ea3){return _0x23faeb['define'](_0x410f('0x5'),attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};