Built motion from commit 47436d59.|2.6.7
[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 _0x9036=['util','../../config/logger','api','request-promise','rimraf','../../config/environment','./license.attributes','exports','define','license','lodash'];(function(_0x3ce581,_0x4f0115){var _0xadad0e=function(_0x74c131){while(--_0x74c131){_0x3ce581['push'](_0x3ce581['shift']());}};_0xadad0e(++_0x4f0115);}(_0x9036,0x128));var _0x6903=function(_0x29e633,_0x4c2016){_0x29e633=_0x29e633-0x0;var _0x5a4e9b=_0x9036[_0x29e633];return _0x5a4e9b;};'use strict';var _=require(_0x6903('0x0'));var util=require(_0x6903('0x1'));var logger=require(_0x6903('0x2'))(_0x6903('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x6903('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6903('0x5'));var config=require(_0x6903('0x6'));var attributes=require(_0x6903('0x7'));module[_0x6903('0x8')]=function(_0x80cb6f,_0x59accb){return _0x80cb6f[_0x6903('0x9')]('License',attributes,{'tableName':_0x6903('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};