b26353b615462d2d1019ee867a038bb5cf68c8e2
[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 _0x3164=['License','license','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','exports','define'];(function(_0x1cbd00,_0x336a56){var _0x522d69=function(_0x147a17){while(--_0x147a17){_0x1cbd00['push'](_0x1cbd00['shift']());}};_0x522d69(++_0x336a56);}(_0x3164,0x182));var _0x4316=function(_0x4d38c5,_0x9a8222){_0x4d38c5=_0x4d38c5-0x0;var _0x349d9b=_0x3164[_0x4d38c5];return _0x349d9b;};'use strict';var _=require(_0x4316('0x0'));var util=require(_0x4316('0x1'));var logger=require(_0x4316('0x2'))(_0x4316('0x3'));var moment=require(_0x4316('0x4'));var BPromise=require('bluebird');var rp=require(_0x4316('0x5'));var fs=require('fs');var path=require(_0x4316('0x6'));var rimraf=require(_0x4316('0x7'));var config=require('../../config/environment');var attributes=require('./license.attributes');module[_0x4316('0x8')]=function(_0x25827b,_0xf88ba4){return _0x25827b[_0x4316('0x9')](_0x4316('0xa'),attributes,{'tableName':_0x4316('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};