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 _0x199e=['path','rimraf','../../config/environment','./tag.attributes','exports','define','Tag','tools_tags','lodash','util','../../config/logger','moment','request-promise'];(function(_0x4f2c52,_0x716c75){var _0x1fc05c=function(_0x166029){while(--_0x166029){_0x4f2c52['push'](_0x4f2c52['shift']());}};_0x1fc05c(++_0x716c75);}(_0x199e,0xd8));var _0xe199=function(_0x31df6f,_0x380e73){_0x31df6f=_0x31df6f-0x0;var _0x31e353=_0x199e[_0x31df6f];return _0x31e353;};'use strict';var _=require(_0xe199('0x0'));var util=require(_0xe199('0x1'));var logger=require(_0xe199('0x2'))('api');var moment=require(_0xe199('0x3'));var BPromise=require('bluebird');var rp=require(_0xe199('0x4'));var fs=require('fs');var path=require(_0xe199('0x5'));var rimraf=require(_0xe199('0x6'));var config=require(_0xe199('0x7'));var attributes=require(_0xe199('0x8'));module[_0xe199('0x9')]=function(_0x8bbd74,_0x128c9b){return _0x8bbd74[_0xe199('0xa')](_0xe199('0xb'),attributes,{'tableName':_0xe199('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};