Built motion from commit 3e059bc2.|2.5.32
[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 _0x985d=['./tag.attributes','exports','define','Tag','tools_tags','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x4e8e68,_0x52a7b8){var _0x3c1398=function(_0x315eb8){while(--_0x315eb8){_0x4e8e68['push'](_0x4e8e68['shift']());}};_0x3c1398(++_0x52a7b8);}(_0x985d,0xfc));var _0xd985=function(_0x2e7bce,_0x3a1571){_0x2e7bce=_0x2e7bce-0x0;var _0x26b7cb=_0x985d[_0x2e7bce];return _0x26b7cb;};'use strict';var _=require(_0xd985('0x0'));var util=require(_0xd985('0x1'));var logger=require(_0xd985('0x2'))(_0xd985('0x3'));var moment=require('moment');var BPromise=require(_0xd985('0x4'));var rp=require(_0xd985('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd985('0x6'));var config=require(_0xd985('0x7'));var attributes=require(_0xd985('0x8'));module[_0xd985('0x9')]=function(_0x2e31d8,_0x478caa){return _0x2e31d8[_0xd985('0xa')](_0xd985('0xb'),attributes,{'tableName':_0xd985('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};