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 _0x8e7a=['moment','bluebird','rimraf','../../config/environment','./tag.attributes','exports','define','Tag','util','../../config/logger'];(function(_0x31145a,_0x26d54e){var _0x134a99=function(_0x172e13){while(--_0x172e13){_0x31145a['push'](_0x31145a['shift']());}};_0x134a99(++_0x26d54e);}(_0x8e7a,0x1ac));var _0xa8e7=function(_0x1ea0a6,_0x933db7){_0x1ea0a6=_0x1ea0a6-0x0;var _0x458ed1=_0x8e7a[_0x1ea0a6];return _0x458ed1;};'use strict';var _=require('lodash');var util=require(_0xa8e7('0x0'));var logger=require(_0xa8e7('0x1'))('api');var moment=require(_0xa8e7('0x2'));var BPromise=require(_0xa8e7('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xa8e7('0x4'));var config=require(_0xa8e7('0x5'));var attributes=require(_0xa8e7('0x6'));module[_0xa8e7('0x7')]=function(_0x4e63cc,_0x517e42){return _0x4e63cc[_0xa8e7('0x8')](_0xa8e7('0x9'),attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};