60d7d4184231841ffe3403b2d85fd3b6da107903
[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 _0xdbb3=['../../config/environment','define','License','lodash','api','moment','bluebird','path','rimraf'];(function(_0xa4d51f,_0xb8d9d1){var _0x5ad085=function(_0x1c7e85){while(--_0x1c7e85){_0xa4d51f['push'](_0xa4d51f['shift']());}};_0x5ad085(++_0xb8d9d1);}(_0xdbb3,0xb7));var _0x3dbb=function(_0x42245d,_0x51758f){_0x42245d=_0x42245d-0x0;var _0x4b211a=_0xdbb3[_0x42245d];return _0x4b211a;};'use strict';var _=require(_0x3dbb('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x3dbb('0x1'));var moment=require(_0x3dbb('0x2'));var BPromise=require(_0x3dbb('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3dbb('0x4'));var rimraf=require(_0x3dbb('0x5'));var config=require(_0x3dbb('0x6'));var attributes=require('./license.attributes');module['exports']=function(_0x575cb2,_0x7288ee){return _0x575cb2[_0x3dbb('0x7')](_0x3dbb('0x8'),attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};