Built motion from commit (unavailable).|2.2.0
[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 _0x8614=['tools_tags','lodash','util','moment','./tag.attributes','Tag'];(function(_0x29d915,_0x54a040){var _0x160f86=function(_0x237dfa){while(--_0x237dfa){_0x29d915['push'](_0x29d915['shift']());}};_0x160f86(++_0x54a040);}(_0x8614,0x1b1));var _0x4861=function(_0x5856f7,_0xfae992){_0x5856f7=_0x5856f7-0x0;var _0x441195=_0x8614[_0x5856f7];return _0x441195;};'use strict';var _=require(_0x4861('0x0'));var util=require(_0x4861('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x4861('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var attributes=require(_0x4861('0x3'));module['exports']=function(_0x2cbdf3,_0x48347d){return _0x2cbdf3['define'](_0x4861('0x4'),attributes,{'tableName':_0x4861('0x5'),'paranoid':![],'indexes':[],'timestamps':!![]});};