Built motion from commit (unavailable).|2.5.8
[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 _0x5a87=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./tag.attributes','Tag','util','../../config/logger','api'];(function(_0x2d056d,_0x53f6c3){var _0x430fca=function(_0x38e4ee){while(--_0x38e4ee){_0x2d056d['push'](_0x2d056d['shift']());}};_0x430fca(++_0x53f6c3);}(_0x5a87,0x194));var _0x75a8=function(_0x41ef00,_0x1f285b){_0x41ef00=_0x41ef00-0x0;var _0x349b15=_0x5a87[_0x41ef00];return _0x349b15;};'use strict';var _=require('lodash');var util=require(_0x75a8('0x0'));var logger=require(_0x75a8('0x1'))(_0x75a8('0x2'));var moment=require(_0x75a8('0x3'));var BPromise=require(_0x75a8('0x4'));var rp=require(_0x75a8('0x5'));var fs=require('fs');var path=require(_0x75a8('0x6'));var rimraf=require(_0x75a8('0x7'));var config=require(_0x75a8('0x8'));var attributes=require(_0x75a8('0x9'));module['exports']=function(_0x2f5ea7,_0x1d3a29){return _0x2f5ea7['define'](_0x75a8('0xa'),attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};