bec7580aef7f23e81c5427ebb32caca7154d3b85
[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 _0xbb85=['exports','License','license','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./license.attributes'];(function(_0x3c0dcc,_0x18c419){var _0x1a224c=function(_0x238ae7){while(--_0x238ae7){_0x3c0dcc['push'](_0x3c0dcc['shift']());}};_0x1a224c(++_0x18c419);}(_0xbb85,0x92));var _0x5bb8=function(_0xe1ac66,_0x199e1d){_0xe1ac66=_0xe1ac66-0x0;var _0x4a2f94=_0xbb85[_0xe1ac66];return _0x4a2f94;};'use strict';var _=require(_0x5bb8('0x0'));var util=require(_0x5bb8('0x1'));var logger=require(_0x5bb8('0x2'))(_0x5bb8('0x3'));var moment=require('moment');var BPromise=require(_0x5bb8('0x4'));var rp=require(_0x5bb8('0x5'));var fs=require('fs');var path=require(_0x5bb8('0x6'));var rimraf=require(_0x5bb8('0x7'));var config=require(_0x5bb8('0x8'));var attributes=require(_0x5bb8('0x9'));module[_0x5bb8('0xa')]=function(_0x48ad61,_0x4d208a){return _0x48ad61['define'](_0x5bb8('0xb'),attributes,{'tableName':_0x5bb8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};