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 _0xb5c1=['bluebird','request-promise','path','../../config/environment','./tag.attributes','exports','Tag','tools_tags','lodash','util','moment'];(function(_0x324826,_0x4c7e64){var _0x133adb=function(_0x3acd99){while(--_0x3acd99){_0x324826['push'](_0x324826['shift']());}};_0x133adb(++_0x4c7e64);}(_0xb5c1,0x152));var _0x1b5c=function(_0x2ef321,_0x1ee204){_0x2ef321=_0x2ef321-0x0;var _0x294adc=_0xb5c1[_0x2ef321];return _0x294adc;};'use strict';var _=require(_0x1b5c('0x0'));var util=require(_0x1b5c('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x1b5c('0x2'));var BPromise=require(_0x1b5c('0x3'));var rp=require(_0x1b5c('0x4'));var fs=require('fs');var path=require(_0x1b5c('0x5'));var rimraf=require('rimraf');var config=require(_0x1b5c('0x6'));var attributes=require(_0x1b5c('0x7'));module[_0x1b5c('0x8')]=function(_0x4656f1,_0x3e55b0){return _0x4656f1['define'](_0x1b5c('0x9'),attributes,{'tableName':_0x1b5c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};