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 _0xf2e9=['path','../../config/environment','./tag.attributes','define','Tag','tools_tags','lodash','util','moment','bluebird'];(function(_0x574ce3,_0x59eef4){var _0x3447a0=function(_0x27f8cb){while(--_0x27f8cb){_0x574ce3['push'](_0x574ce3['shift']());}};_0x3447a0(++_0x59eef4);}(_0xf2e9,0x146));var _0x9f2e=function(_0x5a88c7,_0x56be37){_0x5a88c7=_0x5a88c7-0x0;var _0x373102=_0xf2e9[_0x5a88c7];return _0x373102;};'use strict';var _=require(_0x9f2e('0x0'));var util=require(_0x9f2e('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x9f2e('0x2'));var BPromise=require(_0x9f2e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9f2e('0x4'));var rimraf=require('rimraf');var config=require(_0x9f2e('0x5'));var attributes=require(_0x9f2e('0x6'));module['exports']=function(_0x47fde2,_0x42e9da){return _0x47fde2[_0x9f2e('0x7')](_0x9f2e('0x8'),attributes,{'tableName':_0x9f2e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};