Built motion from commit 994c64e1.|2.6.1
[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 _0xe9b4=['tools_tags','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./tag.attributes','define','Tag'];(function(_0x28e858,_0x303865){var _0x2b7f9e=function(_0x5bdf3c){while(--_0x5bdf3c){_0x28e858['push'](_0x28e858['shift']());}};_0x2b7f9e(++_0x303865);}(_0xe9b4,0x153));var _0x4e9b=function(_0x47d04d,_0x57fb61){_0x47d04d=_0x47d04d-0x0;var _0x4abaf1=_0xe9b4[_0x47d04d];return _0x4abaf1;};'use strict';var _=require(_0x4e9b('0x0'));var util=require('util');var logger=require(_0x4e9b('0x1'))(_0x4e9b('0x2'));var moment=require(_0x4e9b('0x3'));var BPromise=require(_0x4e9b('0x4'));var rp=require(_0x4e9b('0x5'));var fs=require('fs');var path=require(_0x4e9b('0x6'));var rimraf=require(_0x4e9b('0x7'));var config=require(_0x4e9b('0x8'));var attributes=require(_0x4e9b('0x9'));module['exports']=function(_0x1abe7e,_0x114c7e){return _0x1abe7e[_0x4e9b('0xa')](_0x4e9b('0xb'),attributes,{'tableName':_0x4e9b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};