Built motion from commit db94841.|2.5.3
[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 _0x0810=['api','moment','path','./license.attributes','license','lodash','util','../../config/logger'];(function(_0x13ee16,_0x9b0374){var _0x48a844=function(_0x10bc0e){while(--_0x10bc0e){_0x13ee16['push'](_0x13ee16['shift']());}};_0x48a844(++_0x9b0374);}(_0x0810,0x95));var _0x0081=function(_0xfc6f8b,_0x1f6947){_0xfc6f8b=_0xfc6f8b-0x0;var _0x3823a=_0x0810[_0xfc6f8b];return _0x3823a;};'use strict';var _=require(_0x0081('0x0'));var util=require(_0x0081('0x1'));var logger=require(_0x0081('0x2'))(_0x0081('0x3'));var moment=require(_0x0081('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0081('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x0081('0x6'));module['exports']=function(_0x30c217,_0x5e90a5){return _0x30c217['define']('License',attributes,{'tableName':_0x0081('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};