Built motion from commit (unavailable).|2.1.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 _0x184e=['define','Tag','lodash','util','moment','bluebird','request-promise','exports'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x184e,0x72));var _0xe184=function(_0x56418e,_0x362812){_0x56418e=_0x56418e-0x0;var _0x5b160c=_0x184e[_0x56418e];return _0x5b160c;};'use strict';var _=require(_0xe184('0x0'));var util=require(_0xe184('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xe184('0x2'));var BPromise=require(_0xe184('0x3'));var rp=require(_0xe184('0x4'));var attributes=require('./tag.attributes');module[_0xe184('0x5')]=function(_0x4f0e9f,_0x2dc267){return _0x4f0e9f[_0xe184('0x6')](_0xe184('0x7'),attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};