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 _0x51e5=['bluebird','rimraf','./tag.attributes','exports','tools_tags','lodash','util','../../config/logger','api'];(function(_0x5110f4,_0x384b97){var _0xed6b9e=function(_0x55fca9){while(--_0x55fca9){_0x5110f4['push'](_0x5110f4['shift']());}};_0xed6b9e(++_0x384b97);}(_0x51e5,0x12e));var _0x551e=function(_0x2c7461,_0x1e9d3a){_0x2c7461=_0x2c7461-0x0;var _0x2941ec=_0x51e5[_0x2c7461];return _0x2941ec;};'use strict';var _=require(_0x551e('0x0'));var util=require(_0x551e('0x1'));var logger=require(_0x551e('0x2'))(_0x551e('0x3'));var moment=require('moment');var BPromise=require(_0x551e('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x551e('0x5'));var config=require('../../config/environment');var attributes=require(_0x551e('0x6'));module[_0x551e('0x7')]=function(_0xa031bd,_0xc8211e){return _0xa031bd['define']('Tag',attributes,{'tableName':_0x551e('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};