34149f1456b9460880e482ae4c938abfb6924e35
[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 _0xe9e9=['api','moment','request-promise','path','rimraf','../../config/environment','./license.attributes','define','License','license','util','../../config/logger'];(function(_0x3ab9ee,_0x4a74b8){var _0x82ee88=function(_0x6ccc7e){while(--_0x6ccc7e){_0x3ab9ee['push'](_0x3ab9ee['shift']());}};_0x82ee88(++_0x4a74b8);}(_0xe9e9,0x1de));var _0x9e9e=function(_0x4bfbc9,_0x4de284){_0x4bfbc9=_0x4bfbc9-0x0;var _0xfea3a1=_0xe9e9[_0x4bfbc9];return _0xfea3a1;};'use strict';var _=require('lodash');var util=require(_0x9e9e('0x0'));var logger=require(_0x9e9e('0x1'))(_0x9e9e('0x2'));var moment=require(_0x9e9e('0x3'));var BPromise=require('bluebird');var rp=require(_0x9e9e('0x4'));var fs=require('fs');var path=require(_0x9e9e('0x5'));var rimraf=require(_0x9e9e('0x6'));var config=require(_0x9e9e('0x7'));var attributes=require(_0x9e9e('0x8'));module['exports']=function(_0x33332e,_0x16ac57){return _0x33332e[_0x9e9e('0x9')](_0x9e9e('0xa'),attributes,{'tableName':_0x9e9e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};