Built motion from commit 3770a7bd.|2.6.29
[motion2.git] / server / api / license / license.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 _0x7cfe=['rimraf','../../config/environment','exports','define','license','lodash','api','moment','bluebird','request-promise','path'];(function(_0x4b055c,_0x4b870b){var _0x4b62bb=function(_0x4884c2){while(--_0x4884c2){_0x4b055c['push'](_0x4b055c['shift']());}};_0x4b62bb(++_0x4b870b);}(_0x7cfe,0x94));var _0xe7cf=function(_0xe17d71,_0x405a33){_0xe17d71=_0xe17d71-0x0;var _0x4fab0b=_0x7cfe[_0xe17d71];return _0x4fab0b;};'use strict';var _=require(_0xe7cf('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xe7cf('0x1'));var moment=require(_0xe7cf('0x2'));var BPromise=require(_0xe7cf('0x3'));var rp=require(_0xe7cf('0x4'));var fs=require('fs');var path=require(_0xe7cf('0x5'));var rimraf=require(_0xe7cf('0x6'));var config=require(_0xe7cf('0x7'));var attributes=require('./license.attributes');module[_0xe7cf('0x8')]=function(_0x430d41,_0x3a7764){return _0x430d41[_0xe7cf('0x9')]('License',attributes,{'tableName':_0xe7cf('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};