Built motion from commit (unavailable).|2.5.4
[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 _0x51df=['../../config/logger','api','bluebird','path','rimraf','../../config/environment','./tag.attributes','exports','define','Tag','tools_tags','lodash'];(function(_0x2e7845,_0x4adc29){var _0x18b4ab=function(_0x5d47dd){while(--_0x5d47dd){_0x2e7845['push'](_0x2e7845['shift']());}};_0x18b4ab(++_0x4adc29);}(_0x51df,0xcb));var _0xf51d=function(_0xfb9be1,_0x18c3ef){_0xfb9be1=_0xfb9be1-0x0;var _0x174de0=_0x51df[_0xfb9be1];return _0x174de0;};'use strict';var _=require(_0xf51d('0x0'));var util=require('util');var logger=require(_0xf51d('0x1'))(_0xf51d('0x2'));var moment=require('moment');var BPromise=require(_0xf51d('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf51d('0x4'));var rimraf=require(_0xf51d('0x5'));var config=require(_0xf51d('0x6'));var attributes=require(_0xf51d('0x7'));module[_0xf51d('0x8')]=function(_0x110592,_0x389adb){return _0x110592[_0xf51d('0x9')](_0xf51d('0xa'),attributes,{'tableName':_0xf51d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};