Built motion from commit d1eab355.|2.6.28
[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 _0x8563=['lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./tag.attributes','exports','define','Tag'];(function(_0x5a8611,_0x515fba){var _0x325dcf=function(_0x691c86){while(--_0x691c86){_0x5a8611['push'](_0x5a8611['shift']());}};_0x325dcf(++_0x515fba);}(_0x8563,0x138));var _0x3856=function(_0x3d6f0a,_0x2dd22f){_0x3d6f0a=_0x3d6f0a-0x0;var _0x28dd83=_0x8563[_0x3d6f0a];return _0x28dd83;};'use strict';var _=require(_0x3856('0x0'));var util=require('util');var logger=require(_0x3856('0x1'))(_0x3856('0x2'));var moment=require(_0x3856('0x3'));var BPromise=require(_0x3856('0x4'));var rp=require(_0x3856('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3856('0x6'));var config=require(_0x3856('0x7'));var attributes=require(_0x3856('0x8'));module[_0x3856('0x9')]=function(_0x1162ff,_0xe530a8){return _0x1162ff[_0x3856('0xa')](_0x3856('0xb'),attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};