Built motion from commit 3c2ce842.|2.6.31
[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 _0x0a2f=['define','Tag','tools_tags','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./tag.attributes','exports'];(function(_0x280ad2,_0x4e8a06){var _0x36c085=function(_0x4767e3){while(--_0x4767e3){_0x280ad2['push'](_0x280ad2['shift']());}};_0x36c085(++_0x4e8a06);}(_0x0a2f,0x1d1));var _0xf0a2=function(_0x4fde08,_0x463a36){_0x4fde08=_0x4fde08-0x0;var _0x12e725=_0x0a2f[_0x4fde08];return _0x12e725;};'use strict';var _=require(_0xf0a2('0x0'));var util=require(_0xf0a2('0x1'));var logger=require(_0xf0a2('0x2'))(_0xf0a2('0x3'));var moment=require('moment');var BPromise=require(_0xf0a2('0x4'));var rp=require(_0xf0a2('0x5'));var fs=require('fs');var path=require(_0xf0a2('0x6'));var rimraf=require(_0xf0a2('0x7'));var config=require(_0xf0a2('0x8'));var attributes=require(_0xf0a2('0x9'));module[_0xf0a2('0xa')]=function(_0x1c9932,_0x58e280){return _0x1c9932[_0xf0a2('0xb')](_0xf0a2('0xc'),attributes,{'tableName':_0xf0a2('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};