Built motion from commit cb845558.|2.6.34
[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 _0x22b3=['rimraf','../../config/environment','./license.attributes','exports','license','lodash','util','api','moment','path'];(function(_0x46698a,_0x8de1e4){var _0x356db0=function(_0x19e83c){while(--_0x19e83c){_0x46698a['push'](_0x46698a['shift']());}};_0x356db0(++_0x8de1e4);}(_0x22b3,0x1ef));var _0x322b=function(_0x8494cc,_0x47bee9){_0x8494cc=_0x8494cc-0x0;var _0xcbaa3f=_0x22b3[_0x8494cc];return _0xcbaa3f;};'use strict';var _=require(_0x322b('0x0'));var util=require(_0x322b('0x1'));var logger=require('../../config/logger')(_0x322b('0x2'));var moment=require(_0x322b('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x322b('0x4'));var rimraf=require(_0x322b('0x5'));var config=require(_0x322b('0x6'));var attributes=require(_0x322b('0x7'));module[_0x322b('0x8')]=function(_0x1530e4,_0x2b0291){return _0x1530e4['define']('License',attributes,{'tableName':_0x322b('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};