a8f95ef064ed67d1edde1f5e5e0765980a7b82ae
[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 _0x92ad=['rimraf','../../config/environment','exports','define','License','lodash','util','../../config/logger','moment','request-promise','path'];(function(_0x2f591c,_0x35103b){var _0x542c19=function(_0x1c226a){while(--_0x1c226a){_0x2f591c['push'](_0x2f591c['shift']());}};_0x542c19(++_0x35103b);}(_0x92ad,0x1d3));var _0xd92a=function(_0x42f394,_0x36f2a0){_0x42f394=_0x42f394-0x0;var _0x59d5b1=_0x92ad[_0x42f394];return _0x59d5b1;};'use strict';var _=require(_0xd92a('0x0'));var util=require(_0xd92a('0x1'));var logger=require(_0xd92a('0x2'))('api');var moment=require(_0xd92a('0x3'));var BPromise=require('bluebird');var rp=require(_0xd92a('0x4'));var fs=require('fs');var path=require(_0xd92a('0x5'));var rimraf=require(_0xd92a('0x6'));var config=require(_0xd92a('0x7'));var attributes=require('./license.attributes');module[_0xd92a('0x8')]=function(_0x201860,_0x3f1b48){return _0x201860[_0xd92a('0x9')](_0xd92a('0xa'),attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};