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 _0x81f1=['lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./tag.attributes','exports','define','Tag','tools_tags'];(function(_0x5ad220,_0x27407e){var _0xdec77d=function(_0x58d736){while(--_0x58d736){_0x5ad220['push'](_0x5ad220['shift']());}};_0xdec77d(++_0x27407e);}(_0x81f1,0x16c));var _0x181f=function(_0x39458a,_0x30fd7c){_0x39458a=_0x39458a-0x0;var _0x6a3817=_0x81f1[_0x39458a];return _0x6a3817;};'use strict';var _=require(_0x181f('0x0'));var util=require(_0x181f('0x1'));var logger=require('../../config/logger')(_0x181f('0x2'));var moment=require(_0x181f('0x3'));var BPromise=require(_0x181f('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x181f('0x5'));var rimraf=require(_0x181f('0x6'));var config=require(_0x181f('0x7'));var attributes=require(_0x181f('0x8'));module[_0x181f('0x9')]=function(_0x41a49a,_0x341e59){return _0x41a49a[_0x181f('0xa')](_0x181f('0xb'),attributes,{'tableName':_0x181f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};