Built motion from commit 06eb8eb0.|2.6.31
[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 _0x80ae=['./license.attributes','exports','define','license','lodash','../../config/logger','api','bluebird','path','../../config/environment'];(function(_0x3e39c2,_0x57d50c){var _0x28f1a2=function(_0x2fefd0){while(--_0x2fefd0){_0x3e39c2['push'](_0x3e39c2['shift']());}};_0x28f1a2(++_0x57d50c);}(_0x80ae,0x144));var _0xe80a=function(_0x456bd2,_0x156c79){_0x456bd2=_0x456bd2-0x0;var _0x2218c1=_0x80ae[_0x456bd2];return _0x2218c1;};'use strict';var _=require(_0xe80a('0x0'));var util=require('util');var logger=require(_0xe80a('0x1'))(_0xe80a('0x2'));var moment=require('moment');var BPromise=require(_0xe80a('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe80a('0x4'));var rimraf=require('rimraf');var config=require(_0xe80a('0x5'));var attributes=require(_0xe80a('0x6'));module[_0xe80a('0x7')]=function(_0x2da5ff,_0x3ef873){return _0x2da5ff[_0xe80a('0x8')]('License',attributes,{'tableName':_0xe80a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};