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 _0xa647=['../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','exports','license','lodash'];(function(_0x165fa0,_0x3a25a9){var _0x5d58bb=function(_0x2dfaee){while(--_0x2dfaee){_0x165fa0['push'](_0x165fa0['shift']());}};_0x5d58bb(++_0x3a25a9);}(_0xa647,0xd1));var _0x7a64=function(_0x57c164,_0x572ae1){_0x57c164=_0x57c164-0x0;var _0x33b229=_0xa647[_0x57c164];return _0x33b229;};'use strict';var _=require(_0x7a64('0x0'));var util=require('util');var logger=require(_0x7a64('0x1'))(_0x7a64('0x2'));var moment=require('moment');var BPromise=require(_0x7a64('0x3'));var rp=require(_0x7a64('0x4'));var fs=require('fs');var path=require(_0x7a64('0x5'));var rimraf=require(_0x7a64('0x6'));var config=require(_0x7a64('0x7'));var attributes=require('./license.attributes');module[_0x7a64('0x8')]=function(_0xb0819e,_0x4cd60d){return _0xb0819e['define']('License',attributes,{'tableName':_0x7a64('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};