2b47a99d526c82374ff3f3899a2d1966d3f0d15c
[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 _0xe608=['tools_tags','lodash','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','Tag'];(function(_0x277b55,_0x8ba28){var _0xff0d15=function(_0x1beefc){while(--_0x1beefc){_0x277b55['push'](_0x277b55['shift']());}};_0xff0d15(++_0x8ba28);}(_0xe608,0xb5));var _0x8e60=function(_0xead5f0,_0x30581c){_0xead5f0=_0xead5f0-0x0;var _0x73c2a6=_0xe608[_0xead5f0];return _0x73c2a6;};'use strict';var _=require(_0x8e60('0x0'));var util=require('util');var logger=require(_0x8e60('0x1'))(_0x8e60('0x2'));var moment=require(_0x8e60('0x3'));var BPromise=require('bluebird');var rp=require(_0x8e60('0x4'));var fs=require('fs');var path=require(_0x8e60('0x5'));var rimraf=require(_0x8e60('0x6'));var config=require(_0x8e60('0x7'));var attributes=require('./tag.attributes');module['exports']=function(_0x55b99d,_0x2f027d){return _0x55b99d['define'](_0x8e60('0x8'),attributes,{'tableName':_0x8e60('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};