Built motion from commit 9d1906d1.|2.5.40
[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 _0x6d8c=['./tag.attributes','tools_tags','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x518c64,_0xafdfe4){var _0xda672c=function(_0x377acc){while(--_0x377acc){_0x518c64['push'](_0x518c64['shift']());}};_0xda672c(++_0xafdfe4);}(_0x6d8c,0x17e));var _0xc6d8=function(_0x5b5787,_0x456d2b){_0x5b5787=_0x5b5787-0x0;var _0x20bcd0=_0x6d8c[_0x5b5787];return _0x20bcd0;};'use strict';var _=require(_0xc6d8('0x0'));var util=require(_0xc6d8('0x1'));var logger=require(_0xc6d8('0x2'))(_0xc6d8('0x3'));var moment=require('moment');var BPromise=require(_0xc6d8('0x4'));var rp=require(_0xc6d8('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc6d8('0x6'));var config=require(_0xc6d8('0x7'));var attributes=require(_0xc6d8('0x8'));module['exports']=function(_0x529bc9,_0x264470){return _0x529bc9['define']('Tag',attributes,{'tableName':_0xc6d8('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};