bf76bc319195faa42cc85b8d82b79889c811b6e8
[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 _0x2abe=['rimraf','../../config/environment','./tag.attributes','exports','define','Tag','lodash','util','../../config/logger','api','path'];(function(_0x4691ac,_0x5ade74){var _0x46bd71=function(_0x27219b){while(--_0x27219b){_0x4691ac['push'](_0x4691ac['shift']());}};_0x46bd71(++_0x5ade74);}(_0x2abe,0x19d));var _0xe2ab=function(_0x1e4360,_0x930b9b){_0x1e4360=_0x1e4360-0x0;var _0x31e6b4=_0x2abe[_0x1e4360];return _0x31e6b4;};'use strict';var _=require(_0xe2ab('0x0'));var util=require(_0xe2ab('0x1'));var logger=require(_0xe2ab('0x2'))(_0xe2ab('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe2ab('0x4'));var rimraf=require(_0xe2ab('0x5'));var config=require(_0xe2ab('0x6'));var attributes=require(_0xe2ab('0x7'));module[_0xe2ab('0x8')]=function(_0x1101c8,_0x16a69c){return _0x1101c8[_0xe2ab('0x9')](_0xe2ab('0xa'),attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};