Built motion from commit 85328c08.|2.5.50
[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 _0x12f1=['./tag.attributes','define','Tag','tools_tags','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x26f8b7,_0x48c4c0){var _0x213466=function(_0x3bf65c){while(--_0x3bf65c){_0x26f8b7['push'](_0x26f8b7['shift']());}};_0x213466(++_0x48c4c0);}(_0x12f1,0xf4));var _0x112f=function(_0x4259cd,_0x32ffd6){_0x4259cd=_0x4259cd-0x0;var _0x4f5230=_0x12f1[_0x4259cd];return _0x4f5230;};'use strict';var _=require(_0x112f('0x0'));var util=require('util');var logger=require(_0x112f('0x1'))(_0x112f('0x2'));var moment=require(_0x112f('0x3'));var BPromise=require(_0x112f('0x4'));var rp=require(_0x112f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x112f('0x6'));module['exports']=function(_0x21cccd,_0x2044f2){return _0x21cccd[_0x112f('0x7')](_0x112f('0x8'),attributes,{'tableName':_0x112f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};