Built motion from commit (unavailable).|2.4.20
[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 _0x221f=['moment','request-promise','path','rimraf','../../config/environment','./tag.attributes','exports','define','Tag','tools_tags','lodash','../../config/logger','api'];(function(_0x14d0fd,_0x33d177){var _0x2c4d42=function(_0x37ae47){while(--_0x37ae47){_0x14d0fd['push'](_0x14d0fd['shift']());}};_0x2c4d42(++_0x33d177);}(_0x221f,0x19d));var _0xf221=function(_0xcad9e7,_0x255d6f){_0xcad9e7=_0xcad9e7-0x0;var _0x170a86=_0x221f[_0xcad9e7];return _0x170a86;};'use strict';var _=require(_0xf221('0x0'));var util=require('util');var logger=require(_0xf221('0x1'))(_0xf221('0x2'));var moment=require(_0xf221('0x3'));var BPromise=require('bluebird');var rp=require(_0xf221('0x4'));var fs=require('fs');var path=require(_0xf221('0x5'));var rimraf=require(_0xf221('0x6'));var config=require(_0xf221('0x7'));var attributes=require(_0xf221('0x8'));module[_0xf221('0x9')]=function(_0x122935,_0x4baae7){return _0x122935[_0xf221('0xa')](_0xf221('0xb'),attributes,{'tableName':_0xf221('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};