95e853597af1c8dfb46e74d9067f20310687b36e
[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 _0xa31e=['exports','define','License','lodash','../../config/logger','moment','bluebird','rimraf','../../config/environment','./license.attributes'];(function(_0x194207,_0x14e634){var _0x5791d1=function(_0x39b4c1){while(--_0x39b4c1){_0x194207['push'](_0x194207['shift']());}};_0x5791d1(++_0x14e634);}(_0xa31e,0x1b1));var _0xea31=function(_0x3edf53,_0xfcd5d){_0x3edf53=_0x3edf53-0x0;var _0x4e7f9e=_0xa31e[_0x3edf53];return _0x4e7f9e;};'use strict';var _=require(_0xea31('0x0'));var util=require('util');var logger=require(_0xea31('0x1'))('api');var moment=require(_0xea31('0x2'));var BPromise=require(_0xea31('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xea31('0x4'));var config=require(_0xea31('0x5'));var attributes=require(_0xea31('0x6'));module[_0xea31('0x7')]=function(_0x332e79,_0x937c7a){return _0x332e79[_0xea31('0x8')](_0xea31('0x9'),attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};