Built motion from commit 64440dd5.|2.6.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 _0xabbe=['../../config/environment','./tag.attributes','Tag','tools_tags','lodash','../../config/logger','moment','bluebird','request-promise'];(function(_0x8560d3,_0x26a504){var _0x33b1b5=function(_0x3a2cad){while(--_0x3a2cad){_0x8560d3['push'](_0x8560d3['shift']());}};_0x33b1b5(++_0x26a504);}(_0xabbe,0x70));var _0xeabb=function(_0x3ca3fc,_0x307e84){_0x3ca3fc=_0x3ca3fc-0x0;var _0x41c26e=_0xabbe[_0x3ca3fc];return _0x41c26e;};'use strict';var _=require(_0xeabb('0x0'));var util=require('util');var logger=require(_0xeabb('0x1'))('api');var moment=require(_0xeabb('0x2'));var BPromise=require(_0xeabb('0x3'));var rp=require(_0xeabb('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xeabb('0x5'));var attributes=require(_0xeabb('0x6'));module['exports']=function(_0xfb506,_0x3cb3a4){return _0xfb506['define'](_0xeabb('0x7'),attributes,{'tableName':_0xeabb('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};