e05fcc0cc9d4896f9bb447b30d6a5abba78e430d
[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 _0xbf97=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./license.attributes','exports','define','License','license','util'];(function(_0x124fb6,_0x5aca60){var _0x2e9673=function(_0x5885dc){while(--_0x5885dc){_0x124fb6['push'](_0x124fb6['shift']());}};_0x2e9673(++_0x5aca60);}(_0xbf97,0x1d3));var _0x7bf9=function(_0x10be5a,_0x586188){_0x10be5a=_0x10be5a-0x0;var _0x85958c=_0xbf97[_0x10be5a];return _0x85958c;};'use strict';var _=require('lodash');var util=require(_0x7bf9('0x0'));var logger=require(_0x7bf9('0x1'))(_0x7bf9('0x2'));var moment=require(_0x7bf9('0x3'));var BPromise=require('bluebird');var rp=require(_0x7bf9('0x4'));var fs=require('fs');var path=require(_0x7bf9('0x5'));var rimraf=require(_0x7bf9('0x6'));var config=require(_0x7bf9('0x7'));var attributes=require(_0x7bf9('0x8'));module[_0x7bf9('0x9')]=function(_0x4f81bc,_0x10ace5){return _0x4f81bc[_0x7bf9('0xa')](_0x7bf9('0xb'),attributes,{'tableName':_0x7bf9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};