Built motion from commit (unavailable).|2.5.11
[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 _0xdd2e=['api','moment','request-promise','path','rimraf','../../config/environment','define','Tag','tools_tags','lodash','util'];(function(_0x1c24f1,_0x1ea50c){var _0x4649b9=function(_0x4cb393){while(--_0x4cb393){_0x1c24f1['push'](_0x1c24f1['shift']());}};_0x4649b9(++_0x1ea50c);}(_0xdd2e,0x13d));var _0xedd2=function(_0x805279,_0x1d652d){_0x805279=_0x805279-0x0;var _0x3896bb=_0xdd2e[_0x805279];return _0x3896bb;};'use strict';var _=require(_0xedd2('0x0'));var util=require(_0xedd2('0x1'));var logger=require('../../config/logger')(_0xedd2('0x2'));var moment=require(_0xedd2('0x3'));var BPromise=require('bluebird');var rp=require(_0xedd2('0x4'));var fs=require('fs');var path=require(_0xedd2('0x5'));var rimraf=require(_0xedd2('0x6'));var config=require(_0xedd2('0x7'));var attributes=require('./tag.attributes');module['exports']=function(_0x473dd9,_0x9bd9f4){return _0x473dd9[_0xedd2('0x8')](_0xedd2('0x9'),attributes,{'tableName':_0xedd2('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};