3f5244b50531143ea260561fdb8bad89b84ac6a6
[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 _0xaba6=['rimraf','../../config/environment','License','license','lodash','../../config/logger','api','bluebird','request-promise','path'];(function(_0x4e6d12,_0x51e28c){var _0x45dd07=function(_0x44362b){while(--_0x44362b){_0x4e6d12['push'](_0x4e6d12['shift']());}};_0x45dd07(++_0x51e28c);}(_0xaba6,0x86));var _0x6aba=function(_0xb984a7,_0x564ef9){_0xb984a7=_0xb984a7-0x0;var _0x247044=_0xaba6[_0xb984a7];return _0x247044;};'use strict';var _=require(_0x6aba('0x0'));var util=require('util');var logger=require(_0x6aba('0x1'))(_0x6aba('0x2'));var moment=require('moment');var BPromise=require(_0x6aba('0x3'));var rp=require(_0x6aba('0x4'));var fs=require('fs');var path=require(_0x6aba('0x5'));var rimraf=require(_0x6aba('0x6'));var config=require(_0x6aba('0x7'));var attributes=require('./license.attributes');module['exports']=function(_0x224835,_0x40941){return _0x224835['define'](_0x6aba('0x8'),attributes,{'tableName':_0x6aba('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};