4edb85508fcb5e19c7544c39740dd2b9bf9bb1d8
[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 _0x06bf=['bluebird','request-promise','path','../../config/environment','./license.attributes','exports','define','License','license','lodash','util','../../config/logger','api','moment'];(function(_0x874cf1,_0x2a4954){var _0x233579=function(_0xa6e939){while(--_0xa6e939){_0x874cf1['push'](_0x874cf1['shift']());}};_0x233579(++_0x2a4954);}(_0x06bf,0x105));var _0xf06b=function(_0x20716f,_0x4cc418){_0x20716f=_0x20716f-0x0;var _0x5d1388=_0x06bf[_0x20716f];return _0x5d1388;};'use strict';var _=require(_0xf06b('0x0'));var util=require(_0xf06b('0x1'));var logger=require(_0xf06b('0x2'))(_0xf06b('0x3'));var moment=require(_0xf06b('0x4'));var BPromise=require(_0xf06b('0x5'));var rp=require(_0xf06b('0x6'));var fs=require('fs');var path=require(_0xf06b('0x7'));var rimraf=require('rimraf');var config=require(_0xf06b('0x8'));var attributes=require(_0xf06b('0x9'));module[_0xf06b('0xa')]=function(_0x502d7f,_0x2f1d0e){return _0x502d7f[_0xf06b('0xb')](_0xf06b('0xc'),attributes,{'tableName':_0xf06b('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};