3898d8c8aa90ed38cd18c373690523053e17479f
[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 _0xe6e4=['tools_tags','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./tag.attributes','define','Tag'];(function(_0x165abf,_0x1c8df5){var _0x25d167=function(_0x1bd1f0){while(--_0x1bd1f0){_0x165abf['push'](_0x165abf['shift']());}};_0x25d167(++_0x1c8df5);}(_0xe6e4,0x139));var _0x4e6e=function(_0x1d53b0,_0x42145e){_0x1d53b0=_0x1d53b0-0x0;var _0x11cf0f=_0xe6e4[_0x1d53b0];return _0x11cf0f;};'use strict';var _=require(_0x4e6e('0x0'));var util=require(_0x4e6e('0x1'));var logger=require('../../config/logger')(_0x4e6e('0x2'));var moment=require(_0x4e6e('0x3'));var BPromise=require(_0x4e6e('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4e6e('0x5'));var rimraf=require(_0x4e6e('0x6'));var config=require(_0x4e6e('0x7'));var attributes=require(_0x4e6e('0x8'));module['exports']=function(_0x439090,_0x248b61){return _0x439090[_0x4e6e('0x9')](_0x4e6e('0xa'),attributes,{'tableName':_0x4e6e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};