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 _0x242f=['define','Tag','tools_tags','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./tag.attributes','exports'];(function(_0x27378b,_0x1a7162){var _0x4b637b=function(_0x719b6a){while(--_0x719b6a){_0x27378b['push'](_0x27378b['shift']());}};_0x4b637b(++_0x1a7162);}(_0x242f,0x129));var _0xf242=function(_0x25ecaf,_0x3e9fc1){_0x25ecaf=_0x25ecaf-0x0;var _0x41ae78=_0x242f[_0x25ecaf];return _0x41ae78;};'use strict';var _=require(_0xf242('0x0'));var util=require(_0xf242('0x1'));var logger=require(_0xf242('0x2'))('api');var moment=require(_0xf242('0x3'));var BPromise=require(_0xf242('0x4'));var rp=require(_0xf242('0x5'));var fs=require('fs');var path=require(_0xf242('0x6'));var rimraf=require(_0xf242('0x7'));var config=require(_0xf242('0x8'));var attributes=require(_0xf242('0x9'));module[_0xf242('0xa')]=function(_0x385168,_0x43a242){return _0x385168[_0xf242('0xb')](_0xf242('0xc'),attributes,{'tableName':_0xf242('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};