Built motion from commit 9d0783e6.|2.6.13
[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 _0x19df=['./tag.attributes','exports','define','Tag','tools_tags','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x19df,0x10f));var _0xf19d=function(_0x25ad66,_0x46e4dc){_0x25ad66=_0x25ad66-0x0;var _0x141bc4=_0x19df[_0x25ad66];return _0x141bc4;};'use strict';var _=require(_0xf19d('0x0'));var util=require(_0xf19d('0x1'));var logger=require(_0xf19d('0x2'))(_0xf19d('0x3'));var moment=require(_0xf19d('0x4'));var BPromise=require(_0xf19d('0x5'));var rp=require(_0xf19d('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf19d('0x7'));var config=require(_0xf19d('0x8'));var attributes=require(_0xf19d('0x9'));module[_0xf19d('0xa')]=function(_0x203915,_0x19d1ff){return _0x203915[_0xf19d('0xb')](_0xf19d('0xc'),attributes,{'tableName':_0xf19d('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};