Built motion from commit (unavailable).|2.5.22
[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 _0xb761=['bluebird','request-promise','define','License','license','lodash','util','../../config/logger','api','moment'];(function(_0x2d1ed5,_0x3c8100){var _0x4fd05c=function(_0x3f031e){while(--_0x3f031e){_0x2d1ed5['push'](_0x2d1ed5['shift']());}};_0x4fd05c(++_0x3c8100);}(_0xb761,0x113));var _0x1b76=function(_0x369a98,_0x32250c){_0x369a98=_0x369a98-0x0;var _0x29565c=_0xb761[_0x369a98];return _0x29565c;};'use strict';var _=require(_0x1b76('0x0'));var util=require(_0x1b76('0x1'));var logger=require(_0x1b76('0x2'))(_0x1b76('0x3'));var moment=require(_0x1b76('0x4'));var BPromise=require(_0x1b76('0x5'));var rp=require(_0x1b76('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./license.attributes');module['exports']=function(_0x284ec8,_0x1acca9){return _0x284ec8[_0x1b76('0x7')](_0x1b76('0x8'),attributes,{'tableName':_0x1b76('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};