69156e08f3d5298051511d722ef92266a2ece95b
[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 _0xda27=['rimraf','../../config/environment','./license.attributes','License','license','lodash','api','bluebird','request-promise','path'];(function(_0x5baa50,_0x334332){var _0x1d8a55=function(_0x773274){while(--_0x773274){_0x5baa50['push'](_0x5baa50['shift']());}};_0x1d8a55(++_0x334332);}(_0xda27,0xaf));var _0x7da2=function(_0x15acfe,_0x6ccd90){_0x15acfe=_0x15acfe-0x0;var _0x292bb3=_0xda27[_0x15acfe];return _0x292bb3;};'use strict';var _=require(_0x7da2('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x7da2('0x1'));var moment=require('moment');var BPromise=require(_0x7da2('0x2'));var rp=require(_0x7da2('0x3'));var fs=require('fs');var path=require(_0x7da2('0x4'));var rimraf=require(_0x7da2('0x5'));var config=require(_0x7da2('0x6'));var attributes=require(_0x7da2('0x7'));module['exports']=function(_0x2585bb,_0x54edb0){return _0x2585bb['define'](_0x7da2('0x8'),attributes,{'tableName':_0x7da2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};