47d089c3639005f4b60a5ed733cae44fa063f5d9
[motion2.git] / server / api / tag / tag.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x40f6=['rimraf','./tag.attributes','exports','Tag','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x1cc9f1,_0xb3462d){var _0x1099d4=function(_0x586b66){while(--_0x586b66){_0x1cc9f1['push'](_0x1cc9f1['shift']());}};_0x1099d4(++_0xb3462d);}(_0x40f6,0x1e8));var _0x640f=function(_0x5254a2,_0x3be47a){_0x5254a2=_0x5254a2-0x0;var _0x2847f6=_0x40f6[_0x5254a2];return _0x2847f6;};'use strict';var _=require(_0x640f('0x0'));var util=require(_0x640f('0x1'));var logger=require(_0x640f('0x2'))(_0x640f('0x3'));var moment=require(_0x640f('0x4'));var BPromise=require(_0x640f('0x5'));var rp=require(_0x640f('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x640f('0x7'));var config=require('../../config/environment');var attributes=require(_0x640f('0x8'));module[_0x640f('0x9')]=function(_0x39bdde,_0x10cec9){return _0x39bdde['define'](_0x640f('0xa'),attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};