Built motion from commit 1fa89557.|2.6.10
[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 _0x2cc4=['util','../../config/logger','api','rimraf','../../config/environment','./tag.attributes','exports','Tag','tools_tags','lodash'];(function(_0x590135,_0x883812){var _0x3f1cf3=function(_0x1b278a){while(--_0x1b278a){_0x590135['push'](_0x590135['shift']());}};_0x3f1cf3(++_0x883812);}(_0x2cc4,0x1f3));var _0x42cc=function(_0x29d2d2,_0x3344){_0x29d2d2=_0x29d2d2-0x0;var _0x3f6476=_0x2cc4[_0x29d2d2];return _0x3f6476;};'use strict';var _=require(_0x42cc('0x0'));var util=require(_0x42cc('0x1'));var logger=require(_0x42cc('0x2'))(_0x42cc('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x42cc('0x4'));var config=require(_0x42cc('0x5'));var attributes=require(_0x42cc('0x6'));module[_0x42cc('0x7')]=function(_0xdf4937,_0x5502a9){return _0xdf4937['define'](_0x42cc('0x8'),attributes,{'tableName':_0x42cc('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};