f9aebe982ed51c605f8292ed3702f47a17c5164e
[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 _0xeef1=['../../config/environment','./license.attributes','exports','define','License','license','lodash','util','../../config/logger','moment','bluebird','path','rimraf'];(function(_0x4017b0,_0x4347db){var _0x5ed4f7=function(_0x706c26){while(--_0x706c26){_0x4017b0['push'](_0x4017b0['shift']());}};_0x5ed4f7(++_0x4347db);}(_0xeef1,0x199));var _0x1eef=function(_0x296d73,_0x1748fc){_0x296d73=_0x296d73-0x0;var _0x38806e=_0xeef1[_0x296d73];return _0x38806e;};'use strict';var _=require(_0x1eef('0x0'));var util=require(_0x1eef('0x1'));var logger=require(_0x1eef('0x2'))('api');var moment=require(_0x1eef('0x3'));var BPromise=require(_0x1eef('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1eef('0x5'));var rimraf=require(_0x1eef('0x6'));var config=require(_0x1eef('0x7'));var attributes=require(_0x1eef('0x8'));module[_0x1eef('0x9')]=function(_0x10958b,_0x5e3ceb){return _0x10958b[_0x1eef('0xa')](_0x1eef('0xb'),attributes,{'tableName':_0x1eef('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};