b4b39f766276f80e3597f628ea5b12b48f43316c
[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 _0xc6c2=['api','moment','bluebird','request-promise','path','rimraf','./license.attributes','exports','define','License','license','lodash','util'];(function(_0x11dc39,_0x491115){var _0x457277=function(_0x1d77cd){while(--_0x1d77cd){_0x11dc39['push'](_0x11dc39['shift']());}};_0x457277(++_0x491115);}(_0xc6c2,0x9a));var _0x2c6c=function(_0x3430aa,_0x57cd92){_0x3430aa=_0x3430aa-0x0;var _0x2ac5c=_0xc6c2[_0x3430aa];return _0x2ac5c;};'use strict';var _=require(_0x2c6c('0x0'));var util=require(_0x2c6c('0x1'));var logger=require('../../config/logger')(_0x2c6c('0x2'));var moment=require(_0x2c6c('0x3'));var BPromise=require(_0x2c6c('0x4'));var rp=require(_0x2c6c('0x5'));var fs=require('fs');var path=require(_0x2c6c('0x6'));var rimraf=require(_0x2c6c('0x7'));var config=require('../../config/environment');var attributes=require(_0x2c6c('0x8'));module[_0x2c6c('0x9')]=function(_0x319233,_0x5e1dfb){return _0x319233[_0x2c6c('0xa')](_0x2c6c('0xb'),attributes,{'tableName':_0x2c6c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};