d62ec9644524576bf234ba5e326670b5b6490e98
[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 _0x19a5=['./tag.attributes','exports','define','Tag','lodash','util','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2c2fd2,_0x763753){var _0x3f6e7d=function(_0xe0ba09){while(--_0xe0ba09){_0x2c2fd2['push'](_0x2c2fd2['shift']());}};_0x3f6e7d(++_0x763753);}(_0x19a5,0x1cc));var _0x519a=function(_0x298fc4,_0x34f1ce){_0x298fc4=_0x298fc4-0x0;var _0x325f8a=_0x19a5[_0x298fc4];return _0x325f8a;};'use strict';var _=require(_0x519a('0x0'));var util=require(_0x519a('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x519a('0x2'));var BPromise=require(_0x519a('0x3'));var rp=require(_0x519a('0x4'));var fs=require('fs');var path=require(_0x519a('0x5'));var rimraf=require(_0x519a('0x6'));var config=require(_0x519a('0x7'));var attributes=require(_0x519a('0x8'));module[_0x519a('0x9')]=function(_0x1fe543,_0x501568){return _0x1fe543[_0x519a('0xa')](_0x519a('0xb'),attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};