058ef6d408f4e17ee8045525a9b789feeb9a25a5
[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 _0xefdd=['request-promise','path','rimraf','../../config/environment','./license.attributes','exports','define','License','license','lodash','util','../../config/logger','api','moment'];(function(_0x5da045,_0x3499dd){var _0xda395e=function(_0x8107){while(--_0x8107){_0x5da045['push'](_0x5da045['shift']());}};_0xda395e(++_0x3499dd);}(_0xefdd,0x175));var _0xdefd=function(_0x4e50b1,_0x104de4){_0x4e50b1=_0x4e50b1-0x0;var _0x56e311=_0xefdd[_0x4e50b1];return _0x56e311;};'use strict';var _=require(_0xdefd('0x0'));var util=require(_0xdefd('0x1'));var logger=require(_0xdefd('0x2'))(_0xdefd('0x3'));var moment=require(_0xdefd('0x4'));var BPromise=require('bluebird');var rp=require(_0xdefd('0x5'));var fs=require('fs');var path=require(_0xdefd('0x6'));var rimraf=require(_0xdefd('0x7'));var config=require(_0xdefd('0x8'));var attributes=require(_0xdefd('0x9'));module[_0xdefd('0xa')]=function(_0xc91f88,_0xb335c5){return _0xc91f88[_0xdefd('0xb')](_0xdefd('0xc'),attributes,{'tableName':_0xdefd('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};