1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x1071=['exports','Tag','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x32b301,_0x380389){var _0xd0c417=function(_0xd9cde3){while(--_0xd9cde3){_0x32b301['push'](_0x32b301['shift']());}};_0xd0c417(++_0x380389);}(_0x1071,0xde));var _0x1107=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0x1071[_0x502c7d];return _0x30b7ed;};'use strict';var _=require('lodash');var util=require(_0x1107('0x0'));var logger=require(_0x1107('0x1'))(_0x1107('0x2'));var moment=require(_0x1107('0x3'));var BPromise=require('bluebird');var rp=require(_0x1107('0x4'));var fs=require('fs');var path=require(_0x1107('0x5'));var rimraf=require(_0x1107('0x6'));var config=require(_0x1107('0x7'));var attributes=require('./tag.attributes');module[_0x1107('0x8')]=function(_0x12ffe9,_0x1a986b){return _0x12ffe9['define'](_0x1107('0x9'),attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};