Built motion from commit (unavailable).|2.5.29
[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 _0xf9fd=['rimraf','../../config/environment','./tag.attributes','exports','define','util','../../config/logger','api','moment','path'];(function(_0x4caf8c,_0x34abc3){var _0x46bbb1=function(_0x19e27b){while(--_0x19e27b){_0x4caf8c['push'](_0x4caf8c['shift']());}};_0x46bbb1(++_0x34abc3);}(_0xf9fd,0x14f));var _0xdf9f=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xf9fd[_0x2dafbe];return _0x58a45a;};'use strict';var _=require('lodash');var util=require(_0xdf9f('0x0'));var logger=require(_0xdf9f('0x1'))(_0xdf9f('0x2'));var moment=require(_0xdf9f('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xdf9f('0x4'));var rimraf=require(_0xdf9f('0x5'));var config=require(_0xdf9f('0x6'));var attributes=require(_0xdf9f('0x7'));module[_0xdf9f('0x8')]=function(_0x549031,_0x4734df){return _0x549031[_0xdf9f('0x9')]('Tag',attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};