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 _0x4498=['define','Tag','tools_tags','lodash','util','moment','bluebird','request-promise','path','rimraf','./tag.attributes','exports'];(function(_0xc67528,_0x24e2fb){var _0x38e26d=function(_0x1b0efe){while(--_0x1b0efe){_0xc67528['push'](_0xc67528['shift']());}};_0x38e26d(++_0x24e2fb);}(_0x4498,0x16b));var _0x8449=function(_0x5e2152,_0x172f3d){_0x5e2152=_0x5e2152-0x0;var _0x5ddcf6=_0x4498[_0x5e2152];return _0x5ddcf6;};'use strict';var _=require(_0x8449('0x0'));var util=require(_0x8449('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x8449('0x2'));var BPromise=require(_0x8449('0x3'));var rp=require(_0x8449('0x4'));var fs=require('fs');var path=require(_0x8449('0x5'));var rimraf=require(_0x8449('0x6'));var config=require('../../config/environment');var attributes=require(_0x8449('0x7'));module[_0x8449('0x8')]=function(_0x7a5035,_0x439415){return _0x7a5035[_0x8449('0x9')](_0x8449('0xa'),attributes,{'tableName':_0x8449('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};