7ca86f8181aaf8dd1c1233936315644ebec4e9d0
[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 _0x53f9=['lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','./tag.attributes','Tag','tools_tags'];(function(_0x594d3a,_0x398577){var _0x6a5774=function(_0x1bc29f){while(--_0x1bc29f){_0x594d3a['push'](_0x594d3a['shift']());}};_0x6a5774(++_0x398577);}(_0x53f9,0xb0));var _0x953f=function(_0x1e73fc,_0x533750){_0x1e73fc=_0x1e73fc-0x0;var _0xeceac4=_0x53f9[_0x1e73fc];return _0xeceac4;};'use strict';var _=require(_0x953f('0x0'));var util=require(_0x953f('0x1'));var logger=require(_0x953f('0x2'))(_0x953f('0x3'));var moment=require('moment');var BPromise=require(_0x953f('0x4'));var rp=require(_0x953f('0x5'));var fs=require('fs');var path=require(_0x953f('0x6'));var rimraf=require(_0x953f('0x7'));var config=require('../../config/environment');var attributes=require(_0x953f('0x8'));module['exports']=function(_0x351727,_0x156bc4){return _0x351727['define'](_0x953f('0x9'),attributes,{'tableName':_0x953f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};