Built motion from commit eddce310.|2.6.12
[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 _0xa3e2=['moment','bluebird','request-promise','path','../../config/environment','./license.attributes','exports','util','../../config/logger','api'];(function(_0x532a1,_0x54f5e1){var _0x553a6a=function(_0x88332a){while(--_0x88332a){_0x532a1['push'](_0x532a1['shift']());}};_0x553a6a(++_0x54f5e1);}(_0xa3e2,0x75));var _0x2a3e=function(_0x4cb231,_0x3d3c5b){_0x4cb231=_0x4cb231-0x0;var _0x4d5063=_0xa3e2[_0x4cb231];return _0x4d5063;};'use strict';var _=require('lodash');var util=require(_0x2a3e('0x0'));var logger=require(_0x2a3e('0x1'))(_0x2a3e('0x2'));var moment=require(_0x2a3e('0x3'));var BPromise=require(_0x2a3e('0x4'));var rp=require(_0x2a3e('0x5'));var fs=require('fs');var path=require(_0x2a3e('0x6'));var rimraf=require('rimraf');var config=require(_0x2a3e('0x7'));var attributes=require(_0x2a3e('0x8'));module[_0x2a3e('0x9')]=function(_0x354493,_0x3c48a2){return _0x354493['define']('License',attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};