Built motion from commit 753c950e.|2.5.42
[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 _0x69af=['bluebird','request-promise','path','rimraf','../../config/environment','./tag.attributes','define','Tag','tools_tags','lodash','../../config/logger','api','moment'];(function(_0x57961a,_0x5c91dd){var _0x52fccf=function(_0x2ac517){while(--_0x2ac517){_0x57961a['push'](_0x57961a['shift']());}};_0x52fccf(++_0x5c91dd);}(_0x69af,0x182));var _0xf69a=function(_0x46b7ba,_0x153b9a){_0x46b7ba=_0x46b7ba-0x0;var _0x513833=_0x69af[_0x46b7ba];return _0x513833;};'use strict';var _=require(_0xf69a('0x0'));var util=require('util');var logger=require(_0xf69a('0x1'))(_0xf69a('0x2'));var moment=require(_0xf69a('0x3'));var BPromise=require(_0xf69a('0x4'));var rp=require(_0xf69a('0x5'));var fs=require('fs');var path=require(_0xf69a('0x6'));var rimraf=require(_0xf69a('0x7'));var config=require(_0xf69a('0x8'));var attributes=require(_0xf69a('0x9'));module['exports']=function(_0x10e62e,_0x1908e3){return _0x10e62e[_0xf69a('0xa')](_0xf69a('0xb'),attributes,{'tableName':_0xf69a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};