9db313c89ec3ad337d10039e43671afe0d7f8f97
[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 _0x07a4=['license','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./license.attributes','exports','define','License'];(function(_0x37ad2c,_0x312818){var _0x46fffe=function(_0x31fedb){while(--_0x31fedb){_0x37ad2c['push'](_0x37ad2c['shift']());}};_0x46fffe(++_0x312818);}(_0x07a4,0x1ef));var _0x407a=function(_0x4f995d,_0x5089c6){_0x4f995d=_0x4f995d-0x0;var _0x62fca=_0x07a4[_0x4f995d];return _0x62fca;};'use strict';var _=require('lodash');var util=require(_0x407a('0x0'));var logger=require(_0x407a('0x1'))(_0x407a('0x2'));var moment=require('moment');var BPromise=require(_0x407a('0x3'));var rp=require(_0x407a('0x4'));var fs=require('fs');var path=require(_0x407a('0x5'));var rimraf=require(_0x407a('0x6'));var config=require(_0x407a('0x7'));var attributes=require(_0x407a('0x8'));module[_0x407a('0x9')]=function(_0x44cc95,_0x1551f2){return _0x44cc95[_0x407a('0xa')](_0x407a('0xb'),attributes,{'tableName':_0x407a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};