70977486405c07daa1071c9622c0d384623270cf
[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 _0x9c07=['../../config/environment','exports','define','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x4a8356,_0x3007c3){var _0x46ac5d=function(_0x4e334c){while(--_0x4e334c){_0x4a8356['push'](_0x4a8356['shift']());}};_0x46ac5d(++_0x3007c3);}(_0x9c07,0x163));var _0x79c0=function(_0x34202f,_0x903ec){_0x34202f=_0x34202f-0x0;var _0xd09a92=_0x9c07[_0x34202f];return _0xd09a92;};'use strict';var _=require(_0x79c0('0x0'));var util=require(_0x79c0('0x1'));var logger=require(_0x79c0('0x2'))(_0x79c0('0x3'));var moment=require(_0x79c0('0x4'));var BPromise=require(_0x79c0('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x79c0('0x6'));var rimraf=require(_0x79c0('0x7'));var config=require(_0x79c0('0x8'));var attributes=require('./tag.attributes');module[_0x79c0('0x9')]=function(_0x1daa09,_0x50728e){return _0x1daa09[_0x79c0('0xa')]('Tag',attributes,{'tableName':'tools_tags','paranoid':![],'indexes':[],'timestamps':!![]});};