Built motion from commit 25580385.|2.6.2
[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 _0x8c7d=['license','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./license.attributes','exports','define','License'];(function(_0x29b609,_0x19d388){var _0x54c952=function(_0xb3c38d){while(--_0xb3c38d){_0x29b609['push'](_0x29b609['shift']());}};_0x54c952(++_0x19d388);}(_0x8c7d,0x1da));var _0xd8c7=function(_0x49ea5f,_0x4df91c){_0x49ea5f=_0x49ea5f-0x0;var _0x9382d4=_0x8c7d[_0x49ea5f];return _0x9382d4;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xd8c7('0x0'))(_0xd8c7('0x1'));var moment=require(_0xd8c7('0x2'));var BPromise=require('bluebird');var rp=require(_0xd8c7('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd8c7('0x4'));var config=require(_0xd8c7('0x5'));var attributes=require(_0xd8c7('0x6'));module[_0xd8c7('0x7')]=function(_0x1f7209,_0xe25b37){return _0x1f7209[_0xd8c7('0x8')](_0xd8c7('0x9'),attributes,{'tableName':_0xd8c7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};