Built motion from commit (unavailable).|2.5.18
[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 _0x8066=['api','moment','rimraf','./tag.attributes','exports','tools_tags','lodash','util','../../config/logger'];(function(_0x56fd29,_0x17790b){var _0x2a0bf7=function(_0x568f20){while(--_0x568f20){_0x56fd29['push'](_0x56fd29['shift']());}};_0x2a0bf7(++_0x17790b);}(_0x8066,0x192));var _0x6806=function(_0x476bf4,_0x2a3755){_0x476bf4=_0x476bf4-0x0;var _0x788ffe=_0x8066[_0x476bf4];return _0x788ffe;};'use strict';var _=require(_0x6806('0x0'));var util=require(_0x6806('0x1'));var logger=require(_0x6806('0x2'))(_0x6806('0x3'));var moment=require(_0x6806('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6806('0x5'));var config=require('../../config/environment');var attributes=require(_0x6806('0x6'));module[_0x6806('0x7')]=function(_0x1fccab,_0x2d5174){return _0x1fccab['define']('Tag',attributes,{'tableName':_0x6806('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};