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 _0xbf99=['moment','bluebird','path','rimraf','../../config/environment','./tag.attributes','exports','define','Tag','tools_tags','lodash','../../config/logger'];(function(_0x50779a,_0xfd308c){var _0x4fcb64=function(_0x44d1fc){while(--_0x44d1fc){_0x50779a['push'](_0x50779a['shift']());}};_0x4fcb64(++_0xfd308c);}(_0xbf99,0x8e));var _0x9bf9=function(_0x144bcf,_0x4273ec){_0x144bcf=_0x144bcf-0x0;var _0x50bc15=_0xbf99[_0x144bcf];return _0x50bc15;};'use strict';var _=require(_0x9bf9('0x0'));var util=require('util');var logger=require(_0x9bf9('0x1'))('api');var moment=require(_0x9bf9('0x2'));var BPromise=require(_0x9bf9('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9bf9('0x4'));var rimraf=require(_0x9bf9('0x5'));var config=require(_0x9bf9('0x6'));var attributes=require(_0x9bf9('0x7'));module[_0x9bf9('0x8')]=function(_0x2baeb3,_0x43bff2){return _0x2baeb3[_0x9bf9('0x9')](_0x9bf9('0xa'),attributes,{'tableName':_0x9bf9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};