Built motion from commit ddca4d0d.|2.5.47
[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 _0xaa23=['util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./tag.attributes','exports'];(function(_0x5d4607,_0x6b5e7b){var _0x5e4a86=function(_0x46891a){while(--_0x46891a){_0x5d4607['push'](_0x5d4607['shift']());}};_0x5e4a86(++_0x6b5e7b);}(_0xaa23,0x1f4));var _0x3aa2=function(_0x1d0458,_0x389f29){_0x1d0458=_0x1d0458-0x0;var _0x35eea4=_0xaa23[_0x1d0458];return _0x35eea4;};'use strict';var _=require('lodash');var util=require(_0x3aa2('0x0'));var logger=require(_0x3aa2('0x1'))(_0x3aa2('0x2'));var moment=require(_0x3aa2('0x3'));var BPromise=require(_0x3aa2('0x4'));var rp=require(_0x3aa2('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3aa2('0x6'));var config=require(_0x3aa2('0x7'));var attributes=require(_0x3aa2('0x8'));module[_0x3aa2('0x9')]=function(_0xe0cc06,_0x31efd1){return _0xe0cc06['define']('Tag',attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};